LunarDevelopment / LaravelTreats

A collection of goodies for Laravel 5.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LaravelTreats

A collection of goodies for Laravel 5.

Installation

Add this to your project's composer.json file:

    // ...
    "require": {
        // ...
        "mopo922/laravel-treats": "^1.0",
        // ...
    },
    // ...

Then run composer update. That's it!

Components

Service Provider

The LaravelTreatsServiceProvider is not required for all LaravelTreats features, but does provide an interface for some benefits like the ready-made view layout.

Simply add the LaravelTreatsServiceProvider to the providers array in config/app.php:

'providers' => [
    // Other Service Providers

    LaravelTreats\LaravelTreatsServiceProvider::class,
],

If you plan to take advantage of the default view layout, publish the necessary files to your app and resources directories by running the following command from your project's root directory:

php artisan vendor:publish

About

A collection of goodies for Laravel 5.

License:MIT License


Languages

Language:HTML 39.0%Language:CSS 36.9%Language:PHP 24.1%