strayFw is a PHP framework trying to be modern without following fashion, between full-featured frameworks and micro ones.
Code is free, new-BSD license. So... fork us!
Why? / Why not?
- It's beta software.
- Contain neither dependency injection nor annotations.
- Making use of type hinting anywhere possible.
- Use of reflection at runtime as limited as possible.
- strayFw follows a small selection of PSR (see below: Contribute > Technical considerations).
- Configuration over convention.
- Data models are defined by a schema in YAML. Migrations are, for the most part, generated by a automated diff between schemas.
- Data models are generated by the CLI ahead of web-server-time/run-time.
- Composer dependencies are minimal.
- Only PostgreSQL is supported.
- PHP >= 7.4
- mbstring extension
- For the Locale namespace, intl extension >= 1.0.0
- For the Twig renderer, twig/twig >= 3.0
Documentation website is underway.
You can add an issue on github ;)
- SignpostMarv: phpstan compliance.
The framework follows these standards:
$ php vendor/bin/rector -c quality/rector.php process src
Static analysis :
$ php vendor/bin/phpstan analyse src --level=max
Coding standards :
$ curl -L https://cs.symfony.com/download/php-cs-fixer-v2.phar -o php-cs-fixer $ php php-cs-fixer.phar fix