Download the PHP package thejawker/laravel-deployer without Composer
On this page you can find all versions of the php package thejawker/laravel-deployer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thejawker/laravel-deployer
More information about thejawker/laravel-deployer
Files in thejawker/laravel-deployer
Package laravel-deployer
Short Description Makes deploying your Laravel application an absolute breeze.
License MIT
Homepage https://github.com/thejawker/laravel-deployer
Informations about the package laravel-deployer
Laravel Deployer
Makes deploying Laravel applications an absolute breeze! 💨💨💨💨 This package will generate your deployment bash script and work with some nice notifications when things go wrong or right.
🚨 Work In Progress
Functional and all, but will take some time before it's fully done.
Installation
You can install the package by running the following composer command:
If you are running Laravel 5.4 or lower you have to manually add the ServiceProvider.
Next up publish the vendor:
Then add your Slack Channel details and other deployment config to the config/deployer.php
file.
Config
The configuration is quite elaborate and heavily commented so it's easier to understand.
Publish Script
If you are happy with your config you can publish the bash script by running the following command:
This will create a deployer.sh
bash file in the application root. Running this file will deploy and notify you of the status of the deployment.
Note: that you do have to run it in order to update the script. Also take care when you are php artisan config:cache
since this will lock the config and not update the script.
Push to deploy?
Definitely possible, read up on the docs of your git provider (eg Bitbucket, GitHub). You just need to be able for the bash script to be run when you deploy (or other actions).
Again, this is work in progress, so it probable will break all of the times