mopo922/laravel-treats

A collection of goodies for Laravel 5.

Installs: 309 067

Dependents: 1

Suggesters: 0

Security: 0

Stars: 107

Watchers: 7

Forks: 30

Open Issues: 10

Language:Less

v2.0.4 2018-06-06 02:20 UTC

This package is not auto-updated.

Last update: 2024-04-20 02:18:47 UTC


README

A collection of goodies for Laravel 5.

❗ This project is no longer maintained. ❗

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