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

Shivamyadav's avatar

Should I use laravel telescope in production ?

Should I use laravel telescope in production ? If yes, then what should I focus for the security and other stuffs. If nope, then why I should not use it into the production.

Shivamyadav's avatar
Shivamyadav's avatar hinlocaesa...4mos agoLaravel
14
3
Last reply by hinlocaesar-75309181 4mos ago
Adailton de Jesus Cerqueira Junior's avatar

Which library do you indicate for create PDF in laravel?

Hi, Currently, we are using barryvdh/laravel-dompdf for create PDF's file in our system. However, we are searching a new modern alternative package. We found spatie/laravel-pdf library, but we yet not test it. So, we would like which library the community recommends. Best Regards.

Adailton de Jesus Cerqueira Junior's avatar
Adailton de Jesus Cerqueira Junior's avatar hinlocaesa...4mos agoLaravel
4
3
Last reply by hinlocaesar-75309181 4mos ago
Shivamyadav's avatar

Landing page AI workflow cards mobile device issue?

This section on the landing page Learn the AI workflows of the pros On my mobile device each cards doesn't have space in between them and some height overlapping to each others. @JeffreyWay

Shivamyadav's avatar
Shivamyadav's avatar Shivamyada...4mos agoFeedback
0
1
lift_spindle's avatar

string interpolation or .

in python I use f strings all the time. in php i use the . all the time, but php can string interpolate if you use double quotes. maybe that's why pint tells me to use single quotes... any way. what do you use?

lift_spindle's avatar
lift_spindle's avatar hinlocaesa...4mos agoGeneral
4
16
Last reply by hinlocaesar-75309181 4mos ago
zYxNiRV's avatar

Best Resources & Courses to Prepare for Laravel Certification

Hi everyone! I’ve been thinking about pursuing the Laravel Certification, and I wanted to start a discussion to gather thoughts and recommendations from the community. My Goal I want to: Understand what the Laravel certification exam covers Find high-quality courses or resources that help prepare for the exam Know which areas to focus on, especially for real-world application a

zYxNiRV's avatar
zYxNiRV's avatar zYxNiRV4mos agoFeedback
4
61
Last reply by zYxNiRV 4mos ago
abdunnasir's avatar

Best Laravel approach/package for project-based roles and resource access?

I’m building a Laravel application using Laravel Auth for authentication. In my app, a user can be either the owner of a project or a collaborator. Each project has multiple resources, and access to those resources depends on the user’s role within that specific project (not global roles). Is there an existing Laravel package that supports project-scoped roles and permissions,

abdunnasir's avatar
abdunnasir's avatar martinbean4mos agoLaravel
1
1
Last reply by martinbean 4mos ago
FRodrigues's avatar

Filament / Livewire / Flux - Component Render Issues

I have been working with custom livewire pages inside filament. Everything works fine except for Livewire/flux components. I have configured the following, AppServiceProvider.php, inside boot use Illuminate\Support\Facades\Blade; if (request()->is('admin/flux*')) { FilamentView::registerRenderHook( PanelsRenderHook::BODY_END, fn (): string => Blade::r

FRodrigues's avatar
FRodrigues's avatar SolidBridg...4mos agoFilament
2
1
Last reply by SolidBridge 4mos ago
an.leclerc's avatar

Problem with foreach - array offset on null

Hi, I've a problem, in my component I've 2 methods : #[Computed] public function resourceTypes() { return ResourceTypeModel::orderBy('name', 'ASC')->get(); } #[Computed] public function periodicityTypes() { return PeriodicityTypeModel::orderByRaw("FIELD(reference, 'mensuelle', 'trimestrielle', 'semestrielle', 'annuelle') DESC&quo

an.leclerc's avatar
an.leclerc's avatar an.leclerc4mos agoLivewire
8
1
Last reply by an.leclerc 4mos ago
minaremonshaker's avatar

How does Laravel determine route specificity and matching priority?

I'm trying to get a solid grasp on how Laravel handles route specificity when multiple routes could potentially match a given URI. From what I've read, routes are matched based on the order they're defined, with more specific (static) routes taking precedence over parameterized ones. But I'd love some clarification and examples from experienced devs. For instance: If I have R

minaremonshaker's avatar
minaremonshaker's avatar martinbean4mos agoLaravel
2
1,240
Last reply by martinbean 4mos ago
minaremonshaker's avatar

Does Gate::before bypass a policy if the callback returns true for a given permission?

I’m defining a global Gate::before check in my AppServiceProvider like this: Gate::before(function (User $user, $ability) { if ($user->hasAnyPermission(['view_any_ticket'])) { return true; } return null; }); In my TicketPolicy, the view method looks like this: public function view(User $user, Ticket $ticket): bool { if ($user->hasPermissionTo('vie

minaremonshaker's avatar
minaremonshaker's avatar tykus4mos agoLaravel
5
1
Last reply by tykus 4mos ago
the_lar's avatar

Confused by vite build and images or lack thereof

Hi, I'm currently mid way through the React From Scratch series - https://laracasts.com/series/react-from-scratch I'm using my knowledge for a bit of challenge project and have hit a bit of an issue which is probably me doing something stupid but maybe you can help! The file layout of my project looks like this: https://ibb.co/Rk59dGZV I have a header component with a simple SV

the_lar's avatar
the_lar's avatar the_lar4mos agoReact
2
1
Last reply by the_lar 4mos ago
shez1983's avatar

Testing FORM component - sometimes fails (have to duplicate filling fields)

So i have a simple test, i m guessing it fails because i have a little bit of logic to update server when user types something.. so what I am having to do is: visit(route('referrals.create')) ->type('#company', $company->name) ->select('#type_id', '1') ->select('#type_id', '1') // repeat this line again ->screenshot(true) // or do this

shez1983's avatar
shez1983's avatar shez19834mos agoLivewire
2
1
Last reply by shez1983 4mos ago
UAlex's avatar

Is there a problem with the 'Ask AI' tabs in each lesson?

I’m having trouble with the 'Ask AI' tab in each lesson. It looks like it’s generating an output, but then it just disappears. I'm left with nothing. I’ve switched between Chrome and Firefox, but it still isn't working. Is anyone else seeing this?

UAlex's avatar
UAlex's avatar JeffreyWay4mos agoFeedback
1
1
Last reply by JeffreyWay 4mos ago
vincent15000's avatar

Single method for different instantiations

Hello, I need to use this code. $calculationService->loadVariables(); But the loadVariables method doesn't contain the same code according to the Livewire component in which it is used. I could simply write the method in both components, but I also need to use it in other contexts. So I thought about an interface, but I'm not sure it's a good idea. I also thought about

vincent15000's avatar
vincent15000's avatar vincent150...4mos agoLaravel
5
1
Last reply by vincent15000 4mos ago
phpMick's avatar

How are you deploying your Laravel API's currently?

Hi, We are just planning on deploying a new API which a third party will use to send us data. We are considering all deployment options and not just an EC2 instance. It will be AWS. What would you suggest, what is popular nowadays? Cheers, Mick

phpMick's avatar
phpMick's avatar martinbean4mos agoGeneral
2
1
Last reply by martinbean 4mos ago
davidmarsmalow's avatar

Livewire 4 @island inside a loop (foreach/forelse)

How to use @island inside a loop (@foreach / @forelse) in Livewire 4? I’m experimenting with the new @island feature in Livewire 4, and I’m running into an issue when trying to use it inside a loop. My use case is a Kanban-style board where columns are rendered dynamically using @foreach. Inside each column, I want to wrap part of the UI with @island so that it can be independe

davidmarsmalow's avatar
davidmarsmalow's avatar DigitalArt...4mos agoLivewire
1
1
Last reply by DigitalArtisan 4mos ago
PeteBatin's avatar

Shopify App using Laravel learning material?

Hi all, I'm feeling pretty down. I've been looking forward to doing the "Build Shopify Apps with Laravel" Laracasts course, it's one of the main reasons I decided to get a subscription. I've completed other courses in the run up to this one and this week was going to be the week to finally do it. I started Tuesday and discovered the content is so out of date, both S

PeteBatin's avatar
PeteBatin's avatar PeteBatin4mos agoTips
4
1
Last reply by PeteBatin 4mos ago
hinlocaesar-75309181's avatar

Request for Certificate Upon Completion of the Laravel Architect Path

I plan to complete the Laravel Architect learning path. Upon successful completion, in addition to building real-world projects, I hope Laracasts will consider issuing a certificate to formally recognize the skills and expertise I gain through this program. This certificate would allow me to showcase my achievements on LinkedIn and during tech interviews, which I believe would

hinlocaesar-75309181's avatar
hinlocaesar-75309181's avatar lift_spind...4mos agoFeedback
1
2
Last reply by lift_spindle 4mos ago
minaremonshaker's avatar

Is it a good practice to assign direct permissions to users when using the Spatie permissions package?

hi i am using spaite permissions for authorization , I want to ask what are the situation where i can assign direct permissions to users

minaremonshaker's avatar
minaremonshaker's avatar vincent150...4mos agoLaravel
6
1
Last reply by vincent15000 4mos ago
raobilal4822's avatar

Cluster navigation filament

i want to edit the view of cluster's navigation. i want to change the bg of navigation of cluster.

raobilal4822's avatar
raobilal4822's avatar lift_spind...4mos agoFilament
2
1
Last reply by lift_spindle 4mos ago
Developer654079525's avatar

The PsySH tool

Latest framework update made some security and workflow changes to the PsySH library used in Tinker. Now, the first time we start the Tinker we are greeted with the confirmation dialog. This looks like a major shift from a usage perspective. I understand they are tackling the security issue, but not sure if the library is the one that should be displaying the dialog. What are y

Developer654079525's avatar
Developer654079525's avatar DigitalArt...4mos agoLaravel
2
1
Last reply by DigitalArtisan 4mos ago
wannabe-laravel-dev's avatar

Efficient Infinite scroll using Livewire?

Are there any known techniques/methods for implementing infinite scroll or load more on scroll using Livewire without querying the database for all previous results? All tutorials on the web seem to show exactly the same inefficient way of implementing it which is like this.. At first 10 results are loaded When load more is called 20 results are loaded Each time you load more

wannabe-laravel-dev's avatar
wannabe-laravel-dev's avatar thepanda4mos agoLivewire
5
1
Last reply by thepanda 4mos ago
earmsby's avatar

Should I change the timezone for my server?

I have a filament app on a forge server which has a widget to fetch my WooCommerce orders for today. The WooCommerce site is on a completely different server and I use the API to interact with it on my filament app. I fetch orders like this: //get today's orders $today_start = date('Y-m-d') . 'T00:00:00'; $today_end = date('Y-m-d') . 'T23:59:59';

earmsby's avatar
earmsby's avatar earmsby4mos agoForge
4
5
Last reply by earmsby 4mos ago
Shivamyadav's avatar

Any AWS tutorial for learning from scratch?

Would you guys please give me your 1 or 2 mins to suggest me a good 😊 AWS tutorial and I can't find the way from where should I start?

Shivamyadav's avatar
Shivamyadav's avatar lift_spind...4mos agoGeneral
3
1
Last reply by lift_spindle 4mos ago
lewiswildman's avatar

How to track form data?

I'm using intertia with wayfinder to build my forms. But I've ran into a situation where I need to track any changes to the form data. However, I can't see any way of doing that? With the form context, I can do something like form.getData(), but that only returns a snapshot of the data and not the actual state. But on the form context itself, I see no way of getting the state o

lewiswildman's avatar
lewiswildman's avatar JussiManni...4mos agoInertia
3
1
Last reply by JussiMannisto 4mos 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.