abianbiya/laralag

Laralag CRUD Generator and Starter Access Management

Installs: 42

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

0.2.8.6 2024-06-19 02:14 UTC

README

Simple CRUD Generator and Starter Access Management

Latest Version on Packagist Total Downloads

This package adds ability to generate CRUD based on the table and manage access users and roles.

Installation

You can install the package via composer:

composer require abianbiya/laralag

and then run

php artisan lag:install

then add the HasUuids and HasPermissions traits to your app/Models/User.php

use Abianbiya\Laralag\Traits\HasPermissions;
use Illuminate\Database\Eloquent\Concerns\HasUuids;

class User extends Authenticatable
{
    use HasFactory, Notifiable, HasUuids, HasPermissions;
	// rest of the code

and you are ready.

Usage

Generating the CRUD

  1. Make the migration and do migrate
  2. Run artisan make module with the table name in StudlyCase
php artisan make:module Post

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email mail.anbiya@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.