Skip to content

Releases: MarkusPoutanen/simple-php-framework

0.7.0

Choose a tag to compare

@MarkusPoutanen MarkusPoutanen released this 26 Jul 21:04
  • 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

Choose a tag to compare

@MarkusPoutanen MarkusPoutanen released this 16 Jul 20:58
016579e

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

Choose a tag to compare

@MarkusPoutanen MarkusPoutanen released this 31 Jan 03:57

This release includes:

  • env.ini variables
  • Database migrations
  • Base Model class
  • Passing variables to views
  • Dynamic GET routes e.g. /articles/{id}
  • simple cli-tool for running migrations and other commands
  • Example Article model, migration and views

0.0.2

Choose a tag to compare

@MarkusPoutanen MarkusPoutanen released this 28 Jan 20:27

This release includes mainly code and readme clean up.

0.0.1

Choose a tag to compare

@MarkusPoutanen MarkusPoutanen released this 28 Jan 20:11

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