zingle-com/stash-package

Stash package for Laravel

Installs: 1 695

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:laravel-package

0.1.0 2019-12-05 02:58 UTC

This package is auto-updated.

Last update: 2020-10-25 00:26:24 UTC


README

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"