2017 © Pedro Peláez
 

library laravel-shared-host

An easy way for people on shared hosting without command line access to use laravel. It is likely insecure because of it

image

patrick-rose/laravel-shared-host

An easy way for people on shared hosting without command line access to use laravel. It is likely insecure because of it

  • Saturday, October 19, 2013
  • by PatrickRose
  • Repository
  • 2 Watchers
  • 6 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

laravel-shared-host

An easy way for you to use Laravel 4 on shared hosting, without command line access, (*1)

Installation

Like all good things, this package is installed using Composer. Just add the following to your composer.json, (*2)

"require": {
    "patrick-rose/laravel-shared-host": "dev-master"
}

Then just run composer update and Composer will do the heavy lifting., (*3)

Then you just need to tell Laravel to load the files. Go into app/config/app.php and add this to your provider's array:, (*4)

providers => array(
    'PatrickRose\LaravelSharedHost\LaravelSharedHostServiceProvider',
);

Usage

When you get around to deploying your application, upload everything (including your vendor folder). Now, go into /vendor/patrick-rose/laravel-shared-host/src/config/config.php, and set activated to true. You'll now have a few routes to go to, but the important one is:, (*5)

http://[yoursite]/patrickrose-sharedhost-index

You'll be asked for a password, which is your application key by default. Then you can run the commands that you need to run., (*6)

Note that currently, if something goes wrong an error message is thrown., (*7)

When you're finished, REMOVE ACCESS TO THIS PAGE. Although no user input is needed, it's probably wise to not let this be open. Removing access is as simple as setting activated to false, (*8)

The Versions

19/10 2013

dev-master

9999999-dev

An easy way for people on shared hosting without command line access to use laravel. It is likely insecure because of it

  Sources   Download

The Requires

 

by Patrick Rose