PHPackages                             knackline/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. knackline/laravel-deploy

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

knackline/laravel-deploy
========================

A Laravel package for deploying Laravel projects using a shell script.

0.0.1(1y ago)68[3 issues](https://github.com/Knackline/laravel-deploy/issues)MITPHP

Since Aug 14Pushed 1y ago2 watchersCompare

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

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

Laravel Deploy Package
======================

[](#laravel-deploy-package)

[![Laravel](https://camo.githubusercontent.com/061b95fd74d760c7836d001867af2c81f333d7bfa53e8cde7bc9493413298385/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d382e782d6f72616e67652b3f6c6f676f3d6c61726176656c)](https://camo.githubusercontent.com/061b95fd74d760c7836d001867af2c81f333d7bfa53e8cde7bc9493413298385/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d382e782d6f72616e67652b3f6c6f676f3d6c61726176656c)[![PHP](https://camo.githubusercontent.com/76d4f4fc90d08e35e14d1123d5fea37f1e256255182e71c932fb09e612e80256/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e342532422d626c75652b3f6c6f676f3d706870)](https://camo.githubusercontent.com/76d4f4fc90d08e35e14d1123d5fea37f1e256255182e71c932fb09e612e80256/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e342532422d626c75652b3f6c6f676f3d706870)[![License](https://camo.githubusercontent.com/ee512002a5e8c3dc4220666cc4556abfa8ba611f4c67dd8957e449c0351b79ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2b3f6c6f676f3d4d4954)](https://camo.githubusercontent.com/ee512002a5e8c3dc4220666cc4556abfa8ba611f4c67dd8957e449c0351b79ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2b3f6c6f676f3d4d4954)

Overview
--------

[](#overview)

The **Knackline Laravel Deploy Package** simplifies the deployment of Laravel projects using a customizable shell script. This package allows you to create and manage a deployment script that can be tailored to your specific project needs. It also supports optional integration with Laravel Horizon and Telescope.

Features
--------

[](#features)

- **Customizable Deployment Script:** Automatically generate and customize a deployment script based on your project requirements.
- **Horizon &amp; Telescope Support:** Includes commands for Horizon and Telescope if they are installed in your project.
- **PHP Version Management:** Specify the PHP version to use during deployment, with support for versioned paths.
- **Git Branch Selection:** Define the default Git branch to deploy from.

Installation
------------

[](#installation)

To install the package, run:

```
composer require knackline/laravel-deploy
```

After installation, you can publish the configuration file and the deployment script:

```
php artisan deploy:setup
```

Usage
-----

[](#usage)

### Setup Deployment

[](#setup-deployment)

To set up the deployment configuration and script, use:

```
php artisan deploy:setup
```

During setup, you will be prompted for:

1. **Laravel Project/Application Path:** The path to your Laravel project. If left blank, it defaults to the root of your Laravel installation.
2. **Default Git Branch:** The Git branch to deploy.
3. **PHP Version:** The PHP version to use. If left blank, it defaults to `/usr/bin/php`.

The script and configuration file will be generated based on your input.

### Running the Deployment

[](#running-the-deployment)

Once the script is generated, you can deploy your application by running:

```
php artisan deploy
```

This script will:

1. Navigate to the specified project directory.
2. Fetch the latest code from the specified Git branch.
3. Install or update composer dependencies.
4. Run database migrations and other necessary commands.
5. Display a success message upon completion.

### Configuration

[](#configuration)

The configuration file (`config/deploy.php`) allows further customization:

```
return [
    'script_path' => base_path('deploy.sh'),  // Path to the generated deployment script
    'project_path' => '/path/to/your/project',  // Path to your Laravel project
    'git_branch' => 'main',  // Default Git branch to deploy
];
```

You can manually adjust these settings as needed.

Credits
-------

[](#credits)

**RAJKUMAR** -  ([Github](https://github.com/rjsamra))

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

633d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d34c18fe16b2fffb20874c194a362b82db3aa3bcf24553c5402096d546e6e722?d=identicon)[rajkumarsamra](/maintainers/rajkumarsamra)

---

Top Contributors

[![rjsamra](https://avatars.githubusercontent.com/u/31566509?v=4)](https://github.com/rjsamra "rjsamra (9 commits)")

---

Tags

deploydeploymentlaravelphp

### Embed Badge

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

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

###  Alternatives

[slimkit/plus

The Plus(ThinkSNS+) is a powerful, easy-to-develop social system built with Laravel.

2.2k2.4k](/packages/slimkit-plus)[laravel-fans/docker

Full Laravel production environment for Docker

4311.3k](/packages/laravel-fans-docker)[downtoworld/laravel-devops

Laravel Cloudflare-Tunnels Ready Production Docker-Compose

161.1k](/packages/downtoworld-laravel-devops)

PHPackages © 2026

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