The tool which makes your laravel project ready to be deployed to your web shared hosting file manager (cpanel file manager)
Laravel 5+
PHP >= 5.6
chumper/zipper >= 1.0.1! @ https://github.com/Chumper/Zipper
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
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
$~/opt/codes >php artisan cpanel:build
Follow the rest instructions