Laravel

Setting Up Your First Laravel Project

Install PHP and Composer, create a project, and run it on your own machine.

C Codesakura 1分 コメント0件

目次

Before writing code, let us prepare the tools. You need PHP 8.3 or newer, Composer, and Node.js.

Creating the project

Run this in the folder where you keep your projects:

composer create-project laravel/laravel shop
cd shop
php artisan serve

Setting up the database

Open the .env file, fill in the database name and user, then run the migrations:

php artisan migrate

シリーズの一部

Laravel from Scratch
  1. 1Setting Up Your First Laravel Project
  2. 2Getting to Know Routing and Controllers in Laravel
  3. 3Building a REST API with Laravel from Scratch
共有 X Facebook WhatsApp Telegram

コメント0件

コメントするにはログインしてください。 ログイン

関連チュートリアル

Laravel

Building a REST API with Laravel from Scratch

2分 シリーズ · 第3回(全3回)

Laravel

Getting to Know Routing and Controllers in Laravel

2分 シリーズ · 第2回(全3回)

Laravel

Secure File Uploads in Laravel

2分