Package Data | |
---|---|
Maintainer Username: | torann |
Maintainer Contact: | daniel@lyften.com (Daniel Stainback) |
Package Create Date: | 2014-10-01 |
Package Last Update: | 2018-02-01 |
Home Page: | http://lyften.com/projects/duct |
Language: | PHP |
License: | BSD-2-Clause |
Last Refreshed: | 2024-11-19 03:16:19 |
Package Statistics | |
---|---|
Total Downloads: | 129 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
The Torann/Duct package is meant to simplify the creation and maintenance of the essential assets of a Laravel based application.
With Laravel Elixir in Laravel 5 I'm not sure if this package will be updated to support Laravel 5. Time will tell.
To get the latest version of Asset Duct simply require it in your composer.json
file.
"torann/duct": "0.1.*@dev"
You'll then need to run composer install
to download it and have the autoloader updated.
Once Asset Duct is installed you need to register the service provider with the application. Open up app/config/app.php
and find the providers
key.
Then register the service provider
'Torann\Duct\ServiceProvider'
There is no need to add the Facade, the package will add it for you.
$ php artisan config:publish torann/duct
The local assets directory needs to be added to the .gitignore file. This reflects the asset_dir
variable in the config file.
public/assets/*
View the official documentation.