Skip to main content
3 votes
1 answer
39 views

My application uses Laravel Livewire with Alpine.js/SortableJS for drag-and-drop reordering of tasks between status columns. The tasks have a status (string) and a position (integer) in the database. ...
Christina Browne's user avatar
0 votes
1 answer
103 views

I’m building a job board project in Laravel, and I’m trying to establish a one-to-one relationship between User and Employer. However, my database table is not being generated correctly — the columns ...
Izedin Abaoli's user avatar
0 votes
0 answers
59 views

I’m working with Stripe subscriptions and customer balances (credits). By default, when a customer has credits in Stripe, Stripe automatically applies those credits toward the next invoice or ...
Rosh's user avatar
  • 491
0 votes
1 answer
94 views

I have a Laravel application originally developed in Laravel 10, but I have since upgraded the application to Laravel 12. One of the changes starting in Laravel 11 is that custom service providers are ...
Phil Birnie's user avatar
  • 1,134
0 votes
0 answers
61 views

In Laravel 11, Eloquent introduced HasScopedValues to define scoped values for model attributes somewhat like $casts. I’m unclear how it differs from $casts can it transform values like casts or is it ...
S. Narthanan's user avatar
2 votes
0 answers
59 views

Recently after some research I came up with a question: how to handle default / initial data population in a Laravel project which goes live: should it go into seeders or migrations? I've seen two ...
Dmytro Shved's user avatar
3 votes
0 answers
265 views

I'm using Laravel's database notifications. When a user clicks on a notification, it first redirects to a controller that sets some session data, then redirects again to the final URL. However, on the ...
Gzai Kun's user avatar
  • 300
0 votes
0 answers
68 views

i am getting problem of getting unauthenticated in the phonepe refund api. also i am using that token in the payment time it's working fine. $data = $this->getAuthKey(); $payment = Payment::...
ravi upara's user avatar
1 vote
1 answer
82 views

Laravel accessor not working after I upgraded from v8.75 to v11.31 I had this LARAVEL v8.75 App where in the User model I created an Accessor for photo like below public function getPhotoAttribute($...
Flying Eze's user avatar
0 votes
1 answer
180 views

I'm encountering an issue where Laravel events are firing multiple times, but only in the production environment. Environment: Laravel: 11.x PHP: 8.3 Web Server: Nginx Hosting: Azure App Services ...
Shaheed konnola's user avatar
-1 votes
1 answer
800 views

i have created a middleware public function handle(Request $request, Closure $next) { if (!auth()->check() || auth()->user()->role !== 'admin') { abort(403, '...
Faris Eka's user avatar
0 votes
0 answers
37 views

I have a Livewire Component Import.php: <?php namespace Modules\Donor\app\Livewire\Modals; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Notification; use Illuminate\Support\...
Michael Burton's user avatar
1 vote
2 answers
99 views

I have made a middleware for admin routes public function handle(Request $request, Closure $next) { if (!auth()->check() || !auth()->user()->is_admin) { abort(401); } ...
Mohsen's user avatar
  • 302
0 votes
4 answers
278 views

So due to the fact that product quantities are not limited to integers but can store decimals up to 4 digits, I can have a product with quantity of 69.4160 square meters of something. Now assuming the ...
Matt Komarnicki's user avatar
0 votes
1 answer
44 views

I have a Laravel scheduler configured to run every 6 hours. Based on the schedule, it should have already executed, but I don’t see any expected results or changes from it. I also added a logger() ...
fyz 08's user avatar
  • 59

15 30 50 per page
1
2 3 4 5
35