Download the PHP package yunusemrebaloglu/quick-deploye without Composer
On this page you can find all versions of the php package yunusemrebaloglu/quick-deploye. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yunusemrebaloglu/quick-deploye
More information about yunusemrebaloglu/quick-deploye
Files in yunusemrebaloglu/quick-deploye
Package quick-deploye
Short Description A Laravel package for quick deployment tasks.
License MIT
Informations about the package quick-deploye
QuickDeploye
QuickDeploye is a Laravel package that allows you to trigger predefined deployment tasks via a simple HTTP request. It's a handy tool for automating common deployment tasks in your Laravel projects.
Installation
You can install QuickDeploye via Composer. Run the following command in your Laravel project directory:
Configuration
You can configure QuickDeploye by adding the following variables to your .env
file:
-
QUICK_DEPLOYE_URL
: The route where the deployment endpoint will be accessible. -
QUICK_DEPLOYE_TOKEN
: A secret token required to trigger deployments. QUICK_DEPLOYE_COMMANDS
: A comma-separated list of commands to execute during deployment.
To publish the package's configuration file, run the following command:
This will copy the configuration file to your config
directory where you can customize it.
Usage
To trigger a deployment, make an HTTP GET request to the specified deployment route, including the token as a parameter. For example:
To see the active url value:
QuickDeploye will execute the defined commands and respond with the deployment status.
Example
Here's an example of how to define the required configurations in your .env
file:
Now, you can trigger a deployment by making an HTTP GET request to http://your-app-url/yunusemrebaloglu/quick/deploye/your-token
.
License
QuickDeploye is open-sourced software licensed under the MIT license.