laravel-route-attributes
phpstorm-attributes
laravel-route-attributes | phpstorm-attributes | |
---|---|---|
3 | 1 | |
722 | 364 | |
1.4% | 0.8% | |
7.3 | 2.7 | |
7 days ago | 9 days ago | |
PHP | PHP | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-route-attributes
- Help us contact inactive maintainers of LaravelCollective/annotations
-
Register routes without the Route facade.
Have you tried using laravel-route-attributes? It uses attributes (new in PHP 8) and reflection to create routes directly from your controllers. Worth a look.
-
Framework Automatically Resolving Php 8
I recommend reading https://www.amitmerchant.com/how-to-use-php-80-attributes/#real-world-usage or have a look at https://github.com/spatie/laravel-route-attributes for real-world examples.
phpstorm-attributes
-
Using PhpStorm Php 8 attributes
I was messing around with PHP 8 and noticed that PhpStorm has some builtin attributes such as Immutable and ArrayShape. Kind of nice if only for documentation. There is a composer package to allow other static tools to possibly use them.
What are some alternatives?
php-ddd-example - 🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6
Qodana - 📝 Source repository of Qodana Help
react-fiber - ReactPHP + ext-fiber
XBackBone - A lightweight file manager with full ShareX support and more
slim4-skeleton - A Slim 4 Skeleton
Psalm - A static analysis tool for finding errors in PHP applications
attributary - A library for PHP 8 Attribute developers. This library gives developers a similar experience to the Doctrine/Annotation library.
FreeScout - FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
docker-php - PHP 8 development environment with PHP-FPM, Nginx and MySQL, using Docker and Docker Compose.
Design Patterns PHP - sample code for several design patterns in PHP 8