Stash Package
Provides basic stash bindings and helpers into Laravel., (*1)
Installation
Install the base package with composer., (*2)
~~~ bash
$ composer require zingle-com/stash-package, (*3)
Add service provider to your providers after the Illuminate providers,
but before your project service providers.
~~~ php
// config.php
// ...
'providers' => [
// ...
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\Session\SessionServiceProvider::class,
Illuminate\Notifications\NotificationServiceProvider::class,
/**
* Vendors
*/
// ...
ZingleCom\Stash\StashServiceProvider::class,
// ...
/**
* Project providers
*/
],
Finally install the vendor assets:, (*4)
~~~ bash
$ php artisan vendor:publish --provider="ZingleCom\Stash\StashServiceProvider"
~~~, (*5)