Max100's avatar

Max100 wrote a reply+100 XP

1w ago

That way you can build your own front end for the authentication system, which provides better overall control of the system. Sounds like a good approach!

I have much to learn. :) Thanks again!

Max100's avatar

Max100 wrote a reply+100 XP

1w ago

I definitely agree with your approach, because there's a lot I don't understand in breeze or the starter kit.

But I'm afraid to rely on my limited knowledge to properly implement authentication. Though I don't fully get it and the breeze 'documentation' is sparse, I've been able to use it without too much difficulty.

The problem comes as laravel moves forward. Each release makes it harder to use the old auth system with the new laravel versions.

Thanks again!

Max100's avatar

Max100 wrote a reply+100 XP

1w ago

Thanks for your reply. When I get back to the linux setup, I'll see if I can enable that extension. Hopefully, that'll get me past this issue. Thanks again

Max100's avatar

Max100 wrote a reply+100 XP

1w ago

It's strange that the maintainers of Laravel repositories make it so hard to even let them know about an issue.

I may not know enough to fix an issue and then create a pull request. But wouldn't they like to know there's a problem?

In this case, even if you have the fix, you can't create a pull request.

Max100's avatar

Max100 wrote a reply+100 XP

1w ago

Thanks for your reply. Because I'm new to Linux, I tried adding composer using the software manager in Mint, but it's an older package and may be more limited. When I get brave enough, I'll remove that and just install php and the composer directly on the machine. Then, hopefully, I'll be able to install the starter kit.

I'm also considering just using Breeze and upgrading the installation to Tailwind 4 and DaisyUI 5. I think both breeze and the starter kits use fortify, so maybe that would still be ok. For new Vue/Inertia apps are most people using the starter kits or breeze?

Thanks again!

Max100's avatar

Max100 wrote a reply+100 XP

2w ago

Thanks for your reply. I've been wondering the same thing and may go that route. But I'm so unclear about things Linux, I'm not even sure even what I need to install. There seem to be several docker related packages.

DDEV looks helpful and I installed the docker engine as a requirement. But is that different from docker compose or other docker tools?

Along the way, I've come to appreciate how good Laragon is. It's just a simple install and almost transparent. But Docker is the standard and seems like the way to go for portability, so I'll probably wind up using it. Thanks again!

Max100's avatar

Max100 wrote a reply+100 XP

2w ago

Thanks for your reply! I'll try it out later when I get back, but it looks like that will get things sorted with Breeze/Vue.

The starter kit is another issue altogether. I posted those errors in a message above. I'd probably just stick with breeze, but I also want to keep in step with what Laravel is suggesting.

The new starter kit seems more involved for several reasons and I'd rather not get into shadcn. If necessary, I may have to upgrade the breeze to use tailwind 4 and stay with that.

Linux Mint has been excellent so far! But I'm still learning my way, so sometimes even simple things can seem confusing. :)

Thanks again for your help!

Max100's avatar

Max100 wrote a reply+100 XP

2w ago

Thanks for your reply. The Breeze issue involved Vite not being able to access the site in ddev. I was able to get past that with the help of Gemini, but imranbru's answer below looks better, so I'll try that out.

For the starter kit, I couldn't run the laravel installer inside the ddev container because it had an issue with other files which were already there. So I tried to run it before ddev and then create the container after, but the installer failed with the following errors:

The problem may be because installed composer through the software manager and the package isn't up to date. I may need to install php on the linux machine and then install composer.

Starter-kit-errors-1

Starter-kit-errors-1

Either way, I think I'll have to learn more about ddev and composer containers. :)

Max100's avatar

Max100 started a new conversation+100 XP

2w ago

I'm exploring moving my development from Windows to Linux Mint. I've tried DDEV, which seems pretty good, but I've had some issues with vite on breeze apps and also I couldn't create a new app from a starter kit.

Does anyone have suggestions about using the starter kits with ddev, or laravel development on linux generally?

Max100's avatar

Max100 wrote a reply+100 XP

1mo ago

Thanks, that’s what I thought, but I was a bit confused. Hopefully they’ll fix it soon. Their proofreader needs some more coffee.

Max100's avatar

Max100 wrote a reply+100 XP

1mo ago

You are seeing something different for both examples, so I'm not sure where you got those examples.

Max100's avatar

Max100 started a new conversation+100 XP

1mo ago

I happened to go to laravel.com and noticed the new site. It looks really good, but I was confused by something near the top of the first page. In the Auth example it shows 2 tabs:

Laravel_auth_example1.

Laravel_auth_example2.

The UserController seems wrong, but it's at the top of the front page, so maybe I just don't understand it. Is this code correct or just a typo?

Max100's avatar

Max100 wrote a reply+100 XP

1mo ago

Depending on your needs, DaisyUI may be sufficient. It’s very easy to add popup modals for your forms and other dialogs. It also offers many other ui features which are easy to implement and are tailwind compatible, so modifications are simple.

Max100's avatar

Max100 wrote a reply+100 XP

2mos ago

I don't use React, so I'm not sure about your situation. However, I pass parameters in the Route() method, using named routes. I also use inertia's useForm().

So my call might look something like:

my_form.put( route( 'calls.edit', { 'param1': value1, 'param2': value2 } ) );

Inertia's useForm() is pretty helpful and route() makes the code cleaner. I don't use the method or action attributes in forms anymore. For more info, see the 'Form Helper' section in the docs:

Inertia Forms - Form Helper

Note the Inertia route() is slightly different than the Laravel version, because it passes the params as an object rather than an array.

Also, fwiw, I only use post, put or delete on forms.

Inertia's useForm() makes form handling fairly straightforward for most situations, and you can fall back to axios (included), if it's needed.

HTH,