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 60K
  • Win 37K
  • OS X 12K
  • Linux 12K
Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8
Windows 20 58 49 68 68 51 60 73 42 51 79 64 53 74 90 58 64 58 59 56 82 65 47 64 54 81 65 69 73 56 72 64 65 77 72 76 61 68 94 99 71 67 53 54 44 69
OS X 1 9 13 23 21 15 17 16 27 10 8 17 8 22 17 16 18 13 18 13 18 13 10 18 7 23 16 23 12 11 20 7 22 20 21 27 21 19 24 34 24 22 15 12 11 13
Linux 3 18 7 20 13 19 26 13 14 16 20 21 9 28 14 8 10 10 29 19 23 15 12 14 14 16 18 27 25 14 20 16 24 19 27 26 14 14 13 30 19 21 7 11 13 21

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