213,120 questions
-2
votes
0
answers
20
views
Workplace now on strict no AI policy, what can i do? [closed]
been coding with AI, not really proficient/confident with C# and Blazor on my own. now the company i work for implemented a strict no AI/generative tools, i don't know how to go about it, how to start ...
0
votes
0
answers
23
views
Laravel Sail containers stopped to perfomate ('laravel.test' failed to build : Build failed)
I'm using Laravel Sail to perfomate some services in my Laravel application, apparently all worked, suddenly show me the following error:
ERROR: Service 'laravel.test' failed to build : Build failed
...
1
vote
0
answers
14
views
Laravel MongoDB delete EmbedOne relation
My Model:
use MongoDB\Laravel\Eloquent\Model;
use MongoDB\Laravel\Relations\EmbedsOne;
class TextContent extends Model {
public function lock(): EmbedsOne
{
return $this->embedsOne ...
0
votes
0
answers
24
views
How can I connect Cloud Run to Cloud SQL?
I've been literally working on this for 6 hours without any updates.
It's my first time creating anything aware typical VPS and I'm using GCP to create my platform on Laravel, so, let me explain the ...
0
votes
1
answer
23
views
Why method in report policy is not called?
In laravel 12 app I try use Policy in report with code in the controller app/Http/Controllers/Report/DocsReportController.php:
<?php
namespace App\Http\Controllers\Report;
use App\Contracts\...
1
vote
0
answers
21
views
Testing a race condition with pest
I'd like to test my laravel application to see if it is susceptible to a race condition. Using pest, I can submit sequential requests, but not different simultaneous requests.
For example:
$response ...
0
votes
1
answer
25
views
Laravel PDF barryvdh/laravel-dompdf - html page looks different to the generated PDF
By using the 'barryvdh/laravel-dompdf' i want to generate a pdf that looks a certain way.
However there is a difference in how the HTML looks like in page and the pdf generated.
HTML is quite basic
&...
0
votes
0
answers
29
views
Socket.IO not connecting in Chrome browser (HTTPS, custom port 6530)
Socket issue:
My Laravel backend is hosted on https://example001.com/, while my Reactapp is hosted on https://example002.com./ React uses the 4.8.1 version of the socket.io client, and Laravel uses ...
1
vote
1
answer
22
views
Laravel vapor - significant increase in response times after each deployment which lasts hours
I've been trying to resolve an issue in our laravel application deployed with vapor for a few weeks now and haven't had any luck with it.
Our typical API response times are ~150ms but following each ...
0
votes
0
answers
23
views
How to Use Laravel Reverb with the Livewire Starter Kit in Laravel 12?
I'm trying to use Laravel Reverb in a Laravel 12 application. I've gone through several tutorials and documentation, but almost all of them implement authentication using Laravel Breeze. However, with ...
0
votes
0
answers
16
views
Laravel Livewire Starter Kit not receiving a Laravel notification broadcast via echo
I have the folllowing noitification:
<?php
namespace App\Notifications;
use App\Models\Comment;
use App\Models\Ticket;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Bus\Queueable;
...
0
votes
0
answers
53
views
Hide "build" in the URL
After building my Laravel/Vue app in local, the URL looks like http://crm.local/**build**/login.
I'm using Vite as a frontend server and there is the content of vite.config.js:
import { fileURLToPath }...
0
votes
1
answer
36
views
Laravel Auth::attempt() error: "Unknown column 'password'" when using a custom password field
I'm working on a Laravel project to migrate the project from codeigniter to laravel so i'm using a multi guard authentication and custom admin user table named tbl_admin_user, where both email and ...
0
votes
1
answer
16
views
With and skip modifiers
How to chain the skip modifier with the with modifier?
Without the with modifier it works:
$links = SomeModel::get()->skip(10);
But, with the with modifier it does not compile:
$links = SomeModel::...
-2
votes
0
answers
21
views
Laravel Cloud pgvector Support for Postgres? [closed]
Does Laravel Cloud's PostGres solution support pgvector? I need to store and query against embeddings with my Laravel project, but can find no information on this.