Questions tagged [laravel-breeze]

130 questions
1
vote
1 answer

Integrating Laravel Breeze API with NextAuth.js in Next.js v13.4 using AppRouter

I'm seeking guidance on integrating my Laravel Breeze API with my Next.js frontend. While there are examples available for integrating Laravel Breeze API with Next.js using the Page Router for client-side rendering (CSR) and SWR for server-side…
karmendra
  • 2,206
  • 8
  • 31
  • 49
1
vote
0 answers

Laravel Breeze without Inertia

I working on laravel 10 project and I want install authentication starter kit but php artisan breeze:install vue install also inertia How I can install Laravel Breeze without installing inertia ?
1
vote
1 answer

Laravel 10 Breeze - Throw custom flash message if user is not active

What I am trying to do is throw a custom error message if the user is not active. This is the method: public function authenticate(): void { $this->ensureIsNotRateLimited(); if (! Auth::attempt($this->only('email', 'password') +…
1
vote
1 answer

Target class [guest] does not exist

After downgrading my laravel version and i had to also downgraded laravel breeze version, but my login and register route gives an error which says Target class [guest] does not exist. But in my protected $middlewareAliases I have a guest there but…
Uzel
  • 21
  • 4
1
vote
0 answers

Laravel Breeze & Vite

I installed Laravel Breeze but got this error : htmlspecialchars(): Argument #1 ($string) must be of type string, array given I suspect that I did something wrong with vite.php file but I don't know how to fix this problem. I have reinstalled…
1
vote
1 answer

Laravel Breeze routes overlapping

I'm getting this error suddenly when trying to use anything to do with Breeze, like login and view account. Declaration of App\Http\Controllers\ProfileController::update(App\Http\Requests\ProfileUpdateRequest $request):…
codemwcode
  • 13
  • 2
1
vote
1 answer

Laravel 10 + Sail + Breeze: Tailwind missing classes

In a brand new Laravel 10 project, based on the Breeze blade starter theme, I simply try to change the text color on the welcome screen, but it does not work. I replace in welcome.blade.phpat one of the paragraphs text-gray-500 with text-blue-500,…
Stiegi
  • 1,074
  • 11
  • 22
1
vote
2 answers

disable login from inactive user using Laravel Breeze

I want to disable inactive user from login, and logout the user if already logged in, using breeze pack: breeze pack i"m having a boolean column: "active" in users table. i understand that i should edit app\Http\Requests\Auth\LoginRequest.php i…
David Gabbay
  • 107
  • 8
1
vote
2 answers

Laravel React profile picture upload

I want upload profile picture in laravel using reactjs . but this not work an I have Error. my code: Route: Route::post('/profile', [ProfileController::class, 'update'])->name('profile.update'); ProfileUpdateRequest: public function rules() …
1
vote
0 answers

First time install of Laravel with Breeze inside Homestead - npm symlink issue with acorn

I'm still new to Laravel and Homestead but have been working through all the Laracast tutorials with no problems in the past couple of weeks. Now we've come to starting a brand new project using laravel/breeze instead of doing all the authentication…
Ben
  • 311
  • 1
  • 2
  • 12
1
vote
0 answers

Laravel 9 with breeze & react, Auth::check() always returning false

I installed Laravel 9 with breeze and react. In the react page, I call this api and it needs to check the user is logged in. Wishbox.jsx axios .post("/api/add/wishlist", { prd_no: event.target.getAttribute("productno"), mem_id: 1, …
Jiwon
  • 366
  • 2
  • 17
1
vote
1 answer

Laravel9 usinglaravel-breeze with react, adding a new jsx not working at all

I am trying to use Laravel9 with Reactjs using laravel-breeze. I made a new jsx file named Testpage.jsx only to check it work but Laravel keep gives me 404 not found page. This is the link part in a Welcome.jsx page.
Jiwon
  • 366
  • 2
  • 17
1
vote
1 answer

How do I write a vue popup modal for a login / register component

What I am trying to design is a new Login / Register modal for using with the standard Vue Login & Register scaffolding that comes with Laravel Breeze. Exactly what I am trying to achieve is this: Login / Register Button -> Clicked and a modal…
Cam
  • 43
  • 10
1
vote
1 answer

Laravel 9 with breeze, how to make login user from external JavaScript?

I am trying to build API for login into my Laravel site from an external JavaScript. I used Breeze starter kit for Authentication. In the JavaScript, first it calls an API for getting login_token, then make a request to login with the token. (Yes, I…
Jiwon
  • 366
  • 2
  • 17
1
vote
1 answer

How with breeze to make feature test for forgot-password?

In laravel 9, breeze 1.11 app I want to make feature test for forgot-password functionality and in routes I found : GET|HEAD In laravel 9, breeze 1.11 app I want to make feature test for forgot-password functionality and in routes I found…
mstdmstd
  • 2,195
  • 17
  • 63
  • 140
1
2
3
8 9