PHPackages                             tilabs/laravel-deploy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. tilabs/laravel-deploy

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

tilabs/laravel-deploy
=====================

Deploy and optimize your Laravel applications with a single command, even on VPS based hostings.

v1.1.1(7mo ago)0417MITPHPPHP ^8.2

Since May 27Pushed 7mo agoCompare

[ Source](https://github.com/TILABS-CH/laravel-deploy)[ Packagist](https://packagist.org/packages/tilabs/laravel-deploy)[ RSS](/packages/tilabs-laravel-deploy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Laravel Deploy by Tilabs
========================

[](#laravel-deploy-by-tilabs)

> ⚡️ Deploy and optimize your Laravel apps with **one command**. This also works on chrooted VPS hostings.

[![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](LICENSE)

Why this package
----------------

[](#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
------------

[](#requirements)

VersionPHP^8.2Laravel12.xInstallation
------------

[](#installation)

```
composer require tilabs/laravel-deploy
```

Publish &amp; set your secret deployment key

```
php artisan vendor:publish --provider="Tilabs\LaravelDeploy\Providers\DeploymentServiceProvider"
```

This will create a `config/deployment.php`configuration 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.

```
DEPLOYMENT_KEY=...

```

Usage
-----

[](#usage)

### Optimize Laravel

[](#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.

```
php artisan site:optimize
```

### Link Public Storage

[](#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**.

```
php artisan site:storage-link
```

### Common Pitfalls

[](#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.

```
php artisan optimize:clear
```

License
-------

[](#license)

Laravel Deploy is open‑sourced software licensed under the **MIT license**.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance64

Regular maintenance activity

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~70 days

Total

3

Last Release

216d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20d93a3f83d19dd9a3acb8cf11254ad68f2268c9c437bd2b1bc8f1ef2ffd1c67?d=identicon)[tilabs](/maintainers/tilabs)

---

Top Contributors

[![ThopQ](https://avatars.githubusercontent.com/u/39917559?v=4)](https://github.com/ThopQ "ThopQ (6 commits)")

### Embed Badge

![Health badge](/badges/tilabs-laravel-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/tilabs-laravel-deploy/health.svg)](https://phpackages.com/packages/tilabs-laravel-deploy)
```

###  Alternatives

[sammyjo20/lasso

Lasso - Asset wrangling for Laravel made simple.

355347.9k](/packages/sammyjo20-lasso)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[kerigard/laravel-lang-ru

Ru lang for Laravel

2116.8k](/packages/kerigard-laravel-lang-ru)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
