Download the PHP package bitcodesa/deployment-script without Composer
On this page you can find all versions of the php package bitcodesa/deployment-script. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bitcodesa/deployment-script
More information about bitcodesa/deployment-script
Files in bitcodesa/deployment-script
Package deployment-script
Short Description The package add artisan command that all user to do collected artisan or terminal command at once.
License MIT
Homepage https://github.com/bitcodesa/deployment-script
Informations about the package deployment-script
The package add artisan commond that allow user to do collected artisan or terminal command at once.
Package Description
This package provides a convenient way to run groups of Artisan commands through a pre-defined configuration file. This can be useful for automating tasks such as deployment, database maintenance, and testing.
Features
- Run groups of Artisan commands with a single command
- Override command options in the configuration file
- Pass values to artisan commands like
--force
. - Run command like
git pull
.
Example
For example, to run the following commands:
Then, you would run the following command:
This package is a valuable tool for any Laravel developer who needs to automate tasks or run groups of Artisan commands on a regular basis.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Allow used in production
To allow used of deploy script in the production env you should allow it in the config
config/deployment-script.php
Note: By default the script is not allowed in production.
Production Commands:
you can specify commands to run only in the production env: put the array inside config file
config/deployment-script.php
then specify the key name of this array into var production
for example:
Note: if not specified the default commands array well be used.
Usage
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Mohammed Sadiq
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of deployment-script with dependencies
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^10.0