agustind/laravel-simple-crud

A Laravel 5.4 simple CRUD generator via artisan commands

dev-master 2017-05-09 03:09 UTC

This package is not auto-updated.

Last update: 2024-11-24 01:52:58 UTC


README

This is a very light CRUD generator for Laravel 5.4 without all the bloat. It uses Twitter Bootstrap for easy integration.

It requires an already working database connection and it generates a CRUD for an existing table. The resulting route will be /model (example /posts) with a list of all records and functionality to create, edit and delete records.

Installation

  1. Install with
composer require agustind/laravel-simple-crud dev-master
  1. Add service provider to /config/app.php file
'providers' => [
    ...
    Agustind\Crud\CrudServiceProvider::class,
],
  1. Use the new artisan command
php artisan crud:generate table_name

If a layout exists at resources/views/layouts/app.blade.php it will be used from the generated views.