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

valentin_vranic's avatar

Sharing experience

Probably it's supposed to be a blog post, but I find it well to place it here too. So my first, real "wtf" moment after so many "wow"s regarding of capabilities of AI agents, and the development with them. So long story short. Together with my teammate , we started working on a dashboard for our customers, with many things in plan from our PM, and superiors,

valentin_vranic's avatar
valentin_vranic's avatar Snapey3mos agoAI
2
2
Last reply by Snapey 3mos ago
AlexandreBillereau's avatar

Long-running POST API route stops after ~30 seconds despite increasing max_execution_time

Hi all, We have a POST route in routes/api.php for creating a temporary landing page: Route::post('/create-landing-page', [TempLandingPageController::class, 'function_with_anonyme_name']); The issue is that when the script runs longer than ~30 seconds, it just stops, even though we’ve tried increasing the execution time at runtime: $init_set_string = ini_set('max_execution_time

AlexandreBillereau's avatar
AlexandreBillereau's avatar Snapey3mos agoLaravel
3
1
Last reply by Snapey 3mos ago
dilfdo's avatar

how to prevent showing login page after user logged and hit browser back button

in my laraval5 system when user succesfully login to system and click on browser back button, its goin again to login page where without entering password user can login to system how can i prevent that? plsease advice . how can i redirect user back to home page if browser back button goes to login page again

dilfdo's avatar
dilfdo's avatar gwyneorge3mos agoLaravel
13
8
Last reply by gwyneorge 3mos ago
nicknds97's avatar

Add middleware to package routes

Suppose I installed some packages xyz. The xyz package has some routes registered and I need to add middleware to those routes. How can I achieve that?

nicknds97's avatar
nicknds97's avatar Ken-vdE3mos agoLaravel
5
3
Last reply by Ken-vdE 3mos ago
AminDantey's avatar

The HerdHelper windows service is not running...

can somebody help me here? i installed herd on my PC. theres an error saying that herdhelper is not running (while it is running in windows services) and the status is red. in general settings in the red box which shows the error, theres a "write to Hosts file" option, which when i click on it the powershell opens and closes immidately. I have fully uninstalled herd a

AminDantey's avatar
AminDantey's avatar usulix3mos agoLaravel
2
6
Last reply by usulix 3mos ago
davy_yg's avatar

Call to undefined method App\Http\Controllers\ProfileController::delete()

I get this error message: Call to undefined method App\Http\Controllers\ProfileController::delete() web.php Route::delete('profile/{id}', [ProfileController::class, 'delete'])->name('profile.delete'); admin/index.blade.php <table> <tr> <th>Foto</th> <th>NIM</th> <th>Nama</th> <th>Alamat</th> <

davy_yg's avatar
davy_yg's avatar davy_yg3mos agoLaravel
2
1
Last reply by davy_yg 3mos ago
dannivn's avatar

Zero-Code AI Usage Dashboard for Laravel: Check Out Larai Tracker

Hi Laracasts , Lately, I've been integrating a lot of AI features into Laravel apps (using OpenAI, Gemini, etc.), and one recurring headache is keeping track of token usage and real API costs without adding messy logging code everywhere. To solve this cleanly, I created Larai Tracker – an open-source package that tracks everything "invisibly" with zero changes to your

dannivn's avatar
dannivn's avatar dannivn3mos agoAI
0
1
KrasMan's avatar

Problems with middleware and X-AUTH-ACCESS-TOKEN request header

I have a 3rd party api that I need to interact with that requires an access token in the request header. Using the guzzle client for the interface it's working fine by doing this directly, e.g., return http::withHeader("X-AUTH-ACCESS-TOKEN", $this->getXYZApiKey()) ->post( ... As my use expands on using this api, I figured I'd create a middleware rou

KrasMan's avatar
KrasMan's avatar KrasMan3mos agoLaravel
2
1
Last reply by KrasMan 3mos ago
DanielTCGomes's avatar

Exam Editor Not Loading After Lessons

The editor to take the exams after the lessons is not loading and gets stuck in an infinite loading screen.

DanielTCGomes's avatar
DanielTCGomes's avatar DanielTCGo...3mos agoFeedback
2
1
Last reply by DanielTCGomes 3mos ago
valentin_vranic's avatar

Laravel external MCP tool listing

Hi all! I'm facing an issue for a while. Firstly it was the lack of understanding of MCP-s, secondly the understanding of capabilities of Laravel and MCP-s. So as I know, the MCP-s are not kind of REST endpoint(s) as I thought in the beginning, but an SSE (server-sent-events). Which is a new for me. So my starting approach was to just send a tools-list method to the url, but la

valentin_vranic's avatar
valentin_vranic's avatar valentin_v...3mos agoLaravel
2
25
Last reply by valentin_vranic 3mos ago
yonka's avatar

Read All TakenInventoryInfo and Paginate it

I want to read TakenInventoryInfo and Paginate all by also reading StoreFrom from TakenInventories. This is my database design 1.TakenInventoryInfo class TakenInventoryInfo extends Model { use HasFactory, CreatedUpdatedBy, softDeletes; protected $fillable = ['tracking_no','taken_date','store_id','reference','description','approve_status','user_id']; public functio

yonka's avatar
yonka's avatar LaryAI3mos agoLaravel
1
6
Last reply by LaryAI 3mos ago
potterpg's avatar

Laravel 12 Cors- not working for me?

Apparently CORS just works with Laravel 12, but it doesn't work for me? Starting from scratch, install/api config:publish cors 'paths' => ['api/*', 'sanctum/csrf-cookie'], 'allowed_methods' => ['*'], 'allowed_origins' => ['localhost:3000', '127.0.0.1:3000'], 'allowed_origins_patterns' => [], 'allowed_headers' => ['*'], 'exposed_headers' => [], 'max_age

potterpg's avatar
potterpg's avatar Sergiu173mos agoEloquent
1
2
Last reply by Sergiu17 3mos ago
RikdeRegt's avatar

Exams broken on object-oriented-principles

https://laracasts.com/series/object-oriented-principles-in-php-2024-edition/episodes/5/exam Episode 4 exam also doesnt work. Tried Chrome + incognito and Edge

RikdeRegt's avatar
RikdeRegt's avatar MaxH3mos agoPHP
2
1
Last reply by MaxH 3mos ago
earmsby's avatar

Failed deployment

I'm trying to deploy some very minor changes on a Forge site that I've deployed to at least 50 times over the past year or two. Today when I tried to deploy these couple of changes, I got this error" Tunnel exited with a non-zero code [1]. Error output: Mon Feb 23 05:40:20 PM UTC 2026 Any suggestions on how to figure out what the problem might be?

earmsby's avatar
earmsby's avatar earmsby3mos agoForge
5
225
Last reply by earmsby 3mos ago
Nacho1714's avatar

Spanish AI Audio Suddenly Disappeared — Can't Continue Learning

Hi everyone, I'm from Argentina and I've been going through the "PHP For Beginners" series on a free account. I was really enjoying it and was seriously considering getting a paid subscription. One of the things that impressed me the most was the AI-generated Spanish audio option. As a native Spanish speaker, it made a huge difference — I could actually focus on under

Nacho1714's avatar
Nacho1714's avatar Camilo211G3mos agoGeneral
2
1
Last reply by Camilo211G 3mos ago
MohamedElsaed's avatar

Claude Agent SDK for Laravel — Build AI agents with Claude Code in PHP

Hey Laracasters, I just published a Laravel package that wraps the Claude Code CLI as a library. It gives you a fluent PHP API for building AI agents with file operations, bash commands, code editing, subagents, MCP servers, and structured output. Quick example: use ClaudeAgentSDK\Facades\ClaudeAgent; use ClaudeAgentSDK\Options\ClaudeAgentOptions; $options = ClaudeAgentOptions

MohamedElsaed's avatar
MohamedElsaed's avatar MohamedEls...3mos agoAI
2
3
Last reply by MohamedElsaed 3mos ago
fesja's avatar

How to do send two parameters to a blade directive?

Hi, I want to write a directive that takes an array and a field name @join($job->locations, 'name') and produces New York / San Francisco. I have tried to do this first approach but it's not working because it's receiving just one parameter, not two: Missing argument 2 for App\Providers\AppServiceProvider::App\Providers{closure}() in AppServiceProvider.php line 28 at Handle

fesja's avatar
fesja's avatar Ken-vdE3mos agoLaravel
11
1
Last reply by Ken-vdE 3mos ago
thesimons's avatar

If you plan to update to PHP 8.5 your Laravel projects, don't do that (yet)

Hello, Yesterday - while deploying a new server - I have the funny idea to install PHP8.5 just released. As result for that I got a list of errors. I think it'd be better to give it few weeks before thinking about deploying in production. Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - brianium/paratest[v7.8.3,

thesimons's avatar
thesimons's avatar JussiManni...3mos agoLaravel
7
4,352
Last reply by JussiMannisto 3mos ago
Halim's avatar

Laravel Breeze Password Reset Request Returns Full Page Instead of JSON

Im using laravel Brezze, but Im using ajax request when click on submit button: here how it looks like the forgot password controller looks like: public function store(Request $request): RedirectResponse { $request->validate([ 'email' => ['required', 'email'], ]); // We will send the password reset link to this user. Once we have attempted // to send the link, we

Halim's avatar
Halim's avatar LaryAI3mos agoLaravel
1
2
Last reply by LaryAI 3mos ago
manimonji's avatar

Quirks mode, doctype IS in layout.

I have this blade page @extends('layouts.app') @push('styles') <link href="{{ asset('css/common.css') }}" rel="stylesheet"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/driver.css"/> <style> /* Override Driver.js font */ .driver-popover { font-family: inherit !important;

manimonji's avatar
manimonji's avatar Glukinho3mos agoLaravel
5
7
Last reply by Glukinho 3mos ago
Pixelairport's avatar

Reference markdown file in core.blade.php

I want to structure my coding standards in md files in a composer package. At the moment i create a core.blade.php in my package for boost and this works. Now I want to create a directory /package/resource/markdown/ ... to load files from this directory instead put all in the core.blade.php. Is that possible? Because I dont understand how? I already tried it like in spatie pack

Pixelairport's avatar
Pixelairport's avatar Pixelairpo...3mos agoAI
2
1
Last reply by Pixelairport 3mos ago
hellencharless54's avatar

Serving Storage Files on Shared Hosting Without Symlink

Hi everyone, I’m running into a challenge on a shared hosting environment while developing an ad marketplace in Laravel. Everything works perfectly on localhost, but on the live server, images uploaded via Livewire (storage/app/public/ads/content) are not appearing in Blade templates. Oddly, .AVIF images work in generated previews, but .JPG and .PNG do not. Standard asset('stor

hellencharless54's avatar
hellencharless54's avatar jlrdw3mos agoDesign
3
9
Last reply by jlrdw 3mos ago
SirLouen's avatar

Fix reproduction speed

Once thing I've noticed, is that reproduction speed always resets from video to video It would be great if the reproduction speed was saved in localstorage or wherever and it applied sitewide. I've seen this feature is implemented in pretty much all platforms except for this.

SirLouen's avatar
SirLouen's avatar SirLouen3mos agoFeedback
0
1
vincent15000's avatar

Relationship with pivot table

Hello, I have a pivot table with some additional datas. While declaring the pivot additional datas, I don't want to load the formula. public function articles(): BelongsToMany { return $this->belongsToMany(Article::class, 'group_article')->using(GroupArticle::class)->withPivot('rounding_rule', 'precision'); } I prefer loading the formula only when needed. $table-&

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

Props does not gets cleared in inertia ?

In my projects / Index component i have this code and when I search anything and get's the expected result and try to navigate back to the same projects/ index url on i had searched earlier the input search component get's clear and even also from the url params. my code const page = usePage(); const projects = computed(() => page.props.projects); const breadcrumbLinks = [

Shivamyadav's avatar
Shivamyadav's avatar Shivamyada...3mos agoInertia
2
1
Last reply by Shivamyadav 3mos 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.