Laravel Development on MacOS: A Beginner's Guide

Fikky ArdiantoFikky Ardianto
1 min read

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!

0
Subscribe to my newsletter

Read articles from Fikky Ardianto directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Fikky Ardianto
Fikky Ardianto

Software Engineer and Mentor!