Solution for Laravel on new Macbook M1 hello and a happy new year.
i got a new macbook with m1 cpu.
can you tell me the best solution for work on it with laravel ?
Probably a Docker based solution. Either
Let us know how you get on, I've been itching to buy one
does composer using terminal not working on it?
I havent looked into docker... why exactly do we need it?
thanks...
I tried to install Sail, but the mysql version is not for the M1, I got these message...
Pulling mysql (mysql:8.0)...
8.0: Pulling from library/mysql
ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
This was a contemporaneous documentation by Matt Stauffer whenever he got his M1 mac mini back in November
https://laravelm1.tighten.co/
I don't know how current it is...
just starting using M1 to dev the laravel
stuck from beginning, can't install the composer
Adding platform: linux/x86_64 to your mysql service in docker-compose.yml will have you on your way, e.g.:
mysql:
platform: linux/x86_64
image: 'mysql:8.0'
This worked! After wasting a half-day trying to set up mariaDB, this was an instant solution. Thanks!
Please sign in or create an account to participate in this conversation.