PHPackages                             codehubcare/laravel-deployer - 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. codehubcare/laravel-deployer

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

codehubcare/laravel-deployer
============================

Deploy laravel based application to a shared web hosting

3.0.2(1y ago)026PHP

Since Feb 1Pushed 1y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (4)Versions (14)Used By (0)

Codehubcare Laravel Deployer
============================

[](#codehubcare-laravel-deployer)

A powerful tool for automating and streamlining Laravel application deployments to remote servers via FTP/SFTP.

Features
--------

[](#features)

- Automated directory and file uploads
- Configurable deployment paths
- Environment-specific settings
- Simple command-line interface

Prerequisites
-------------

[](#prerequisites)

- PHP 7.4 or higher
- Composer
- Laravel 8.x or higher
- FTP/SFTP server access

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

[](#installation)

### Step 1: Install the Package

[](#step-1-install-the-package)

Add Laravel Deployer to your project as a development dependency:

```
composer require codehubcare/laravel-deployer --dev
```

The --dev flag ensures it's only included in development environments.

### Step 2: Publish Configuration

[](#step-2-publish-configuration)

Publish the configuration file to customize deployment settings:

```
php artisan vendor:publish --provider="Codehubcare\LaravelDeployer\LaravelDeployerServiceProvider"
```

This command creates a config/laravel-deployer.php file in your Laravel application where you can modify default settings.

Configuration
-------------

[](#configuration)

### Environment Variables

[](#environment-variables)

Update your .env file with the following variables:

```
LARAVEL_DEPLOYER_SRC_PATH=src
LARAVEL_DEPLOYER_PUBLIC_PATH=public_html

# FTP/SFTP connection details
LARAVEL_DEPLOYER_FTP_HOST=your.ftp.host.com
LARAVEL_DEPLOYER_FTP_USERNAME=your_username
LARAVEL_DEPLOYER_FTP_PASSWORD=your_password
LARAVEL_DEPLOYER_FTP_PORT=21
```

Usage
-----

[](#usage)

Deploy your application with a single command:

```
php artisan laravel-deployer:deploy
```

What Happens During Deployment

- Connects to the remote server using provided credentials
- Uploads the source directory contents to the remote destination
- Creates necessary directories if they don't exist
- Maintains directory structure

Troubleshooting
---------------

[](#troubleshooting)

- Connection Failed: Verify FTP credentials and network accessibility
- Permission Denied: Check remote directory permissions
- Files Not Visible: Confirm the correct remote path is set

Additional Notes
----------------

[](#additional-notes)

- Always backup your application before deployment
- Test deployment in a staging environment first
- Keep sensitive credentials out of version control by using .env

For more advanced configuration options, refer to the config/laravel-deployer.php file comments.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance45

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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 ~4 days

Total

13

Last Release

424d ago

Major Versions

1.0.4 → 2.0.02025-02-28

2.0.4 → 3.0.02025-03-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/37768aedc43a61a86db93889d117fe12b80ff95e8f433cb7321414e404dd6347?d=identicon)[ShamshadZaheer](/maintainers/ShamshadZaheer)

---

Top Contributors

[![shamshadzaheer](https://avatars.githubusercontent.com/u/7948187?v=4)](https://github.com/shamshadzaheer "shamshadzaheer (2 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/codehubcare-laravel-deployer/health.svg)

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

###  Alternatives

[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)

PHPackages © 2026

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