Lesson list · Lesson 2 of 5

Getting Started · Lesson 2 of 5

Installing Laravel

Create a new project with Composer and run it on your own machine.

1 min Video 0 comments

Open on YouTube

Contents

We will create a project called blog and open it in the browser.

Create the project

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

Open http://127.0.0.1:8000. If you see the Laravel welcome page, everything works.

Folders worth knowing

  • routes/: the URLs your app answers
  • app/: controllers and models
  • resources/views/: your pages

Discussion

Log in to join the conversation. Log in

R

Rizky A. on the class page

Is this class enough to start building my own project?

C

Codesakura Author

Yes. After the last chapter you can build a simple CRUD app on your own.