agustind / laravel-simple-crud by agustind

A Laravel 5.4 simple CRUD generator via artisan commands
121
0
2
Package Data
Maintainer Username: agustind
Maintainer Contact: agustind@gmail.com (Agustin Dondo)
Package Create Date: 2017-05-08
Package Last Update: 2017-05-09
Language: PHP
License: MIT
Last Refreshed: 2024-05-03 03:00:49
Package Statistics
Total Downloads: 121
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

Laravel Simple Crud

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.