Giter VIP home page Giter VIP logo

phpstorm_artisan's Introduction

PHPStorm Artisan Command Line Helper

This xml file will provide you with aliases for artisan (the Laravel command line utility) in PHPStorm's console. Once installed on your machine it will provide autocomplete functionality for artisan commands when executed in the PHPStorm command line tools console.

A few things to note

  • You must have Laravel 4 installed and properly configured for artisan to work correctly.
  • This only works for artisan in Laravel 4.
  • Your console must be in the same directory as the artisan file or you must create a global path to your artisan file.
  • Optional artisan parameters are marked in square brackets []. Required artisan parameters are not enclosed in brackets.

Installation

  • MacOSX: Place this file in ~/Library/Preferences/WebIdeXX/commandlinetools
  • Linux: Place this file in ~/.WebIdeXX/config/commandlinetools
  • Windows: Place this file in <User home>\.WebIdeXX\config\commandlinetools

For additional information on where to put PHPStorm configuration files check http://www.jetbrains.com/phpstorm/webhelp/project-and-ide-settings.html

Once the file is placed in the proper directory you can then open PHPStorm 6 and go to Preferences -> Command Line Tool Support there you will see the artisan tool. Make sure that it is enabled.

Testing

Open the command line tools console and begin typing artisan. You should see a large list of options appear as a dropdown. Select artisan help and hit enter twice. (Don't worry if it complains about needing a parameter after the first enter)

You should see the artisan help options as if you had typed the command in your own terminal.

If you see an error with some HTML you will need to open the Command line tool support window again Peferences -> Command Line Tool Support and edit the "Tool Path". Set a full path to your php binary instead of just "php".

phpstorm_artisan's People

Watchers

James Cloos avatar Carl Parrish 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.