1.6 KiB
1.6 KiB
Laravel 11
implementation on PHP 8.3
with extensive usage of last attributes support. The particularity of this framework is to give you almost of all you need for quickly develop any complex application. So minimal external packages need.
I obviously made usage of Eloquent as a very expressive Active Record ORM, and the Laravel factories system based on PHP Faker is already perfect for dummy data generator.
Contrary to most others projects, there is no usage of DTO classes, so it's required to write all schema declarations for proper OpenAPI models generation.
Main packages involved :
- PHP JWT as JWT implementation, with proper integration to Laravel using custom guard
- Laravel Routes Attribute for Laravel routing that leverage on last PHP 8 attributes feature
- Laravel OpenAPI that also use PHP 8 attributes for API documentation
- Laravel IDE Helper for proper IDE integration, perfectly suited for VS Code with Intelephense extension
- PHP CS Fixer as formatter with Laravel style guide
- Larastan, a Laravel wrapper of PHPStan, as advanced code static analyzer
- Pest 2 as nice Jest-like API superset of existing PHPUnit