An open API service indexing awesome lists of open source software.

https://github.com/marabesi/laravel-easy-crud

(Laravel 5+) Simple and effective way to generate CRUD from your models or database
https://github.com/marabesi/laravel-easy-crud

crud database gentelella-theme laravel mit models php

Last synced: 3 months ago
JSON representation

(Laravel 5+) Simple and effective way to generate CRUD from your models or database

Awesome Lists containing this project

README

        

# easy-crud

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ef2320108a8747efbdd32cb36294c2e7)](https://www.codacy.com/app/matheus-marabesi/easy-crud?utm_source=github.com&utm_medium=referral&utm_content=marabesi/easy-crud&utm_campaign=badger)
[![Build Status](https://travis-ci.org/marabesi/laravel-easy-crud.svg?branch=master)](https://travis-ci.org/marabesi/laravel-easy-crud)
[![Latest Stable Version](https://poser.pugx.org/marabesi/easy-crud/v/stable)](https://packagist.org/packages/marabesi/easy-crud)
[![Total Downloads](https://poser.pugx.org/marabesi/easy-crud/downloads)](https://packagist.org/packages/marabesi/easy-crud)
[![Latest Unstable Version](https://poser.pugx.org/marabesi/easy-crud/v/unstable)](https://packagist.org/packages/marabesi/easy-crud)
[![License](https://poser.pugx.org/marabesi/easy-crud/license)](https://packagist.org/packages/marabesi/easy-crud)
[![composer.lock](https://poser.pugx.org/marabesi/easy-crud/composerlock)](https://packagist.org/packages/marabesi/easy-crud)
[![HitCount](http://hits.dwyl.io/marabesi/laravel-easy-crud.svg)](http://hits.dwyl.io/marabesi/laravel-easy-crud)

(Laravel 5+) Simple and effective way to generate CRUD from your models or database

## Version Compatibility

Laravel | EasyCrud
:---------|:----------
4.x.x | Not supported
5.0.x | Not supported
5.1.x | 1.x.x
5.2.x | 1.x.x
5.3.x | Not supported
5.4.x | Not supported
5.5.x | Not supported

# What you can do?

- Generate CRUD from Laravel models
- Generate CRUD from database table (not ready)

# Powered by Gentelella theme
![Gentelella Bootstrap Admin Template](https://cdn.colorlib.com/wp/wp-content/uploads/sites/2/gentelella-admin-template-preview.jpg "Gentelella Theme Browser Preview")

# Features

- Friendly admin to manage your data (CRUD)
- Prevent collisions with defined routes
- Beautiful admin template

# Installing

```
composer require marabesi/easy-crud
```

Update the service provider list

```php
'providers' => [
EasyCrud\Providers\EasyCrud::class,
]
```

Publish the vendor assets to you current project

```
artisan vendor:publish
```

Now, you should have a file called `easy-crud.php` inside your config folder, open it and edit as you wish.

```php
[
'Users' => \App\User::class
],

/**
* URL that should be used to access the gentella admin
* where you can manage all models that have CRUD
*/
'url_base' => '/admin',

/**
* You might want to have some validation before accessing
* the gentela admin, to achieve that, just inform the middleware
* class name in the array. It will go through each middleware declared
* below.
*/
'middlewares' => [
]
];
```

Add every model that you want to see in the admin in the `models` array, the
key should be the label name. It will appear in the admin area.

# More info

https://marabesi.com/php/2017/09/21/easy-crud.html