About this project
Footup MVC PHP Framework is a compact, feature‑rich PHP MVC framework aimed at small applications, prototypes, and internal tools. It provides CLI support for generating controllers, models, middleware, migrations, seeders, assets, and views, based on an extended php‑cli tool. The framework includes translation, configuration via PHP files or .env, request/response handling, form validation (excluding file uploads), pagination, session management, email sending (CodeIgniter 4 class), routing, middleware (called Middle), model relationships (hasOne, hasMany, belongsTo, belongsToMany), a query builder, model events, file upload, and extensible PSR‑4 autoloading. The project structure follows a clear layout with app/, bin/, config/, core/, database/, public/, storage/, and views/ directories. It requires PHP 8.1+, Composer, and SQLite support. Quick start involves copying .env.example, running composer install, executing migrations, and starting the built‑in server. The framework uses SQLite by default but supports MySQL/PostgreSQL via config/database.php. Routes are defined in app/bootstrap.php, controllers reside in app/controllers/, and views are plain PHP templates. Database operations are performed via a simple query builder or model classes, and migrations are plain SQL files. Logging, exception handling, and request timing are built‑in, and CLI commands such as serve, migrate, route:list, and bench are available. The framework is intentionally lightweight, focusing on readability and extensibility for developers building small‑scale PHP applications.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.