F3 Boilerplate

screenshot of F3 Boilerplate

PHP7 Fat-Free Framework (http://fatfreeframework.com) example - A skeleton i18n web application which implements an MVC structure ( https://github.com/vijinho/FFMVC ) and includes the files from the https://getbootstrap.com project.

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.

Summary

The f3-boilerplate is a PHP project built on the Fat-Free Framework that aims to provide a flexible and stable starting point for implementing PHP projects. It includes features such as composer integration, database connectivity, command-line support, REST API implementation, and real-life examples of F3 features. 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. The installation process involves cloning the project, configuring files, running Composer, setting up the web server, and configuring the database.