Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
254 views

How do I fix the standard behavior of laravel sanctum. I use sanctum for a SPA application. I'm only interested in the backend component of the framework, without the blade pages. Route::get('/...
anim3x's user avatar
  • 21
-3 votes
1 answer
139 views

When running npm run dev that works but when I stop the npm run dev and run the npm run build then go to the web site, I get the error message: Illuminate\Foundation\ViteManifestNotFoundException: ...
黃梓榆's user avatar
0 votes
0 answers
51 views

I'm following the Spatie instructions on extending their HTML class to make a component. So far so good: return Label::create()->addChildren([ Span::create()->class('input-container')->...
user28092827's user avatar
0 votes
1 answer
87 views

for security reasons I have to store my DB credentials on AWS secret manager so, for this I use the app\Providers\AppServiceProvider.php to connect to aws service with this code use GuzzleHttp\Client;...
Mike's user avatar
  • 107
1 vote
0 answers
86 views

I have a logo.svg in my public/images directory and want to use that as the new logo for my Laravel nova dashboard. config/nova.php 'brand' => [ 'logo' => public_path('images/logo.svg'), ], ...
Sidney Sousa's user avatar
  • 3,644
0 votes
0 answers
74 views

I’m using Livewire 3.6.3 with a chart (ApexCharts). On my Livewire component I dispatch an event: $this->dispatch('update-chart', $this->report['chart_data']); And in JS I listen to it: ...
Adam's user avatar
  • 29.6k
3 votes
2 answers
145 views

I want to import a file and rows can have background colors. So when a background color is found, then a validation needs to happen. But when I try to import it with the background colors and try to ...
Milan's user avatar
  • 41
1 vote
2 answers
131 views

Im trying to build a login and create user with CSRF Tokens and it wont run i tried for 3 days now and it wont work because of CSRF token mismatch. i think im missing something small or idk if its a ...
ChichiKugel's user avatar
0 votes
1 answer
104 views

I'm using a creating Eloquent model observer to automatically generate a slug before inserting a new product into the database. Here’s the code from my ProductObserver: public function creating(...
Somar kn's user avatar
  • 143
0 votes
0 answers
52 views

I have the following data model(equipment rental): order(id,client_id,status), equipment(id, title, rental_price, status, category_id). equipment_unit(id, equipment_id, code) order_items(order_id, ...
Serhiy Lytvyn's user avatar
1 vote
0 answers
117 views

I’m working on the laravel 12, on forgot-password functionality. In the forgot-password page, there is only an email field. When a user submits their email, an SMTP email is sent with a reset link. ...
Gayatri's user avatar
  • 11
0 votes
0 answers
37 views

I’m using Livewire PowerGrid and want to show only the current user’s records on initial load, but allow filtering by user name. Datasource: public function datasource(): Builder { return Worklog::...
Regolith's user avatar
  • 2,978
0 votes
2 answers
121 views

I am using the new Laravel 12 React Starter Kit. I have a table that displays customers, at the end of each row i have a button for resending email, but im getting some type error that i dont really ...
BigJobbies's user avatar
  • 4,095
0 votes
1 answer
67 views

I’m using Laravel 8 with Redis and laravel-echo-server to broadcast events to my frontend. The WebSocket connection is successful (status 200), but the broadcasted event from Laravel never shows up in ...
bunga shafa's user avatar
0 votes
1 answer
54 views

I am working on a shopping cart with laravel 10 and I am using hardevine/shoppingcart for it. When doing the checkout the error Class "Gloudemans\Shoppingcart\Facades\Cart" not found ...
Kenlymar Paredes's user avatar
2 votes
0 answers
154 views

I am using https://tenancyforlaravel.com/ on a fresh Laravel 12 application. I am having an issue with the users. I want all my users to reside in the central database only and not inside individual ...
codenathan's user avatar
2 votes
1 answer
78 views

I'm working on a Laravel project using Laradock. I do not have PHP installed locally. How can I get IntelliSense for PHP and Laravel to work in VSCode while using Laradock?
0p3r4t0r's user avatar
  • 735
0 votes
1 answer
40 views

I can't understand what happened, it all worked before. I have a model: class MyModel extends Model { protected $table = 'table1'; use HasFactory; public function rel() { return ...
Maya's user avatar
  • 1
1 vote
1 answer
97 views

I have an old Laravel application that I work on (believe it was initialised back on Laravel 4), and for years I've never been able to get tinker to automatically resolve namespaces for classes like ...
Orchis's user avatar
  • 593
1 vote
0 answers
151 views

I am trying to use Pusher as my broadcast driver by setting BROADCAST_CONNECTION=pusher in my .env file which is used as the default in my broadcasting.php file. However, whenever I go to print out ...
TygerSport's user avatar
0 votes
2 answers
72 views

After I upgraded from Laravel 10 to Laravel 11 using Laravel shift tool I noticed a change using route(routeName) in my Vue3 templates. Example: <template> <div> {{ route('...
A.W.'s user avatar
  • 3,055
0 votes
2 answers
87 views

I am trying to get the top of users and order them by popularity of their recipes The popularity of a recipe is determined by the number of: likes dislikes (likes and dislikes are stored in ...
Dmytro Shved's user avatar
1 vote
1 answer
71 views

I’m building a Laravel project that uses a WebSocket server with Ratchet and ZeroMQ (ZMQ) for broadcasting events. In my local environment, the setup looks like this: // App\Console\Commands\...
Stevani Putri's user avatar
0 votes
0 answers
71 views

My translations on InertiaJS/React with i18next rerender when page fully loads, which ruins both SEO and animations. when page is initializing, first it loads the en language (even when I change the ...
IranMine123's user avatar
1 vote
0 answers
81 views

We are using a RabbitMQ worker (https://github.com/php-enqueue/enqueue-dev/tree/master) on our Laravel 11 system to process job batches. At the end of each job, it checks if any more jobs need adding ...
Josh Jackson's user avatar
2 votes
2 answers
127 views

I need to upload files from Angular to my Laravel API, but my code does not work and I cannot find where is the problem. user-edit.html (Angular): <div class="form-group"> <...
Adrian2895's user avatar
0 votes
3 answers
322 views

I am working on a Laravel project with Vite, TailwindCSS, and DaisyUI. I want to apply the "corporate" theme globally, but all DaisyUI components still appear with the default theme styling. ...
Muhammad Sameed's user avatar
0 votes
0 answers
68 views

My project is using a modified implementation of Laravel Passport for authentication. I have a route, /auth/login, which I use for authentication. POST is for logging in, PUT is for refreshing tokens, ...
Scott McMullan's user avatar
0 votes
1 answer
77 views

I have a homepage made of "sections" (HomepageSection). Each section can be one of: popular, latest, or category. For each section I call a getRecipes() method to get the recipes for that ...
Dmytro Shved's user avatar
0 votes
3 answers
136 views

I'm using Fortify and Sanctum to provide session based auth to my SPA. In my development environment the SPA is on http://127.0.0.1:3000 and my Laravel app is on http://127.0.0.1:8000 and these are my ...
Ahmad Ahmad's user avatar
0 votes
1 answer
72 views

I'm implementing a real-time stock opname (inventory check) feature using Laravel and Ratchet WebSocket. I want to broadcast a message to all connected WebSocket clients when an API endpoint is hit, ...
Stevani Putri's user avatar
0 votes
1 answer
96 views

I am trying to switch notifications to use queue. I have implemented the ShouldQueue interface and added the Queueable trait to the notification class. No matter which QUEUE_CONNECTION I use, the job ...
aphoe's user avatar
  • 2,776
1 vote
1 answer
100 views

I am using VSCode on windows with WSL Linux where the project files are and PHP and the XDebug debugger are running. When Ray or Ignition display debug information with a filename, I would like the ...
PaulH's user avatar
  • 3,139
2 votes
2 answers
95 views

I created an admin panel on Laravel with Filamentphp. I want to create a middleware for demo mode to block requests such as post, put, and delete. However, I couldn't do it. demomodemiddleware.php <...
Sercan Aslan's user avatar
0 votes
0 answers
83 views

I'm setting up GitHub Actions for a Laravel project using Docker. During the workflow run, I get the following error when Laravel tries to connect to the MySQL container: SQLSTATE[HY000] [2002] ...
divyamohan kashyap's user avatar
0 votes
3 answers
125 views

I want to implement a live commenting system for each post of my project this is my view @extends('layouts.main') @section('content') <p>{{ $post->title }}</p> // there is nothing ...
Ramin Safari's user avatar
0 votes
1 answer
66 views

With the Laravel Forge CLI forge login authenticates successfully. However, when I run any command afterward (e.g. forge servers:list or forge sites:list) I get: Your API Token is invalid. This ...
Enad Abuzaid's user avatar
0 votes
0 answers
66 views

I am using this package yaza/laravel-google-drive-storage because I want to use google drive as storage for the uploaded images. The uploading is successful but the problem is the images are not ...
Christian Tejano's user avatar
0 votes
0 answers
56 views

This thing happend when I try to clone the same from git and installing the composer Pusher\Pusher::__construct(): Argument #1 ($auth_key) must be of type string, null given, called in /Users/...
Ashan Withana's user avatar
0 votes
1 answer
85 views

I write a trait in laravel named prioritiable and I add a global scope to the query to sort the query result based on priority value The problem is the scope add the order by SQL clause to all SELECT, ...
sajadsholi's user avatar
1 vote
1 answer
189 views

I've searched for this answer but didn't find any, so I'm here to ask. I'm using Filament 3.2 on Laravel 12. I have a RelationManager based on a table tournament_players that has a relation on players ...
Tiziano Mischi's user avatar
-1 votes
2 answers
128 views

I'm having this error that I can't seem to resolve. I'm making a Laravel application in PHP. The routes in the web.php file are correct. There are no errors in the controller, nor in the kernel.php ...
utente1234567890's user avatar
1 vote
2 answers
81 views

Jetstream Version 4.0 Jetstream Stack Inertia Laravel Version 10.10 PHP Version 8.1 I am implementing Google RECAPTCHA v3 in Jetstream login. But its fails because inertia Jetstream auth sending 2 ...
Tarun Korat's user avatar
0 votes
2 answers
89 views

$transactionsData is an array, and I want the id from transaction id from the transaction model for each item and assign it to the details to insert the id to the transaction item table, how can I ...
swatantra's user avatar
  • 493
-2 votes
2 answers
132 views

I am returning json response from index method of my controller class. use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Models\Admin\Services\Finish; class FinishController ...
nischalinn's user avatar
  • 1,284
1 vote
1 answer
123 views

I'm working on a Laravel 12 project using XAMPP on Windows 10. I tried to use the following command to create the symbolic link for serving uploaded files: php artisan storage:link But the public/...
Satria Indra Mulyana's user avatar
0 votes
1 answer
92 views

I'm using Stripe Checkout Session for the payment in my laravel project. I've included code like while creating checkout session: 'saved_payment_method_options' => ['payment_method_save' => '...
Kishan's user avatar
  • 11
0 votes
2 answers
155 views

I'm developing an application where the admin section is accessible via a subdomain like admin.mysite.test. Everything works fine except sending emails with login credentials for users manually added ...
sihciv's user avatar
  • 73
4 votes
1 answer
631 views

I created an app using Laravel 12 + Sanctum and React. Locally in my laptop my app is working properly then I upload it to a Windows Server (IIS). With the same port 5173 of React and port 82 for the ...
IreneT's user avatar
  • 49
1 vote
2 answers
176 views

I am using php artisan serve server, and when adding via resources @vite(['resources/js/test.js]), I get an error: Unable to locate file in Vite manifest: resources/js/test.js. The vite.config.js file ...
Studlara's user avatar
  • 154

1
3 4
5
6 7
4254