allay/crud

Scaffold code and UI for CRUD operations, using Allay/Base, Laravel, and Eloquent models.

Installs: 281

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 6

Language:JavaScript

1.0 2016-11-22 19:49 UTC

This package is not auto-updated.

Last update: 2021-04-09 05:04:34 UTC


README

Quickly scaffold CRUD (create, read, update, delete) code and UI using Laravel 5 and Eloquent models.

Notice!

This package is not production ready. It does not follow a release cycle.

Ignore the 1.0 release included in this repository. All development is done on master until a production release is completed.

What is this?

This package is forked from the last MIT-licensed commit of Laravel Backpack, citing two reasons:

  1. Backpack went the freemium route. Allay will always be MIT.
  2. Features will (and already have) diverged from the Backpack repository.

Should I Contribute?

Yes. This package is developed full-time, let's build something great and free together.

Install

  1. Add this package to composer.
$ composer require allay/crud
  1. Add this to your config/app.php, under "providers":
Allay\CRUD\CrudServiceProvider::class,
  1. Run:
# publish CRUD assets
$ php artisan vendor:publish --provider="Allay\CRUD\CrudServiceProvider" --tag="public" 

# publish the lang files
$ php artisan vendor:publish --provider="Allay\CRUD\CrudServiceProvider" --tag="lang" 

# publish the config file
$ php artisan vendor:publish --provider="Allay\CRUD\CrudServiceProvider" --tag="config" 
  1. Define an 'uploads' disk. In your config/filesystems.php add this disk:
'uploads' => [
    'driver' => 'local',
    'root'   => public_path('uploads'),
],
  1. If you haven't, go through the Allay/Base install instructions.

Usage

Coming soon on first public release.

To generate CRUD files magically for now, try this:

php artisan allay:crud {$singularEntityName}

// Example: php artisan make:crud task

Security

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

License

The MIT License (MIT).

See license.md file for more information: