PHPackages                             erikfig/laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. erikfig/laravel

ActiveProject[Framework](/categories/framework)

erikfig/laravel
===============

The Laravel Framework.

301PHP

Since Nov 1Pushed 8y ago2 watchersCompare

[ Source](https://github.com/erikfig/laravel)[ Packagist](https://packagist.org/packages/erikfig/laravel)[ RSS](/packages/erikfig-laravel/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)

[Official skeleton: https://github.com/laravel/laravel](https://github.com/laravel/laravel)

Bake Module
-----------

[](#bake-module)

Run:

```
php artisan bake:module [name]

```

Run name on plural and lower case, example:

```
php artisan bake:module pages

```

Register provider in config/app.php, see command result. Example of command result:

```
Add this provider to config/app.php:
Modules\Pages\Providers\PageServiceProvider::class,

```

CrudController and ApiController
--------------------------------

[](#crudcontroller-and-apicontroller)

Two simple traits to crud on Laravel.

See files in `app/Http/Controllers/ApiControllerTrait.php` and `app/Http/Controllers/CrudControllerTrait.php` and example in your `Controllers` directory on module.

UploadObserverTrait
-------------------

[](#uploadobservertrait)

Example:

```
