Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

vincent15000's avatar

How to use Envoy with an SSH port other than 22 ?

Hello, I'm searching how to use envoy with an SSH port other than 22. Any idea ? Thanks for your help. V

vincent15000's avatar
vincent15000's avatar vincent150...2mos agoDevOps
4
4
Last reply by vincent15000 2mos ago
vincent15000's avatar

NativePHP / Jump ?

Hello, I want to test NativePHP with Jump. I have installed the required packages, then I run this command in the console. The browser opens to display a QRCode, but I don't see any QRCode, instead I get this error in the dev tools. (index):1 Unsafe attempt to load URL http://localhost:3000/jump/qr from frame with URL chrome-error://chromewebdata/. Domains, protocols and ports

vincent15000's avatar
vincent15000's avatar vincent150...2mos agoLaravel
3
1
MikelMedina's avatar

Single users table with intermediate trainer-client relationship table in Laravel β€” good practice?

I'm building a Laravel Sanctum API project for my portfolio. The project is a system where users and trainers exist, and it basically allows trainers to create workout plans for users. Without going too deep into the workout side of things, here's my situation: I was planning to create a single users table to authenticate everyone with a bearer token, and create an intermediate

MikelMedina's avatar
MikelMedina's avatar martinbean2mos agoLaravel
7
2
Last reply by martinbean 2mos ago
ahoi's avatar

Laravel Telescope does not track HttpClient calls fired from tinker/jobs...

Hi there, I am not sure, why - in my app, telescope does not track external API calls when I use tinker to fire the call: Http::get("http://example.com/users/1")->body(); is tracked, if I call it via route entry, but not, if sent via Tinkerwell or any other way. What am I missing?

ahoi's avatar
ahoi's avatar Glukinho2mos agoLaravel
2
4
Last reply by Glukinho 2mos ago
ahmedde's avatar

How to detect memory leak source with Octane?

Hi, We're running a production app using Octane (Swoole) on Forge. I have been getting few Sentry reports on memory leakage exceptions once every few days on random API routes. The exceptions are neither happening on consistent times or routes, which makes this difficult for me to find the piece that break the puzzle. Example: Allowed memory size of 268435456 bytes exhausted (t

ahmedde's avatar
ahmedde's avatar Aterniad2mos agoLaravel
1
3
Last reply by Aterniad 2mos ago
jswoolf01's avatar

How does wasChanged work with related tables?

I'm writing some complex validations for an inventory table - a table of products. This Products table has a couple of related child tables. I'd like to save some resources by only running validations for fields that have changed. Scenario: I edit Product A, change a couple of fields in the Product record and also change some of the data that's stored in one of the child tabl

jswoolf01's avatar
jswoolf01's avatar JussiManni...2mos agoLaravel
3
1
Last reply by JussiMannisto 2mos ago
vincent15000's avatar

Migration with geography ?

Hello, How to save coordinates as a point type ? $table->geography('coordinates', subtype: 'point', srid: 4326)->nullable(); In the database there is only one field and I need to save the latitude and the longitude. In a form, how to retrieve the coordinates ? Do I need 2 fields ? 1 field ? I really don't know how to do. Do I have to cast the coordinates field as a JSON

vincent15000's avatar
vincent15000's avatar DigitalArt...2mos agoLaravel
3
1
Last reply by DigitalArtisan 2mos ago
an.leclerc's avatar

Problem with dispatch on parent component

Hi, I've a component (lead-not-assigned.blade.php) <?php use App\Enums\DossierCaseEnum; use App\Models\DossierModel; use Livewire\Attributes\Computed; use Livewire\Attributes\Layout; use Livewire\Attributes\On; use Livewire\Attributes\Title; use Livewire\Component; new #[Layout('layouts::admin.app'), Title('Lead not assigned')] class extends Component { use \Livewire

an.leclerc's avatar
an.leclerc's avatar an.leclerc2mos agoLivewire
3
1
Last reply by an.leclerc 2mos ago
ehabafia's avatar

Horizon in production

I did install Laravel horizon, and did php artisan vendor:publish and published the HorizonServiceProvider. I added few emails to the gate to allow me to access horizon in production. Gate::define('viewHorizon', function ($user = null) { return in_array($user->email, [ '[email protected]' ]); }); which still gave me a 403 Forbidden, then I start playing with it

ehabafia's avatar
ehabafia's avatar aldesrahim2mos agoLaravel
3
1
Last reply by aldesrahim 2mos ago
jovanlopez's avatar

FACEBOOK LEAD ADS

Hello everyone! I am currently working on a CRM with Laravel and I am trying to obtain leads through a webhook on Facebook. I have followed all the steps outlined in the official Facebook documentation, but unfortunately, I am not able to obtain any leads. I am not sure what the issue could be.

jovanlopez's avatar
jovanlopez's avatar Apostlethe...2mos agoLaravel
1
1
Last reply by Apostlether 2mos ago
FireBlade's avatar

Bundled Alpinejs not working in Laravel Docker

I have a fresh new Laravel 9 Jetstream-Livewire app with the node_modules and vendor folders deleted. The NGINX container Dockerfile looks like this: FROM node:22-alpine AS builder WORKDIR /app # Copy Laravel application code COPY ./src/. /app RUN npm install && npm run build FROM nginx:1.21-alpine COPY --from=builder /app/public /var/www/public COPY ./nginx/nginx

FireBlade's avatar
FireBlade's avatar abdul_rehm...2mos agoCode Review
6
1
Last reply by abdul_rehman333 2mos ago
kianaassenheimer's avatar

How to test SelectColumn in a Filament table?

I am using Filament and I am trying to test my SelectColum that when I change a role, that user's role is updated in the database. From the testing docs https://filamentphp.com/docs/3.x/tables/testing#select-columns , it doesn't seem like this type of functionality is testable through a method much like a filter can be applied with ->filterTable(... I'm wondering if there is

kianaassenheimer's avatar
kianaassenheimer's avatar ImpactLab2mos agoTesting
5
1
Last reply by ImpactLab 2mos ago
jesse_orange_newable's avatar

Issue with Laravel 12 on IONOS hosting - no cookies

I have two apps running on the same server behind a Webscale proxy (Apache). A Laravel 11 app works correctly, returning a proper 302 with session cookies. My new Laravel 12 app returns 200 OK with no cookies and no Location header β€” just the Symfony HTML redirect fallback body. The redirect itself is correct (the Microsoft OAuth URL is properly generated), but the response cod

jesse_orange_newable's avatar
jesse_orange_newable's avatar vincent150...2mos agoAI
2
1
Last reply by vincent15000 2mos ago
darius92's avatar

Request rules validation is very slow

My request have array of ~2000 items. I want to use validation rules, but its super slow. class MyItemsRequest extends FormRequest { public function rules() { return [ 'items' => 'required|array', 'items.*.id' => 'required|integer', 'items.*.meta_data' => 'required|string', 'items.*.stuff' => 'sometimes|nu

darius92's avatar
darius92's avatar vincent150...2mos agoRequests
4
1
Last reply by vincent15000 2mos ago
vincent15000's avatar

Eloquent eager loading

Hello, Hmmm ... I have this code. public function index() { return Inertia::render('Creator/Quests/Index', [ 'quests' => fn () => Quest::orderBy('name')->get()->toResourceCollection(), ]); } When I check in the backend (with dd()) the content of the query, it returns only the quests without any step as the steps aren't loaded. public function toArra

vincent15000's avatar
vincent15000's avatar vincent150...2mos agoEloquent
10
4
Last reply by vincent15000 2mos ago
El Klo's avatar

Filament v4 upgrade script keeps the old folders

I ran the v3 to v4 upgrade script for filament to change the directory structure. So let's say i had an ArticleResource/Pages folder in my V3 structure, the script changed that to Articles/Pages. This is done as it should be for 98% of the resources, however, all the old (empty) folders are still in my structure? Is this supposed to happen? I have a lot of resources so i want t

El Klo's avatar
El Klo's avatar LaryAI2mos agoFilament
1
2
Last reply by LaryAI 2mos ago
Indra7667's avatar

Migration and seeding for big master data

I have a national-scale master data of my country's cities, districts, and villages. There's 80k rows on the village table. I need to make the migration for a project, but inserting all 80k of rows into seeder doesn't seem realistic to me. On the other hand, if I add the table directly into the DB, the table will be gone every time I hit migrate:fresh. How should I insert the

Indra7667's avatar
Indra7667's avatar Indra76672mos agoLaravel
2
1
Last reply by Indra7667 2mos ago
LordZeus's avatar

Is there a way to use certificates for auth?

I'm not brand new to Laravel, but I'm learning by making my own projects. I wanted to create a local application for myself, but to make my logins more secure, I wanted to have my laravel site prompt me for my/a certificate, and if it matches the saved certificate, allow access to an admin panel. The only thing I've been able to find regarding this is an old Laravel 5 implement

LordZeus's avatar
LordZeus's avatar martinbean2mos agoDevOps
2
1
Last reply by martinbean 2mos ago
vincent15000's avatar

Code architecture for adding easily new challenge types (scalability)

Hello, I develop an web application for treasure quests. At the beginning, I will have some challenge types. If I want to add a new challenge type in the future, I don't want to modify the code, just add a new class to add the new challenge type. I asked the AI and it gave me some example, but it seems to be quite complex to just add a new challenge type. What do you think abou

vincent15000's avatar
vincent15000's avatar vincent150...2mos agoDesign
3
1
Last reply by vincent15000 2mos ago
vincent15000's avatar

How to resolve a dynamic component ?

Hello, I have to load dynamically some components. I have define a component resolver. import { defineAsyncComponent } from 'vue'; const components = import.meta.glob('@/Components/Challenges/**/*.vue'); export const resolveComponent = (view) => { const componentPath = `@/Components/${view}.vue`; const loader = components[componentPath]; if (!loader) {

vincent15000's avatar
vincent15000's avatar imranbru2mos agoVue
2
1
Last reply by imranbru 2mos ago
dhanikk's avatar

πŸš€ Introducing DBStan – Static Analysis for Database Queries

Hi everyone πŸ‘‹ I’d like to share a package I’ve been working on called DBStan, designed to improve the reliability and quality of database interactions in Laravel applications. πŸ” Problem While Laravel provides excellent tools for working with databases, it’s still easy to: Write inefficient or problematic queries Miss potential issues before runtime Lack visibility into query st

dhanikk's avatar
dhanikk's avatar dhanikk2mos agoLaravel
2
1
Last reply by dhanikk 2mos ago
andyz's avatar

Proble with Laravel 13, nwidart/laravel-modules and opgginc/codezero-laravel-localized-routes

In a new Laravel 13 project, when I install both opgginc/codezero-laravel-localized-routes and nwidart/laravel-modules, when composer dump-autoload runs I get the following error: Maximum call stack size of 67043328 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached. Infinite recursion? at vendor\laravel\framework\src\Illuminate\Container\Container.php:18

andyz's avatar
andyz's avatar LaryAI2mos agoLaravel
1
20
Last reply by LaryAI 2mos ago
BaselAJ's avatar

Should I use Inertia for a new ERP system?

I am currently assigned to create a ReactJS + Laravel + TailwindCSS stack ERP system while maintaining a Multi-Tenant/Modular Architecture, so far I've created the ReactJS and the Laravel parts separately. Was wondering if it's better to keep going with 2 Separate Projects or Join them into one using Inertia. Bare in mind I've used Inertia with VueJS not ReactJS back in the day

BaselAJ's avatar
BaselAJ's avatar Aciement2mos agoInertia
9
1
Last reply by Aciement 2mos ago
brtbrt's avatar

Laracasts worth it?

I signed up for a yearly Laracasts plan but rarely find video series that cover what I want to do. Eg. deployment via Github, no word on it. Or using Filament, no single word in the videos. Receiving webhooks, only covered when using Cashier. Learning more about Policies, only one video tackles it for Laravel 5. Am I coming with the wrong expectations? It seems like Laravel Dai

brtbrt's avatar
brtbrt's avatar Randy_John...2mos agoLaravel
9
1
Last reply by Randy_Johnson 2mos ago
Randy_Johnson's avatar

GraphQL πŸ€”

Is it any good?

Randy_Johnson's avatar
Randy_Johnson's avatar Randy_John...2mos agoGeneral
7
3
Last reply by Randy_Johnson 2mos ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

Β© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

Β© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.