Laravel.io Forum
31 FOLLOWERS
This is a Laravel portal for problem-solving, knowledge sharing, and community building. In this forum community talk about programming, Laracasts, the latest news & events, and much more.
Laravel.io Forum
2d ago
Category @foreach ($categories as $category) {{ $category->name }} @endforeach Subcategory @foreach ($category->subcategories as $subcategory) {{ $subcategory->name }} @endforeach
I want to show subcategory when i select the category in Blade ..read more
Laravel.io Forum
2d ago
Hey guys, I'm curious about your company's approach to QA tickets, how typically is handled? Any insights into your process would be appreciated ..read more
Laravel.io Forum
2d ago
How to find these things keyword research : Keyword, Search volume, CPC, Keyword Difficulty ..read more
Laravel.io Forum
2d ago
Filament Context Menu Plugin lets you add right-click context menus for faster actions on pages & tables. [Read More](https://github.com/aymanalhattami/filament-context-menu ..read more
Laravel.io Forum
2d ago
Hi, I have a many to many relation between users and groups. The pivot table features a from and to fields which say, between which dates a user is in a group. That way, I can keep track, in what group a user was. For that reason, a user can relate to the same group multiple times, but for different timespans. On an eloquent model, i can use the sync() which only accepts an id once. Also attach() and detach() have an id as argument. How should I save related models then, if I cannot use mentioned methods? Only way I see right now is to omit relationship properties and use a pivot model instead ..read more
Laravel.io Forum
2d ago
I just created a logout form then I created a route, in the controller I created a logout method and went straight to the home page, but why is it 404 not found ..read more
Laravel.io Forum
5d ago
Meet LaraFire – your ticket to seamless integration of Laravel and Firebase. With features like authentication, password management, and user administration, LaraFire simplifies complex tasks, letting you focus on what matters – building amazing apps. Check it out on [GitHub](https://github.com/suhasrkms/Lara-Fire), [Packagist](https://packagist.org/packages/suhasrkms/lara-fire), and watch a quick demo [here](https://www.youtube.com/watch?v=BahOD2Hoz60&list=PLLXuDcfEpwD-2SkWBMRHDHbwdn3MA6BJZ). Supercharge your Laravel projects today! ? Feel free to review and open for suggestion or collab ..read more
Laravel.io Forum
1w ago
i am making use of laravel filament my issue here is displaying data in filament table. I have two table parent:apply_loan_advances and child:loan_advance_approvals where apply_loan_advances have multiple loan_advance_approvals my issue here is i only need to display data where loan_advance_id and status matches with id and status of apply_loan_advances and display those data from apply_loan_advances table to my filament table. My actual issue is same data is being displayed repeteadly ..read more
Laravel.io Forum
1w ago
Just finished upgrading an old Laravel 5.x app to 9.x - I know, still not current, but tryting to take this one step at a time. Before the upgrade, everything was working. Here is the issue: I have a chunk of code that looks like this: foreach(\Illuminate\Support\Facades\DB::connection('OrderTracker')->select($Sql) as $Row) {...} I have a controller called DebugController, with a public method called Debug() and a matching route that I use for various debug purposes and when this exact line is in that controller - it works PERFECTLY. Witin my app, I have a directory called app\Libraries\Fus ..read more
Laravel.io Forum
1w ago
I have a Laravel project that I'm developing, and I created some components to reuse code, and they were working, but recently they started to show this error. ![Erro](https://img-c.udemycdn.com/redactor/raw/q_and_a/2024-04-24_11-53-08-7fa28f89c5743133f35e474b440efe35.png) So I went to the log file to collect more information, and then it points out that the $component variable is being requested and is not being instantiated in a temporary file. ![Log](https://img-c.udemycdn.com/redactor/raw/q_and_a/2024-04-24_15-06-37-387ca62ec2715bae563c14de6c2d1d5f.png) but my code doesn't have this variab ..read more