chicofreitas / crud-views

Laravel package to create dashboard views based in CRUD models.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crud Views

Add the crud-views repository in your composer.json

"repositories": [
    {
        "type" : "vcs",
        "url" : "https://github.com/chicofreitas/crud-views"
    }
],

add the package into the require section

"require": {
    ...
    "chicofreitas/crud-views" : "v0.0.1"
},

and, in the psr-4

"autoload": {
    "psr-4": {
        ...
        "Chicofreitas\\" : "src/"
    }
},

Add the following line to composer.json file located in the root of Laravel application

"autoload": {
    ...
    "Chicofreitas\\CrudViews\\": "vendor/chicofreitas/crud-views/src/"
}

And in the config/app.php add the service provider

'providers' => {
    ...
    Chicofreitas\CrudViews\CrudViewsServiceProvider::class,
}

In the console run

$composer dump-autoload

You can verify if everything it's ok running

$php artisan

and look for a make:views command.

About

Laravel package to create dashboard views based in CRUD models.


Languages

Language:PHP 100.0%