odan / prisma
此包已 废弃 并不再维护。未建议替代包。
Slim 3 的骨架项目
0.32.0
2019-03-31 11:19 UTC
Requires
- php: ^7.2
- cakephp/chronos: ^1.2
- cakephp/database: ^3.7
- monolog/monolog: ^1.18
- odan/csrf: ^2.1
- odan/phinx-migrations-generator: ^4
- odan/session: ^3.1
- odan/twig-assets: ^2
- odan/twig-translation: ^1.1
- slim/slim: ^3.12
- slim/twig-view: ^2.4
- symfony/console: ^4
- symfony/translation: ^4
Requires (Dev)
- gettext/gettext: ^4.6
- odan/docblock-checker: ^1.1
- phpstan/phpstan-shim: ^0.11
- phpunit/phpunit: ^7.0
- dev-master
- 0.32.0
- 0.31.2
- 0.31.1
- 0.31.0
- 0.30.2
- 0.30.1
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.1
- 0.25.0
- 0.24.5
- 0.24.4
- 0.24.2
- 0.24.1
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.6
- 0.20.4
- 0.20.3
- 0.20.2
- 0.20.0
- 0.19.0
- 0.18.2
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.2
- 0.15.0
- 0.14.0
- 0.12.0
- 0.11.0
- 0.10.2
- 0.10.1
- 0.10.0
- 0.9.5
- 0.9.1
- 0.9.0
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.0
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
This package is auto-updated.
Last update: 2020-01-27 09:02:07 UTC
README
Prisma 是基于 Slim 3 和 Twig 的骨架项目。
此项目配置了以下内容
- Slim 3
- 路由
- 单动作控制器
- 日志(Monolog)
- 翻译(Symfony)
- 会话
- 认证和授权
- 数据库查询构建器(cakephp/database)
- 数据库迁移(Phinx)
- 数据库迁移生成器
- 日期和时间(Chronos)
- 控制台命令(Symfony)
- 单元测试(phpunit)
中间件
- CSRF 保护
- CORS
- 会话
- 语言
- 认证
渲染
- Twig(slim/twig-view)
- 资产(js, css)压缩和缓存
- Twig 翻译
持续集成
- 在 Travis CI 和 Scrutinizer CI 上测试
- 单元测试
- 集成测试(http 和数据库)
- PHPStan
- 代码风格检查器和修复器(PSR-1, PSR-2, PSR-12)
- DocBlock 检查器(PSR-5)
- Ant 脚本
- 部署脚本
需求
- PHP 7.2+
- MySQL 5.7+
- Apache + mod_rewrite
- Apache Ant
推荐
- NPM
安装
文档
此应用的完整文档可在此处找到: https://odan.github.io/prisma/。
许可
MIT 许可证 (MIT)。请参阅 许可文件 了解更多信息。
类似包
- https://github.com/odan/psr7-skeleton
- https://github.com/gothinkster/slim-php-realworld-example-app
- https://github.com/slimphp/Slim-Skeleton
- https://github.com/dantodev/slim-skeleton
- https://github.com/tuupola/slim-skeleton
- https://github.com/akrabat/slim3-skeleton
- https://github.com/l0gicgate/Slim-Skeleton/tree/4.x