Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
67 views

Tried to find a solution, but couldn't find a similar problem. I have two classes: Product and TempProduct. Both inherit from BaseProduct. BaseProduct doesn't have a table name defined, but Product ...
Marcin Gołuński's user avatar
0 votes
0 answers
38 views

I am trying to implement live chat module in my SaaS module. I am using BeyondCode's Laravel Websockets package for this. This package uses php-pusher and installs it automatically when we install ...
Saswat's user avatar
  • 12.9k
1 vote
0 answers
85 views

I am developing a Laravel application on Windows OS. Among other things, the application needs to generate reports, including a background image within them. I am using the barryvdh/laravel-dompdf PDF ...
ITgirl's user avatar
  • 11
0 votes
0 answers
30 views

We are trying to build a filter system for a list of wines, so we built a step-by-step wizard to set the right filtering. In order to do so, inside the controller that effectively filters wines called ...
Dariustime's user avatar
1 vote
1 answer
59 views

I have a weird bug in my Laravel application where, when I use a file extension in the URL, the application is logging out automatically. After investigating I noticed it only happens when using valid ...
Roel Jansen's user avatar
0 votes
1 answer
91 views

So editing the config/mail.php during launch time to let each user have their own mail template: Config::set('mail.markdown',[ [ 'theme' => 'domain.com', 'paths' =&...
Neo's user avatar
  • 11.7k
0 votes
0 answers
44 views

Laravel SMTP issue: data displays correctly in controller but not in blade email view. I'm working on sending emails using SMTP in Laravel. I'm able to retrieve and verify the correct data in my ...
Abhijeet Kumar's user avatar
0 votes
1 answer
49 views

I have the following class: class Testclass { public WebshopappApiClient $client; public function __construct(Webshop $webshop) { $this->client = app()->make(...
chishiki's user avatar
  • 712
2 votes
2 answers
85 views

I have object with column chars with such data: { "chars": [ { "count": 1, "color": "red" }, { "count": 2, "...
M-A-X's user avatar
  • 522
1 vote
0 answers
202 views

I'm working on a Laravel project where I need to send emails with different SMTP credentials for each email. Instead of setting these credentials in the configuration files, I want to directly pass ...
Jebin Joseph's user avatar
0 votes
1 answer
128 views

I am able to authenticate but when trying to get data it's giving me an error This is the error I am getting. I am using Laravel version 9.46, check using via php artisan -v <?php namespace App\...
Osama Ahmed Momin's user avatar
1 vote
2 answers
1k views

I have this middleware in my project, that sometimes, gives me some problems on my live server, and I don't know why, but just sometimes, and not all the times that it is triggered. This is the error: ...
rodrigoserafim's user avatar
0 votes
0 answers
170 views

Access to font at 'http://127.0.0.1:8000/webfont.woff' from origin 'http://localhost:8001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource....
Artier's user avatar
  • 1,683
-1 votes
1 answer
86 views

your text I'm trying to deploy a laravel site on ionos VPS. When i launch my site on the browser, i've got this error: your text My .htaccess: # enable gzip compressing for the following mime-types &...
RGB's user avatar
  • 1
0 votes
1 answer
777 views

I use redis replication(one master with port 6379, two slave with port 6380, 6381), I've not found anything in the laravel doc for config redis replication. I use below config(from gpt's answer), but ...
LF-DevJourney's user avatar
0 votes
0 answers
63 views

Send Email To Customer as soon as he purchase the product. Here is the code sample $response = Http::withHeaders([ 'Authorization' => 'Basic ' . base64_encode('apikey:' . env('...
hassan javaid's user avatar
0 votes
0 answers
34 views

We have a Laravel 9 application running in AWS ECS in two different environments i.e., production and staging. For a few tables we have some html data stored in text column type. In production ...
Goutham J's user avatar
0 votes
0 answers
37 views

I'm working on a function that tracks UTM parameters and source details for users visiting my website. The function retrieves UTM source, term, and campaign from the request object and stores them in ...
minul hemasara's user avatar
0 votes
0 answers
26 views

im new in laravel 9 and i cant complet this test web.php Route::get('contact', 'App\Http\Controllers\controllerPage@contact'); Route::post('contact', 'App\Http\Controllers\controllerPage@saveData'); ...
LaWiss's user avatar
  • 1
0 votes
0 answers
61 views

I cannot save the form data using Laravel 9 and Ajax. The city_name, longitude, and latitude come from the JSON file, so when I choose a city, its longitude and latitude get dynamically filled up. I ...
Gabjava's user avatar
  • 43
1 vote
1 answer
138 views

I have this piece of code that filters only companies that have some customerRewards related to and belonging to some customer. The whereHas() filter works fine, but the result of customerRewards from ...
Čamo's user avatar
  • 4,413
0 votes
0 answers
28 views

v-if in a nested v-for is rendering in development but not in production. I recently deployed to a shared host and the conditional v-if is not rendering. Initially I used v-show and that did not help. ...
felix shava's user avatar
0 votes
0 answers
965 views

I'm using livewire v2. I have a problem when calling a method in livewire feels slow because another method has a large data process, for example I have 2 methods. the first method is called ...
Mas Raff's user avatar
-1 votes
1 answer
392 views

I have a php8 enum type enum OperationTypes: string { case PointsAdd = 'points-add'; } I need to be sure how to properly use it in Laravel database querybuilder. For example: Model::where('type', ...
Čamo's user avatar
  • 4,413
2 votes
2 answers
477 views

My website incorporates multilingual functionality, allowing content to be displayed in various languages. To facilitate this, language-specific data is stored in the MySQL database within JSON fields....
Diego Souza's user avatar

1
2 3 4 5
38