zingle-com/stash-package

Stash package for Laravel
1,699
Install
composer require zingle-com/stash-package
Latest Version:0.1.0
PHP:>=7.1
License:MIT
Last Updated:Jan 24, 2020
Links: GitHub  ·  Packagist
Maintainer: zquintana

Stash Package

Provides basic stash bindings and helpers into Laravel.

Installation

Install the base package with composer.

$ composer require zingle-com/stash-package

Add service provider to your providers after the Illuminate providers, but before your project service providers.

// 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:

$ php artisan vendor:publish --provider="ZingleCom\Stash\StashServiceProvider"