Laravel on macOS + Apple Silicon

March 16, 2023

Getting Started

  1. Composer install
php composer.phar install
  1. Laravel license
php artisan key:generate
  1. Storage link
php artisan storage:link
  1. Database migrate and seed
php artisan migrate --seed
  1. Run serve
php artisan serve

DB Docker

  1. Install MariaDB image via shell
docker pull mariadb
docker images
REPOSITORY                   TAG                                        IMAGE ID       CREATED         SIZE
mariadb                      latest                                     1ce04e4274d5   2 weeks ago     384MB
docker run IMAGEID


Profile picture

Written by Yerin Hong who lives in London and works in the UK.