Image

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

vincent15000's avatar

vincent15000 liked a comment+100 XP

9h ago

vincent15000's avatar

vincent15000 wrote a reply+100 XP

10h ago

Laravel new with older version ?

@max100 @gpapamichelakis

You can also install a fresh Laravel application without any starterkit and install VueJS separately, with ou without InertiaJS.

How long does it take ? About 30 minutes.

Sure with the starterkit you have the authentication implemented, so you need 1 hour more to add Fortify and create the different views.

vincent15000's avatar

vincent15000 liked a comment+100 XP

10h ago

Laravel new with older version ?

I think OP wanted a starter kit for Laravel 12, but I don't know if you can do that with the Laravel installer. So adding Breeze separately could be a workaround.

vincent15000's avatar

vincent15000 wrote a reply+100 XP

1d ago

Laravel new with older version ?

For Laravel 12, why installing Breeze instead of Fortify ?

And why not Laravel 13 ? As already mentioned, and also mentioned in all security articles, you should always use the latest version of your technologies.

vincent15000's avatar

vincent15000 liked a comment+100 XP

1d ago

Laravel new with older version ?

Fwiw, if you install version 12 with composer, you can then install Breeze which, if you chose the correct option, will install vue, inertia and ziggy. Just follow the instructions in the earlier docs (maybe back to v.11).

If you just want to avoid the latest starter kit, I have one without the new starter kit features (shadcn and wayfinder). It uses fortify, laravel 13, inertia and vue with ziggy and daisyui instead of wayfinder and shadcn. But that won't help if you need Laravel 12.

For Laravel 12, try installing Breeze.

vincent15000's avatar

vincent15000 liked a comment+100 XP

1d ago

Laravel From Scratch 2026 source code

Thats one of optimistic person haha

vincent15000's avatar

vincent15000 wrote a reply+100 XP

1d ago

Laravel From Scratch 2026 source code

@glukinho

That has no sense to have a repository locally on the same computer because if you have a problem with your computer, you loose all your work.

vincent15000's avatar

vincent15000 liked a comment+100 XP

1d ago

Laravel From Scratch 2026 source code

@vincent15000

...unless a repository is placed on the same computer locally :)

vincent15000's avatar

vincent15000 wrote a reply+100 XP

2d ago

Laravel From Scratch 2026 source code

You don't have any repository to put you code on ? Gitlab ? Github ?

In each project, no matter if it's a personal project, a project for a client or when I'm training, I always version my code and put it on a repository.

If I have any problem with my computer, all my code is on the repository.

vincent15000's avatar

vincent15000 liked a comment+100 XP

2d ago

Laravel From Scratch 2026 source code

Thanks! I should have made that clearer in my post, I wasn't looking to skip the work. My MacBook suffered an unexpected hardware failure and I lost everything, so I'm just trying to pick up where I left off. If the repository isn't publicly available, no worries, I'll figure something out!

vincent15000's avatar

vincent15000 wrote a reply+100 XP

2d ago

Laravel new with older version ?

All Laravel versions are compatible with Ziggy.

The installation of Ziggy is simply not so detailed and is sometimes difficult to install and integrate into your application.

vincent15000's avatar

vincent15000 liked a comment+100 XP

2d ago

Laravel new with older version ?

@martinbean Ok I tried to follow some info based on 12 to do something , I think it was ziggyvue only to find out that in 13, the installation instructions were not the same as some files changed . I get it , new versions of laravel are more secure etc but then it's frustrating trying to fish out what you need to change each time to make it work from one version to another , OK if I was in 8, but 12 to 13 ?

vincent15000's avatar

vincent15000 wrote a reply+100 XP

3d ago

Invite to upgrade the Laravel installer while creating a new Laravel application

I'm not using Laravel Herd.

I will try to uninstall and reinstall the installer tomorrow.

vincent15000's avatar

vincent15000 liked a comment+100 XP

3d ago

Invite to upgrade the Laravel installer while creating a new Laravel application

@vincent15000 if you are using Laravel Herd, then you need to update the Laravel installer from the PHP settings

vincent15000's avatar

vincent15000 liked a comment+100 XP

3d ago

Invite to upgrade the Laravel installer while creating a new Laravel application

Installer does some additional tuning for new app, such as disabling Pail on Windows installation. Since it's recommended and documented way to install Laravel it should work.

vincent15000's avatar

vincent15000 liked a comment+100 XP

3d ago

Invite to upgrade the Laravel installer while creating a new Laravel application

Why use the laravel/installer?

I just use composer:

composer create-project laravel/laravel ProjectName.
vincent15000's avatar

vincent15000 liked a comment+100 XP

3d ago

Invite to upgrade the Laravel installer while creating a new Laravel application

Did you try to uninstall / install laravel installer instead of updating?

vincent15000's avatar

vincent15000 liked a comment+100 XP

3d ago

Invite to upgrade the Laravel installer while creating a new Laravel application

If it offers an update but doesn't work then there has to be an issue with the updater code.

That's my guess. Are there any issues on this already on Github?

Edit:

Found this: https://github.com/laravel/installer/issues/510

vincent15000's avatar

vincent15000 liked a comment+100 XP

6d ago

Audio and Video group calls in laravel

To implement audio and video group calls in a Laravel application, you can leverage third-party APIs that specialize in real-time communication (RTC). MirrorFly is a popular communication API provider that offers features like audio/video calls, chat, and group calls. It’s a great choice if you want to integrate real-time communication features into your Laravel application without writing a lot of custom code.

vincent15000's avatar

vincent15000 wrote a reply+100 XP

6d ago

Invite to upgrade the Laravel installer while creating a new Laravel application

I don't need that you copy / paste an AI response, I already asked some AIs for this problem ;).

vincent15000's avatar

vincent15000 liked a comment+100 XP

6d ago

Invite to upgrade the Laravel installer while creating a new Laravel application

This usually happens because the globally installed Laravel installer version is outdated.

You can upgrade it with:

composer global update laravel/installer

Or reinstall it completely:

composer global remove laravel/installer composer global require laravel/installer

After updating, verify the version:

laravel --version

Also make sure your Composer global bin directory is added to your system PATH.

For newer Laravel versions, you can alternatively create projects directly using Composer:

composer create-project laravel/laravel example-app

That method always pulls the latest Laravel release and avoids installer version mismatch issues.

vincent15000's avatar

vincent15000 liked a comment+100 XP

6d ago

vincent15000's avatar

vincent15000 liked a comment+100 XP

6d ago

Can I code a web application from these cloud frameworks? Google AWS Microsoft

So if I decide to follow the aws well-architected best practices and I can use the EC2 server that the aws well-architected step told me to setup then I will be able to deploy my Laravel/Nextjs to the EC2 server through SSH or through Github Actions?

vincent15000's avatar

vincent15000 liked a comment+100 XP

6d ago

Can I code a web application from these cloud frameworks? Google AWS Microsoft

The aws well-architected framework is just things you do and check concerning your app. Sort of a check list. But yes you can use AWS to deploy to (host) the app.

vincent15000's avatar

vincent15000 liked a comment+100 XP

6d ago

Can I code a web application from these cloud frameworks? Google AWS Microsoft

Yeah I know that. But I was wondering if I wanted to deploy on AWS. Could I use the aws well-architected framework to deploy a web application using Laravel?

vincent15000's avatar

vincent15000 liked a comment+100 XP

6d ago

Can I code a web application from these cloud frameworks? Google AWS Microsoft

Follow what @tray2 mentioned and follow laravel conventions. Namely MVC.

cloud architecture and virtual infrastructure

Companies like throwing fancy names on things like "cloud".

It boils down to:

You have code on a server that runs. Cloud is a fancy name for a server.

vincent15000's avatar

vincent15000 liked a comment+100 XP

6d ago

Can I code a web application from these cloud frameworks? Google AWS Microsoft

And if I use this also correct? -> https://aws.amazon.com/architecture/well-architected/ This will be the cloud architecture and virtual infrastructure?

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Laravel new with older version ?

@gpapamichelakis Why? You should always be using the most recent version of software.

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Can I code a web application from these cloud frameworks? Google AWS Microsoft

Yes, you can develop a blog with laravel, you can basically create any kind of web application with it.

Start here https://laracasts.com/series/laravel-from-scratch-2026

vincent15000's avatar

vincent15000 wrote a reply+100 XP

1w ago

Invite to upgrade the Laravel installer while creating a new Laravel application

And here is what I get when I upgrade manually the Laravel installer.

vincent@columbo:~/Documents/PRO/DEV$ composer global update laravel/installer
Changed current directory to /home/vincent/.config/composer
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package composer-unused/composer-unused-plugin is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
32 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.

I specify that I have upgrade composer to the last version.

vincent15000's avatar

vincent15000 started a new conversation+100 XP

1w ago

Invite to upgrade the Laravel installer while creating a new Laravel application

Hello,

When I create a new Laravel application, I have this invite.

 WARN  A new version of the Laravel installer is available. You have version 5.25.3 installed, the latest version is 5.28.1.

 ┌ Would you like to update now? ───────────────────────────────┐
 │ ● Yes / ○ No                                                 │

I choose Yes, but I get the same invite continuously.

So the upgrade is never done.

Why ?

Thanks for your help.

V

vincent15000's avatar

vincent15000 wrote a reply+100 XP

1w ago

Laravel From Scratch 2026 source code

I don't know if this repository is free access, but you should simply follow the series from the beginning and write the code.

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Laravel From Scratch 2026 source code

I was working through Laravel From Scratch 2026 when my MacBook unexpectedly stopped working and I lost all my progress. I know I should have been committing regularly, lesson learned, but I didn't expect a 2025 MacBook Pro to just die out of nowhere.

Does anyone know where I can find the source code for the projects covered in the course? I've checked existing forum posts and comments but haven't been able to track it down.

Thanks in advance!

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Laravel From Scratch 2026 source code

Solution:

The source code for the "Laravel From Scratch" series is typically provided by Laracasts on their official GitHub repository. For the most recent versions, including the 2026 edition (or whichever is the latest, e.g., 2021/2023), you can find the code here:

https://github.com/laracasts/laravel-from-scratch

If the 2026 branch or tag is not available yet, you can use the master branch or check the branches/tags list for the closest year-version. The repository often contains example code for each lesson as separate branches or folders.

How to use:

  1. Visit the GitHub link above.
  2. Click on the "Code" button to clone or download the repository.
  3. Check the "branches" or "tags" dropdown to find versions matching the course lesson or year you are following.

If you can't find the 2026 code specifically, it's possible it has not been pushed yet, or the course uses the most recent available code. You can also ask in the Laracasts forum or in the comments under the course for any updated links.

Quick command to clone:

git clone https://github.com/laracasts/laravel-from-scratch.git

Let me know if you need help running the code or finding a specific lesson!

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Laravel From Scratch 2026 source code

This repository doesn't exist Lary

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Laravel new with older version ?

will have outdated Laravel 12 and packages

So what? Not all apps are required to be up to date and not all are even publicly accessed. Sometimes it's more important to have running app right now rather than playing with forking someone's packages.

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Laravel new with older version ?

You then find another maintained package that works with Laravel13, or you fork the old package and make it work with Laravel13.

In any event, you eventually will have outdated Laravel 12 and packages in the future, actually now if that is the route you take.

Better off future proofing now, not later.

You have 2 months of active support today with Laravel 12.

vincent15000's avatar

vincent15000 wrote a reply+100 XP

1w ago

Laravel new with older version ?

This can effectively be a good reason ;).

But I prefer in this case choose the last version of Laravel and find another package for the specific functionality.

I already did like this.

I did an upgrade of an application for a client. And a package I used wasn't compatible with the latest version of Laravel. I have removed the uncompatible package and I have written the code to have the same functionality.

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Laravel new with older version ?

What if you need a package which is not tuned for Laravel 13 yet? Then you have to use 12 or even older versions.

vincent15000's avatar

vincent15000 wrote a reply+100 XP

1w ago

Laravel new with older version ?

If you create a new application, you depend on the new packages, so where is the problem ? There isn't any problem ;).

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Laravel new with older version ?

Packages dependency issues probably.

vincent15000's avatar

vincent15000 wrote a reply+100 XP

1w ago

Laravel new with older version ?

Hmmm ... why would you need to create a new application with an older version ?

Due to security reasons, the last version is more secure that the older ones.

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w 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 ?

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Minecraft on AWS server or another server

Late to the party, but AWS usually charges for the time the server is running, not just when someone is playing on it. You can stop the instance to avoid paying, though storage costs may still run in the background. Have you also looked at cheaper hosts made for Minecraft? They often end up simpler and more predictable.

vincent15000's avatar

vincent15000 wrote a reply+100 XP

1w ago

Food for thought

You should apply the SOLID principle, this will answer your question.

Due to AI you don't have written any line of code : this is an interesting information. Now you discover the limits of AI and you need to know some best practices that AI doesn't apply ;).

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Food for thought

Model View ViewModel (MVVM).

No controllers, that is moved into the ViewModel, and is the glue that holds together the Model and View.

Business logic stays in the Model itself.

To answer your question, No a Controller is not needed. Good architecture is.

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago

Food for thought

Conventions like MVC exist because they are the most practical approach for most projects.

Of course this can be overly structured for very simple sites, and not structured enough for much larger projects.

Yes, you could write data straight from the request to the model, this might work for simple forms, but what when the request involves MULTIPLE models? What if you need to run business logic on the data; where would you put that?

You can write php any way you like, but if you write a decent amount you will wish you had been more careful about the way it was built in the first place.

vincent15000's avatar

vincent15000 liked a comment+100 XP

1w ago