vijinho / ffmvc
Fat-Free Framework f3-boilerplate FFMVC Shared Libraries
Installs: 757
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 4
Forks: 5
Open Issues: 0
Type:application
Requires
- php: >=5.6
This package is not auto-updated.
Last update: 2025-01-09 15:27:53 UTC
README
Files used by the https://github.com/vijinho/f3-boilerplate project.
This small library of classes can be used to start your own project based on a clone of the code in f3-boilerplate.
Files
src/App.php
- Loads the configuration file and sets the environment based on project layout of f3-boilerplate. Also contains the shutdown function to log the memory used and database queries.src/Exceptions.php
- Base exceptions
src/Helpers
DB.php
- Methods for parsing a http-style DSN and/or db params from a config array (or file) and return a connection to the database.Notifications.php
- A general class to store/retrieve user notification (flash) messages in an array to the f3 hive.Response.php
- A class to return a JSON-encoded HTTP message.Str.php
- General string utility functions.Time.php
- Simple date/time utility methodsUrl.php
- General helper methods to create internal/external links.Mail.php
- A wrapper to return a pre-configured instance of PHPMailer based on f3 settings or pre-configured f3 built-in SMTP object
Helpers\Validator
Validator.php
- An extension to GUMP using mainly f3 string methods.
#### Filters
- filter_lower
- filter_upper
- filter_ltrim
- filter_rtrim
- filter_trim
- filter_translate
- filter_emojify
- filter_slug
Validators
- validate_valid_ip_public
- validate_valid_ip_not_public
- validate_valid_ip_reserved
- validate_valid_ip_private