Questions tagged [laravel-breeze]

130 questions
0
votes
0 answers

How to get filename of Laravel SESSION data when using using 'file' driver

I've got a basic, default install of Laravel with Breeze running. I want to be able to load the session data from a PHP script that is not running Laravel. I'm using the 'file' SESSION_DRIVER. I can see the session files in framework sessions. For…
Al_
  • 2,479
  • 7
  • 29
  • 43
0
votes
0 answers

Can't get data using laravel breeze ECONNREFUSED ::1:8000

I got a Laravel API with a NextJS frontend, the project is running perfectly well on my Windows computer using WSL. But I can't make it work on my MacBook Pro. I tried to use Laravel valet using http://backend.test, and I can't log in, I got the…
F. Vandroy
  • 122
  • 2
  • 15
0
votes
0 answers

How to call @role('admin') inside the HTML in Laravel Breeze React with Spatie/laravel-permissions

I want to create a admin dashboard with Laravel Breeze (React) and using the Spatie/laravel-permissions, I created a new project with Laravel Breeze (React) and install the Spatie/laravel-permissions. I also assigned the role to the current user in…
0
votes
2 answers

Laravel: Error in installing laravel breeze

i tried to install laravel breeze but it gave me this error: Your requirements could not be resolved to an installable set of packages. Problem 1 - laravel/breeze[v1.19.0, ..., v1.19.2] conflict with laravel/framework <9.37.0. -…
adam adam
  • 3
  • 1
0
votes
2 answers

What is the --dev option when installing Laravel Breeze (or any other package)?

I haven't found any description about what the --dev option does when running this command: composer require laravel/breeze --dev Does anybody know? Or where to look? Is it package specific, or Breeze-specific? Tried the documentation, googling,…
Vörös Imi
  • 319
  • 4
  • 9
0
votes
0 answers

Looping on login page breeze laravel 8

I have 2 login page, which one for admin and another one for user, i have to seperate login page for security reason. The first login page (default breeze login page) are working. the second one too are working but its doing looping on login page…
0
votes
0 answers

Laravel 9 Breeze Install: "Your requirements could not be resolved to an installable set of packages."

I want to install Laravel Breeze in my project but I got an error like this Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires laravel/breeze ^1.20 -> satisfiable by…
0
votes
0 answers

How to solve lodash error on bootstrap.js in laravel breeze?

I just create a new laravel application. Then I choose laravel breeze for my authentication. After some changes, my app can login. In dashboard, I can't click the profile menu from navbar on the right side. Then I check the console. In console,…
0
votes
1 answer

What are the main differences between Inertia's useForm() and axios requests?

I know Inertia useForm() rerenders the components after successfull form submission. And, in the Inertia docs it says it "very similar to handling classic HTML form submissions". I am building an SPA with Laravel10-breeze-vue, and I need to know…
Mel
  • 858
  • 8
  • 15
0
votes
0 answers

Unable to locate a class or view for component when change the components folder path from views/com.. to views/admin/com.. of Laravel using breeze

getting the error Unable to locate a class or view for component [auth-session-status] I want to change the folder path of the components and layout to under the admin folder {{ __('Log in')…
Pankss
  • 29
  • 5
0
votes
1 answer

Laravel 10 - Breeze, React, Inertia - 419 error on initial install

Really not sure what to do here, I have set up a fresh Laravel 10.0.3 application, installed Laravel Breeze and selected React and no to SSR. I have migrated my DB and setup my .env, basically if I use php artisan serve the Inertia response works…
m33bo
  • 1,334
  • 1
  • 17
  • 34
0
votes
0 answers

Laravel Breeze Nextjs adding a loading button spinner seems to stop after the first call

I have created a loading spinner in a button whenever my NextJS project calls the API, the app calls and gets a CSRF token first and then calls again to post data to the login route. When i add the button spinner and create a loading state, it seems…
CodeSauce
  • 255
  • 3
  • 19
  • 39
0
votes
1 answer

Creating a layout file in Laravel, Vue, Inertia Js

I'm new to Vue and Inertia Js, so far I understand that in Inertia, u can call Vue components with layouts, like navbar and sidebar etc. but what I'm trying to achieve is to create a layout of the whole app, that consists of multiple vue files for…
user21099803
0
votes
0 answers

adding middleware in Next js with laravel breeze API

I have a la laravel breeze api app i just created, then associated a next.js app as frontend. I am trying to spscify a middleware from laravel into next.js pages but i am not sure how it works. documentation is not clear either. Read the…
0
votes
0 answers

Laravel. Undefined variable in Breeze view

I have this logic: Controller -> Breeze( dashboard.blade -> layout.app.blade) in controller: return view('dashboard', ['user'=>$user]); In dashboard.blade: I see {{ $user }}. All is ok In layout.app.blade: I can't see {{ $user }} Undefined…
1 2 3
8 9