Laravel Development on MacOS: A Beginner's Guide

Hi peeps!

Today I'm gonna share my experience about laravel.

If did'nt have php or apache in your local machine, you can easely setup laravel environment by using https://herd.laravel.com/.

After installed, now let's create laravel project.

Open your terminal.

composer create-project laravel/laravel project-name

To run the project.

php artisan serve

If you clone laravel project from github.

First must generate key.

php artisan key:generate

If you want to run on different port, you can do this.

php artisan serve --port 8081

That's it!