DEV Community

Cover image for Installing Laravel in Mac (M1)
Emmanuel Morales
Emmanuel Morales

Posted on

5 1

Installing Laravel in Mac (M1)

Pre-Requisites

  • I'll use Homebrew as the package manager.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Enter fullscreen mode Exit fullscreen mode

Installing PHP and componser

  • Install php:
brew install php
Enter fullscreen mode Exit fullscreen mode
  • Install composer:
brew install composer
Enter fullscreen mode Exit fullscreen mode

Creating a running a Laravel project

  • Creating the project:
composer create-project laravel/laravel app-name
Enter fullscreen mode Exit fullscreen mode
  • Running the app project
# Change to the project directory:
cd <app-name>
# Run the server:
php artisan serve
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more