Download the PHP package tilabs/laravel-deploy without Composer
On this page you can find all versions of the php package tilabs/laravel-deploy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tilabs/laravel-deploy
More information about tilabs/laravel-deploy
Files in tilabs/laravel-deploy
Package laravel-deploy
Short Description Deploy and optimize your Laravel applications with a single command, even on VPS based hostings.
License MIT
Informations about the package laravel-deploy
Laravel Deploy by Tilabs
⚡️ Deploy and optimize your Laravel apps with one command. This also works on chrooted VPS hostings.
Why this package
On Plesk servers with chroot-restricted SSH, php artisan optimize misfires because the chroot skews Laravel’s base path. Executing the same routine through a secured HTTP endpoint preserves the correct context, enabling reliable optimization without direct shell access.
Requirements
| Version | |
|---|---|
| PHP | ^8.2 |
| Laravel | 12.x |
Installation
Publish & set your secret deployment key
This will create a config/deployment.phpconfiguration file in your project, which you can modify to your needs using environment variables.
To change the default deployment key - which you absolutely should - set an environment Variable in your .env file.
Usage
Optimize Laravel
This command will now work on Plesk VPS Hostings. If the optimization process is successful, you receive the info message Application optimized successfully. If you are lazy, you can run this command automatically after your repository has been pulled by Plesk.
Link Public Storage
To link the storage public folder, usually done by running php artisan storage:link, you can now use the command below. If everything worked out correctly, you receive the info message Application storage linked successfully.
Common Pitfalls
As we are working with caches, it is never a bad idea to just remove the previous cached versions. This can easily be done using the laravel default command to clear the cache.
License
Laravel Deploy is open‑sourced software licensed under the MIT license.
All versions of laravel-deploy with dependencies
illuminate/console Version ^12.0
illuminate/http Version ^12.0
illuminate/support Version ^12.0