Coder Social home page Coder Social logo

web-artisan's Introduction

Web Artisan - a package for Laravel 4

Description

This bundle exposes Laravel's Artisan CLI to the web. As such, it probably should not be used in a production environment.

Installation

Add the following to your app's composer.json:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/joecwallace/web-artisan"
        }
    ],
    "require": {
        ...
        "joecwallace/artisan": "dev-master"
    }
}

Run php composer.phar update

Add 'Joecwallace\Artisan\ArtisanWebServiceProvider', to the 'providers' array in app/config/app.php

Optional configuration

Run php artisan config:publish joecwallace/artisan

Edit the 'handles' option. This sets the URI that Web Artisan should respond to, so 'handles' => 'admin' would set the package to respond to http://my.awesome.app/admin, http://my.awesome.app/admin/help+migrate, etc.

Edit the 'filter' option. Filter provide a convenient way of limiting access to a command run.

Usage

  1. Take an artisan task: php artisan config:publish joecwallace/artisan
  2. Replace php artisan with a URL similar to this: http://my.awesome.app/artisan/
  3. Replace remaining spaces with + to yield: http://my.awesome.app/artisan/config:publish+joecwallace/artisan

Enjoy

I hope someone else finds this useful at some point.

License

MIT license - http://www.opensource.org/licenses/mit-license.php

web-artisan's People

Contributors

joecwallace avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

web-artisan's Issues

I don't have CLI!!!

Hi, it's a great feature to be able to access artisan from the web... But I'm using this package because of one only thing: I don't have CLI access on my current host. However the install requires composer commands.

How can I install web-artisan without CLI? Does the illuminate/support comes with Laravel by default?

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.