Overview
The f3-boilerplate is a PHP project built on the Fat-Free Framework (F3). It aims to be a flexible starting point for implementing any kind of PHP project in F3. It provides a stable and easily adaptable project structure, with the ability to integrate composer classes and configure database connections. It also includes features such as rendering markdown, displaying geo-location, and implementing REST APIs. The project configuration can be split into different files and includes a local override file. Additionally, the script input is normalized and cleaned by default.
Features
- Flexible Starting Point: The f3-boilerplate provides a solid foundation for implementing any PHP project in F3.
- Stable and Adaptable: The project structure can be easily adapted and altered to suit different web development needs.
- Composer Integration: Easily integrate composer classes into the project structure for quick startup.
- Boilerplate Code: Includes common tasks such as config, logging, database connections, and environment setup.
- Database Connectivity: Supports setting up database connections in the http format.
- Command-line Support: Can be run on the command-line to explore command-line functionality in F3.
- REST API Implementation: Provides a starting point for implementing REST APIs in F3.
- Real-life Examples: Demonstrates features such as rendering markdown, displaying geo-location, and database connectivity.
- Split Configuration Files: Allows the project configuration to be split into main and local override files.
- Script Logging: Logs execution time and memory usage when in 'development' mode.
- Normalization and Cleaning: Ensures that all script input is normalized and cleaned by default.
- Namespace Support: Supports the use of namespaces in the project.