wrkflow / larastrict
用于增强 Laravel 框架并支持更严格类型化 Laravel 的包。
v0.0.87
2024-09-09 09:25 UTC
Requires
- php: >=8.1
- h4kuna/serialize-polyfill: ^0.2.5
- laravel/framework: ^9
- psr/log: ^2 | ^3
- psr/simple-cache: ^3.0
Requires (Dev)
- ext-pdo: *
- ext-sqlite3: *
- mockery/mockery: ^1.5.0
- nette/php-generator: v4.0.5
- nikic/php-parser: v4.15.2
- nunomaduro/larastan: 2.2.9
- orchestra/testbench: ^v7.13.0
- phpstan/phpdoc-parser: ^1.13
- phpstan/phpstan: 1.9.4
- phpstan/phpstan-deprecation-rules: ^1.0.0
- phpstan/phpstan-mockery: ^1.1.0
- phpstan/phpstan-phpunit: ^1.1.1
- phpunit/phpunit: ^9.5.27
- rector/rector: 0.15.1
- symplify/easy-coding-standard: 11.1.20
Suggests
- nette/php-generator: For generating test exceptions / assert classes
- php-http/mock-client: Use this package for testing HTTP/s clients.
- phpstan/phpdoc-parser: For better generation of test exceptions (with phpdoc typehints)
- wrk-flow/php-api-sdk-builder: Wrap external APIs with type safe API client
- wrk-flow/php-get-type-value: Get values from array/xml in type safe maner
- dev-main
- v0.0.87
- v0.0.86
- v0.0.85
- v0.0.84
- v0.0.83
- v0.0.82
- v0.0.81
- v0.0.80
- v0.0.79
- v0.0.78
- v0.0.77
- v0.0.76
- v0.0.75
- v0.0.74
- v0.0.73
- v0.0.72
- v0.0.71
- v0.0.70
- v0.0.69
- v0.0.68
- v0.0.67
- v0.0.66
- v0.0.65
- v0.0.64
- v0.0.63
- v0.0.62
- v0.0.61
- v0.0.60
- v0.0.59
- v0.0.58
- v0.0.57
- v0.0.56
- v0.0.55
- v0.0.54
- v0.0.53
- v0.0.52
- v0.0.51
- v0.0.50
- v0.0.49
- v0.0.48
- v0.0.47
- v0.0.46
- v0.0.45
- v0.0.44
- v0.0.43
- v0.0.42
- v0.0.41
- v0.0.40
- v0.0.39
- v0.0.38
- v0.0.37
- v0.0.36
- v0.0.35
- v0.0.34
- v0.0.33
- v0.0.32
- v0.0.31
- v0.0.30
- v0.0.29
- v0.0.28
- v0.0.27
- v0.0.26
- v0.0.25
- v0.0.24
- v0.0.23
- v0.0.22
- v0.0.21
- v0.0.20
- v0.0.19
- v0.0.18
- v0.0.17
- v0.0.16
- v0.0.15
- v0.0.14
- v0.0.13
- v0.0.12
- v0.0.11
- v0.0.10
- v0.0.9
- v0.0.8
- v0.0.7
- v0.0.6
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- v0.0.1
- dev-upgrade-conventions
- dev-fix-context-cache
- dev-translations-testing
- dev-assert-improvements
- dev-assert-provider-policies
- dev-order-by-values-scope
- dev-model-resource-test-case-entity
- dev-assert-event-listners
- dev-float-cast
- dev-container–assert
- dev-wip-expectation-throws
- dev-acl
This package is auto-updated.
Last update: 2024-09-09 09:28:09 UTC
README
对 Laravel 框架的具象扩展,帮助你构建类型安全、可测试和可重用的代码。
当前版本正在开发中。项目将被迁移到 larastrict 组织
composer require wrkflow/larastrict
想要更多工具或想要帮忙?请查看 wrk-flow.com 或 CONTRIBUTE(我需要帮助文档、新功能、测试)。
主要任务
- 吸取领域驱动开发的优点
- 通过单元测试使代码更易于测试(以实现更快的测试)
- 使数据库查询可重用和可测试 ->
查询
- 使缓存更可重用和可测试 ->
CacheMeService
- 将业务逻辑移动到
Actions
或Services
- 为 Docker 体验设置 Laravel。