Minggu, 21 Mei 2017

Sublime text 3 ( laravel artisan not found ) (SOLVED)

  As sublime user facing this laravel issue :
  "Artisan not found"

  that almost scared me to death.

  i'm using sublime text 3, and use laravel version 5,
  tested with laravel 4 too.


luckly , i solve this one : 

you can find sublime settings here : ( preferences > Package settings )

> go to your sublime settings :
> (choose whether "laravel 4 artisan" or "laravel 5 artisan")
> select "Settings - default"
> copy that text (it will be like this)

{
    "php_path": "php",
    "artisan_path": "artisan"
}

>  go to your sublime settings
> (choose whether "laravel 4 artisan" or "laravel 5 artisan")
> select "Settings - users"
> now paste the text here and modify the "php_path" and "artisan_path"

{
    "php_path": "C:/xampp/php/php.exe",
    "artisan_path": "C:\\xampp\\htdocs\\myfirstapp\\artisan"
}

> restart your sublime
> finish, wish you luck.

NOTES

> if you are using my trick you must change "artisan_path" if you use different project.

===================
===================

for more info you can see this one : 

https://github.com/gnarula/sublime-laravelgenerator/issues/30


EmoticonEmoticon