Tools

Start here

Machine checks from the requirements article, then the commands in the order the setup guide runs them. The guide does not pass flags to laravel new. Answer the installer.

Machine checks from the requirements article, then the commands in the order the setup guide runs them. The guide does not pass flags to laravel new. Answer the installer.

CheckCommandPass
PHPphp -vPHP 8.3 to 8.5. Laravel 13 was released on March 17, 2026. Source
Composercomposer -VComposer 2. Source
Extensionsphp -mCtype, cURL, DOM, Fileinfo, Filter, Hash, Mbstring, OpenSSL, PCRE, PDO, Session, Tokenizer, and XML. Source
Node.jsnode -vv20.19+ or v22.12+. Node 24 LTS is included. Source
npmnpm -vThe article does not pin an npm version. npm, pnpm, or Bun are named. Source

New apps use SQLite. MySQL, MariaDB, PostgreSQL, and SQL Server are supported for production. Herd, php.new, or Sail can install the PHP side. Vue 3.5, Vite 8, and Inertia 3 are the front-end versions that article names. Vue 3.6 Vapor mode was a release candidate as of October 2026, not the default.

StepCommandRule
1composer global require laravel/installerComposer's global bin directory must be on PATH so the laravel command is available. Source
2laravel new blogAnswer yes to a starter kit (the default is no), then Vue (the default stack is React), then Laravel's built-in authentication. Teams is no unless you want them. Pest is installed unless you pass --phpunit. The installer then installs Composer and npm dependencies, creates a SQLite database, and runs the first migrations. The Vue kit includes Inertia 3, Vue 3, TypeScript, Tailwind CSS 4, and shadcn-vue. Source
3cd blogRun the rest of these commands from the new app. Source
4composer run devStarts the PHP server, the queue worker, the log viewer, and Vite. The app is at http://localhost:8000. Log in and Register work. Source
5php artisan make:model Post -mfsAlso creates the migration, factory, and seeder. Fill those in before the next command. The migration has title, a unique slug, excerpt, and a nullable published_at. Source
6php artisan migrateRun this after the migration file is filled in. Source
7php artisan db:seed --class=PostSeederThe seeder creates 12 posts from the factory. Source
8php artisan make:controller PostControllerThen render posts/Index with Inertia and add GET /posts named posts.index in routes/web.php. The guide adds no API route for this list. The Vue page is resources/js/pages/posts/Index.vue. Source
9Open in the browserAfter that page exists, open http://localhost:8000/posts. Vite reloads as you edit. Laravel serves the data. Source
10php artisan testAfter tests/Feature/PostsTest.php exists. Pest. assertInertia checks the component posts/Index. Source
11npm run buildProduction front-end build. Source
12npm run build:ssrnpm run dev already server-renders. Build the SSR bundle with this command when you deploy. Source

Do not start a new app with composer require laravel/framework. Use laravel new blog and answer the installer. Tailwind CSS 4 and shadcn-vue ship with the Vue starter kit and are not in the download chart. The lines to paste are in the samples.

Requirements articleSetup guideMarkdown for assistants