Download the PHP package foodkit/laravel-deployer without Composer
On this page you can find all versions of the php package foodkit/laravel-deployer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download foodkit/laravel-deployer
More information about foodkit/laravel-deployer
Files in foodkit/laravel-deployer
Package laravel-deployer
Short Description A Deployer recipe for Laravel projects that doesn't use symlinked revisions.
License MIT
Informations about the package laravel-deployer
(Simple) Laravel Deployer
This is a Deployer recipe for Laravel deployments that cannot (or would prefer not to) rely on symlinks. Instead, Git is simply used to update the codebase directly on the server.
Installation
Install the package via composer:
Configuration
Define the deploy.php
file in your project's root:
You may want to run the deployment as standalone (not part of a project). This will skip certain checks against the state of the local repository. In this case, use the standalone
flag:
Also, the migration step can be disable if your project doesn't require it:
Slack integration
If you'd like to integrate with Foodkit's release note generator, add the following:
then run the deployment with the start
and end
command line parameters.
API integration
If you'd like to send the release note to an API endpoint, add the following:
then run the deployment with the start
and end
command line parameters.
How to deploy
Run the deploy command:
Optionally, a tag or a branch can be specified on the command line:
Optionally, if you're integrating with the release note generator:
To see what exactly happening you can increase verbosity of output with --verbose
option:
-v
for normal output,-vv
for more verbose output,-vvv
for debug.
For semver
If you use semantic versioning, the repo has "hotfix" and "release" tasks built-in.
Hotfixes
This will take the latest tag, increment it by 0.0.1, create a new tag and deploy that.
Releases
Same as for the hotfix command, but it will increment latest tag by 0.1
Contributing
See the list of issues.
Submit a pull request against master
.