rocknroot/stray-fw
最新稳定版本:0.4.6
Composer 安装命令:
composer require rocknroot/stray-fw
包简介
A PHP web framework for rock 'n' rollers.
关键字:
README 文档
README
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.
- 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.
Requirements
- PHP >= 8.0
- 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 ;)
Development
Technical considerations
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
Quality
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
External Contributors
- moafred: PR review, AJAX, Twig, and other frontend related things.
- SignpostMarv: phpstan compliance.
Thank you!
统计信息
- 总下载量: 56
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2014-12-13