biggo6/cpanel

The tool which make your laravel project ready to be deployed to your web shared hosting file manager (cpanel file manager)
122 23
Install
composer require biggo6/cpanel
Latest Version:v1.0.3
PHP:>=5.6.4
Last Updated:Jun 7, 2022
Links: GitHub  ·  Packagist
Maintainer: biggo

Laravel 5 Cpanel Deployer

The tool which makes your laravel project ready to be deployed to your web shared hosting file manager (cpanel file manager)

alt text

Requirements

Laravel 5+
PHP >= 5.6
chumper/zipper >= 1.0.1! @ https://github.com/Chumper/Zipper

Installation

a) Run

composer require biggo6/cpanel 

b) Add service provider to /config/app.php file.

'providers' => [
    ...
    Biggo6\Cpanel\Biggo6CpanelServiceProvider::class,
    Chumper\Zipper\ZipperServiceProvider::class,
],

c) add to aliases 'Zipper' => 'Chumper\Zipper\Zipper'

d) Recommended but not necessary, run this command composer dump-autoload

Usage

This package registers new commands, do php artian list to see, find command called cpanel:build.

To build your laravel 5 project as as can be uploaded later in your web shared hosting cpanel run the following command

$~/opt/codes >php artisan list
=======================================
---
...
.....
cpanel:build

Then run

$~/opt/codes >php artisan cpanel:build

Follow the rest instructions

Successfully now you will find build.zip file under project root folder, this is one uploded to cpanel file managers

Related Packages

kevindperezm/laravel-5-shared-hosting

An empty template for shared-hosted Laravel 5 projects

13 0
urameshi/laravel-admin

Customized Laravel Framework for Admin/CPanel.

88 6
phasehosting/laravel-cpanel-api

Laravel cPanel/WHM API Package.

160 0
gufy/cpanel-whm

Laravel cPanel/WHM API Package.

124,605 60
staufenbiel/laravel

Staufenbiel Codebase powered by Laravel Framework.

31 0