ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Laravel 5 Artisan

by dydx ST2/ST3

Laravel 5 Artisan Commands for Sublime Text 3

Details

Installs

  • Total 75K
  • Win 47K
  • OS X 14K
  • Linux 14K
May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6
Windows 46 51 32 45 52 56 41 56 41 46 42 51 46 65 49 44 38 45 55 57 46 40 32 34 64 49 43 60 63 43 49 53 75 67 84 57 59 35 61 54 60 69 63 39 44 51
OS X 9 6 7 9 9 12 7 15 5 5 10 17 10 13 14 3 9 10 15 13 8 11 10 1 9 13 13 14 9 9 6 11 6 12 20 11 9 12 8 15 8 9 11 5 4 7
Linux 10 4 14 24 17 10 12 7 10 8 15 8 22 18 18 11 12 15 23 20 21 16 14 8 9 9 10 17 11 8 9 12 14 13 11 13 11 7 12 8 16 13 17 13 14 12

Readme

Source
raw.​githubusercontent.​com

Laravel 5 Artisan commands

Fork of Sublime Text plugin for Laravel 4 Artisan commands

This plugin allows you the run the normal Artisan CLI using the Sublime Text interface, without having to open and use the command line.

Several of the commands, such as Laravel Artisan: Make: Migration Schema require laracasts/generators to be installed, as the associated commands are not native to Laravel (yet).

Available commands:

General
  • Laravel Artisan 5: Clear Compiled
  • Laravel Artisan 5: Down
  • Laravel Artisan 5: Help
  • Laravel Artisan 5: List
  • Laravel Artisan 5: Migrate
  • Laravel Artisan 5: Optimize
  • Laravel Artisan 5: Serve
  • Laravel Artisan 5: Up
App
  • Laravel Artisan 5: App:Name
Auth
  • Laravel Artisan 5: Auth:Clear Resets
Cache
  • Laravel Artisan 5: Cache:Clear
  • Laravel Artisan 5: Cache:Table
Config
  • Laravel Artisan 5: Config:Cache
  • Laravel Artisan 5: Config:Clear
DB
  • Laravel Artisan 5: DB:Seed
Event
  • Laravel Artisan 5: Event:Generate
Key
  • Laravel Artisan 5: Key:Generate
Make
  • Laravel Artisan 5: Make:Controller
  • Laravel Artisan 5: Make:Event
  • Laravel Artisan 5: Make:Middleware
  • Laravel Artisan 5: Make:Migration
  • Laravel Generate 5: Make:Migration: Schema
  • Laravel Generate 5: Make:Migration: Pivot
  • Laravel Artisan 5: Make:Model
  • Laravel Artisan 5: Make:Provider
  • Laravel Artisan 5: Make:Request
  • Laravel Artisan 5: Make:Seeder
Migrate
  • Laravel Artisan 5: Migrate:Install
  • Laravel Artisan 5: Migrate:Refresh
  • Laravel Artisan 5: Migrate:Reset
  • Laravel Artisan 5: Migrate:Rollback
  • Laravel Artisan 5: Migrate:Status
Queue
  • Laravel Artisan 5: Queue:List Failed Jobs
  • Laravel Artisan 5: Queue:Failed Table
  • Laravel Artisan 5: Queue:Flush
  • Laravel Artisan 5: Queue:Forget
  • Laravel Artisan 5: Queue:Listen
  • Laravel Artisan 5: Queue:Restart
  • Laravel Artisan 5: Queue:Retry
  • Laravel Artisan 5: Queue:Subscribe
  • Laravel Artisan 5: Queue:Table
  • Laravel Artisan 5: Queue:Work
Route
  • Laravel Artisan 5: Route:Cache
  • Laravel Artisan 5: Route:Clear
  • Laravel Artisan 5: Route:List
Schedule
  • Laravel Artisan 5: Schedule:Run
Session
  • Laravel Artisan 5: Session:Table
Vendor
  • Laravel Artisan 5: Vendor:Publish
View
  • Laravel Artisan 5: View:Clear
Custom
  • Laravel Artisan 5: Custom Command

Custom Commands

You can add custom commands. Use Preferences/Package Settings/Laravel 5 Artisan/Commands – User menu item.

Simple command structure:

[
    {
        "caption": "Laravel Artisan: Deploy Project",
        "command": "laravel5_artisan",
        "args": {
            "command": "deploy",
            "fill_in": true,
            "fill_in_lable": "Enter the branch name with options"
        }
    }
]

Change command caption and command in args. Use fill_in: true if you need some input for your command and fill_in_lable: "Text" for message.

Installation:

Use Package Controller or create a the directory Laravel 5 Artisan in your Sublime Text Packages directory with source code, and you're ready to go.

Usage:

Press Cmd + Shift + P for the dropdown command list, search for Laravel, and pick your command. Also you can use Tools/Laravel... menu item

Notes:

  • Artisan file needs to been in the root folder of your structure in the sidebar.
  • You need insert in Sublime Text user settings "show_panel_on_build": true or use Tools/Build Results/Show Build Results menu item for view results.
  • Several commands do require laracasts/generators