Code Monkey home page Code Monkey logo

cpanel's Introduction

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

cpanel's People

Contributors

joramkimata avatar

Watchers

James Cloos avatar Amaral karl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.