How to use laravel php command in linux?

Standard

All you need is to place the ~/.composer/vendor/bin directory in your PATH so that laravel command is executable. To do show, here is here the process:

Firstly, create

nano ~/.bash_profile 

And paste

export PATH=~/.composer/vendor/bin:$PATH

Restart the terminal and it starts working.

 

REMINDER.

  • Make sure you have installed composer in you system
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s