2017 © Pedro Peláez
 

package crudder

Dead simple admin panels for Laravel.

image

lupka/crudder

Dead simple admin panels for Laravel.

  • Tuesday, January 17, 2017
  • by lupka
  • Repository
  • 1 Watchers
  • 2 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

This is still under development, DO NOT USE IN PRODUCTION

Crudder

[]()icense, (*1)

Installation

1: Install via Composer

composer require lupka/crudder

2: Add Service Provider

Add the new provider to the providers array of config/app.php:, (*2)

'providers' => [
    // ...
    Lupka\Crudder\CrudderServiceProvider::class,
    // ...
],

3: Add Facade

Add the new Crudder alias to the aliases array of config/app.php:, (*3)

'aliases' => [
    // ...
    'Crudder' => Lupka\Crudder\CrudderFacade::class,
    // ...
],

4: Add routes

Add a call to Crudder::routes() wherever you want within your routes file. The example below uses a route group with a prefix and auth middleware:, (*4)

Route::group(['prefix' => 'crudder', 'middleware' => 'auth'], function(){
    Crudder::routes();
});

5: Publish config file

Publish the Crudder config file by running the following command:, (*5)

php artisan vendor:publish --tag=config

Configuration

Basic Setup

All you need to do to get started is enter the class name of the Eloquent Model you want to have an admin for in the crudder.php config file., (*6)

    'models' => [
        'App\BlogPost' => []    
    ]

Crudder will use a basic form based on the field types in your database., (*7)

Tips

If you want to modify values programmatically before/after saving, I recommend using observers: https://laravel.com/docs/5.3/eloquent#observers, (*8)

The Versions

17/01 2017

dev-master

9999999-dev

Dead simple admin panels for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Chalupka

laravel crud models crudder

16/01 2017

0.0.1

0.0.1.0

Easy admin areas for Laravel models.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Chalupka

laravel crud models crudder