-
Notifications
You must be signed in to change notification settings - Fork 18
Laravel Spark
Ram Viswanadha edited this page Dec 1, 2019
·
2 revisions
- Set up PHP
$ brew update $ brew install php@7.3 $ brew link php@7.3 $ echo 'export PATH="/usr/local/opt/php@7.3/bin:$PATH"' >> ~/.bash_profile $ echo 'export PATH="/usr/local/opt/php@7.3/sbin:$PATH"' >> ~/.bash_profile $ source source ~/.bash_profile - Set up
composer.phar$ curl -sS https://getcomposer.org/installer | php $ cp composer.phar /usr/local/bin/composer $ chmod +x /usr/local/bin/composer - Set up
laravel$ composer global require laravel/installer - Set up
spark-installer$ git clone https://github.com/laravel/spark-installer.git $ cd spark-installer $ composer install $ composer update - Create a new project
$ PATH=~/.composer/vendor/bin:$PATH ./spark new project-name - Change directory to the new project
$ cd project-name $ php artisan migrate