Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- composer global require "laravel/installer"
- Now add the path into the environment file
- 1. sudo nano .bashrc
- Now paste the following line in it
- export PATH="$PATH:$HOME/.config/composer/vendor/bin"
- Now reload the path by the following command
- 1.source ~/.bashrc
- Now run laravel new your_project command. If you're getting
- The Zip PHP extension is not installed. Please install it and try again.
- Now install the php zip extension by the following command
- 1. sudo apt-get install php7.0-zip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement