Repository navigation
Releases: MarkusPoutanen/simple-php-framework
Releases · MarkusPoutanen/simple-php-framework
Release list
0.7.0
- Added type hints
- Added PHPStan for static analysis (level 8)
- Added
Model::findOrFail($id)that returns 404 if model with ID doesn't exist in the database - Added support for PHP 8.4
- Fixed routing when using default Laravel Herd install
- Refactored Model, Route and Table classes
0.6.0
This release includes:
- Migrated to Parcel from Laravel Mix
- Simple CLI now has install command
- Added Helper::asset() that generates cache busted public path
0.5.0
This release includes:
- env.ini variables
- Database migrations
- Base Model class
- Passing variables to views
- Dynamic GET routes e.g.
/articles/{id} simplecli-tool for running migrations and other commands- Example Article model, migration and views
0.0.2
This release includes mainly code and readme clean up.
0.0.1
This is the first version.
Framework currently supports:
- GET routes
- Controllers to handle routes
- PHP and HTML views with subdirectory support via dot syntax e.g.
dir.view - Helper class for helping functions e.g.
Helper::view() - TS and SCSS compilation via Laravel Mix