Skip to content

Available Features ​

Here are some features currently available for you to try.

  1. CRUD Generator
  2. Configurable Sidebar Menu (full version)
  3. CRUD User (full version)
  4. Role & permissions - Spatie Permission (full version)
  5. Authentication - Laravel Fortify (full version)
    • Login
    • Register
    • Forgot Password
    • 2FA Authentication
    • Profile Information Update

Available Commands ​

Generator Installation ​

Install Generator variants: Simple / Full version

For the simple version

sh
php artisan generator:install simple

For the full version

sh
php artisan generator:install full

DANGER

Both scripts will overwrite some files, so proceed with caution and avoid running them several times.

Publish utility classes ​

sh
php artisan generator:publish-utils

Configure the menu on the sidebar. ​

The sidebar menu settings may be found in config/generator.php. Set the sidebar menu to static .blade code or use a list from the configuration (dynamic).

sh
php artisan generator:sidebar dynamic

When using a static Sidebar menu, you are free to modify the Sidebar menu in resources/views/layouts/sidebar.blade.php

sh
php artisan generator:sidebar static

INFO

When you create a new module with the Generator, the Sidebar will automatically revert to dynamic. But don't panic, you may revert to the previous settings.

Utility Classes/Helper ​

Helper ​

The helper class is placed in App\Generators\helper.php

Check active menu on Sidebar ​

Checks whether the menu on the Sidebar matches the accessed uri.

php
is_active_menu(string|array $menu): boolean;

ImageService ​

This class is used to perform image upload and manipulation functions using Intervention Image v3.x, it's placed in App\Generators\Services