gianfriaur/laravel-hyper-controller
最新稳定版本:v0.1.1
Composer 安装命令:
composer require gianfriaur/laravel-hyper-controller
包简介
Laravel Hyper Controller
关键字:
README 文档
README
⚽️ Goal
The library is primarily intended to reduce the time Laravel takes to solve a route.
For example let's imagine an application with 30 entities, each of them has the CRUD via api so we can assume that only for the model routes we have 150 routes, if we also have an administration section for managing these we can even get to 300 routes.
This package is found to be even more useful with systems that automatically create admin interfaces or api routes since they usually create a lot of these, such as Sonata in Symfony, which creates a mountain of routes by significantly increasing the request determination time.
This library allows you to unify all the routes of a controller into one avoiding that they grow exponentially slowing down your application
✨ Features
- Collects the routes of a controller into a single laravel route, Read More
- Total customization of a route with parameters Read More
- Middleware association for specific action, with insertion and/or removal rules Read More
- Highly performing and cached
- Free rewriting of all its parts and the ability to replace them via config Read More
- Configuring controllers via attribute (no extra files) Read More
- Compatibility with
gianfriaur/package-loaderpackage Read More
🤙🏼 Quickstart
1) Install The package
composer require gianfriaur/laravel-hyper-controller
2) Publish configuration file
php artisan vendor:publish --provider="Gianfriaur\HyperController\HyperControllerServiceProvider"
3) Everything is ready, now you can start using HyperController Create your first controller
📝 Next releases
-
The
php artisan route:list -vvcommand with the second level of verbosity will have to show all the information of a HyperController -
Regex path in annotation
-
Default parameter in path
-
Auto cast/parse/fetch model in parameter
[milestone V1.0.0] -
Tests List
-
PackageWithHyperControllerauto mapper in namespace
🎉 License
The Laravel Hyper Controller package is licensed under the terms of the MIT license and is available for free.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-09