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!
- It's beta software.
- Configuration over convention.
- Use of reflection at runtime as limited as possible.
- Making use of type hinting anywhere possible.
- strayFw follows a small selection of PSR (see below: Development > Technical considerations).
- Contain neither dependency injection nor annotations.
- 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.
- DBMS wise, only PostgreSQL is supported.
- PHP >= 8.0
- 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 ;)
The framework follows these standards:
- PSR-1: Basic Coding Standard
- PSR-2: Coding Style Guide
- PSR-3: Logger Interface
- PSR-4: Autoloader
- Incomplete PSR-12: Extended Coding Style Guide
Static analysis :
$ php vendor/bin/phpstan analyse src --level=max
Coding standards :
$ curl -L https://cs.symfony.com/download/php-cs-fixer-v3.phar -o php-cs-fixer.phar
$ php php-cs-fixer.phar fix
- moafred: PR review, AJAX, Twig, and other frontend related things.
- SignpostMarv: phpstan compliance.
Thank you!