wrkflow / larastrict
Package to improve Laravel framework with features to support more strict typed Laravel.
v0.0.93
2025-01-30 09:24 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: *
- jetbrains/phpstorm-attributes: ^1.2
- 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
This package is auto-updated.
Last update: 2026-05-29 01:41:54 UTC
README
Opinionated extension of a Laravel framework to help you build type safe, testable and reusable code.
Current version is under development. Project will be moved to larastrict organization
composer require wrkflow/larastrict
Want more tools or want to help? Check wrk-flow.com or CONTRIBUTE (I need help with the documentation, new features, tests).
Main mission
- Takes the good stuff from Domain Driven Development
- Make the code more testable via Unit tests (for faster tests)
- Make database queries reusable and testable ->
Queries - Make caching more reusable and testable ->
CacheMeService - Move business logic to
ActionsorServices - Setup Laravel for great docker experience.
