Download the PHP package efrane/laravel-deploy without Composer
On this page you can find all versions of the php package efrane/laravel-deploy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-deploy
This project has been abandoned and will no longer be maintened.
Laravel Deploy
This package provides the artisan deploy
-command and aims to simplify the
deployment process of Laravel 5 applications.
Installation
laravel-deploy
is available as a composer package, you can thus install
it with composer require efrane/laravel-deploy
.
As this is a Laravel package, it will only make sense in a Laravel
application. Also, don't forget to add the service provider to your
app.php
config:
Usage
This package registers the ./artisan deploy
command. The default configuration
only runs the --optimize
-option as described in the Options section below.
Default options can be changed in the laraveldeploy.php
config file which
is providable via ./artisan vendor:publish
. If so desired, additional
console commands can be added to the deploy process by simply adding their
command line call strings (see Command::call()
)
to the additonalCommands
config option like so:
Any default can be overriden by calling the appropriate -no-$option
option on
the command line, i.e. ./artisan --no-fix-missing
would jump over fixing
directories and permissions.
Options
--no-additional-commands
Disables running of additional commands.
--[no-]-fix-missing
Fixes missing default directories and permissions for the storage directories.
--[no-]-optimize
Combines clear-compiled
and optimize
.
--[no-]-update-dependencies
Updates dependencies and assets using the following systems (only if a corresponding config file is found):
- npm
- bower
- gulp
Contributing
I am mainly developing this package for my own Laravel deployments, thus the feature set is very biased. However, if you find yourself needing a feature, please do not hesitate to ask by creating an issue or even implement it and sending a pull request.
Testing
Unfortunately, I currently have no clue how to test this functionality other than using it in a laravel project. Thus, contributions in terms of making this testable are especially welcome.
License
This package is released under the terms of the MIT license.
All versions of laravel-deploy with dependencies
illuminate/console Version >=5.1
symfony/process Version >=2.7
efrane/conditional-process Version >=1.1
illuminate/support Version >=5.1