pabloleone / flag
Flag your Laravel environments.
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- illuminate/support: 4.x
This package is not auto-updated.
Last update: 2020-08-17 12:05:39 UTC
README
This Laravel 4 package provides a way to flag your environments to avoid unwanted changes.
Installation
Begin by installing this package through Composer. Edit your project's composer.json file to require pabloleone/flag.
"require-dev": {
"pabloleone/flag": "1.0.x"
}
Next, update Composer from the Terminal:
composer update
Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.
'Pabloleone\Flag\FlagServiceProvider'
That's it! You're all set to go.
Configuration
Publish the config file with this command.
php artisan config:publish pabloleone/flag
In the config file you can change the flag message, template or even disable it.
See: http://laravel.com/docs/packages#package-configuration
Template
To override the template, publish the package template into your app views with this command.
php artisan view:publish pabloleone/flag
Now go to your app/views/packages and make your tweaks on there.
See: http://laravel.com/docs/packages#package-views
Contribute
To contribute fork the project, make the changes and send a pull request.
Todo's
Write tests.