Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

strayFw

Build Status

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.

Requirements

  • PHP >= 7.4
  • mbstring extension
  • For the Locale namespace, intl extension >= 1.0.0
  • For the Twig renderer, twig/twig >= 3.0

Get started

Documentation website is underway.

Need help?

You can add an issue on github ;)

Contribute

External Contributors

Technical considerations

The framework follows these standards:

Quality

Rector :

$ 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
You can’t perform that action at this time.