Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gpapamichelakis's avatar

gpapamichelakis liked a comment+100 XP

6h ago

Laravel new with older version ?

Certainly! Here’s a solution to your question:


If you want to create a new Laravel project with an older version (e.g., version 12), you don't have to use the Laravel Installer. Instead, you can use Composer and specify the desired version.

To create a new Laravel 12 project:

composer create-project laravel/laravel="12.*" project-name

Replace project-name with your desired folder name.


About installing the Vue starter kit:

You can add a starter kit (like Breeze or Jetstream) to your newly created Laravel 12 project via Composer. For example, for Laravel Breeze with Vue support:

  1. Require the starter kit:
composer require laravel/breeze --dev
  1. Install Breeze with the Vue stack:
php artisan breeze:install vue
  1. Install NPM dependencies and build:
npm install
npm run dev

Note:
You can add starter kits to an existing Laravel install as long as the version requirements match. Most starter kits are versions matched to Laravel, so check the documentation for the correct version of the starter kit if you run into any problems.


Summary

  • Use composer create-project to start a new Laravel project at the desired version.
  • Use Composer to install and configure starter kits after the project is created.

Let me know if you run into any issues or need more specific guidance!

gpapamichelakis's avatar

gpapamichelakis started a new conversation+100 XP

7h ago

Laravel new with older version ?

Hey guys , I just realized that with the laravel installer is impossible to make a new project with the previous version ? ( I want to make a new project with version 12 with vue starter kit ) and is also impossible to add a starter kit to a existing composer installed 12 project ? Anyone has an idea if that is doable ?