How to install Laravel? in mac

https://devforgalaxy.github.i.

I am here to see
the first step alone is off

.
sudo php -r "readfile("https://getcomposer.org/installer");" > composer-setup.php
-bash: composer-setup.php: Permission denied

you can see https://laravel-china.org/doc.


here.

there are two ways to install:
1, install through the Laravel installer:

1. `composer global require "laravel/installer"`
2. `laravel new blog`   

2. Install via Composer's create-project:
composer create-project-- prefer-dist laravel/laravel blog

but all need to install composer,. For more information, please see the official documentation Composer official documentation

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b99ae9-2e9f6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b99ae9-2e9f6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?