itul/larabuilder

Builder Class for debugging in laravel

v2.0.4 2023-05-27 11:35 UTC

This package is auto-updated.

Last update: 2024-04-13 03:50:47 UTC


README

Latest Version on Packagist Total Downloads

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.

URLMethod
example.com/builder/testpublic function test(...)
example.com/builder/complex-namepublic function complex_name(...)

Credits