itul / larabuilder
Builder Class for debugging in laravel
Requires
- php: >=7.4
- illuminate/support: >=8.0
Requires (Dev)
- orchestra/testbench: >=6.0
- phpunit/phpunit: >=9.0
README
The iTul Builder Class for laravel. This automates the same routes/traits/classes that are usually installed for debugging a project in laravel.
Installation
You can install the package via composer:
composer require itul/larabuilder
Usage
Once the package is installed into a laravel project, the routes and controller are automatically built.
The controller will be placed in app/Http/Controllers/BuilderController.php
If the $_allowedUsers
array has any email addresses in it, only the users with those emails will be allowed to execute a builder method.
The builder controller can auto route any public method name from a URI.
Routing Examples
Within the builder controller any method that is added will automatically route by it's name.
URL | Method |
---|---|
example.com/builder/test | public function test(...) |
example.com/builder/complex-name | public function complex_name(...) |