Support the ongoing development of Laravel.io →

1,816 Threads

Type hinting parent::__construct() arguments in controllers

Greetings, I've got a BaseController with the following code: class BaseController extends Contr...

0 Likes
2 Replies
Solved

How to implement a page with static tabs and dynamic content area

I know Laravel can route to different web page and refreshes the whole page content. My case is: I h...

0 Likes
2 Replies

Is it valid to use filter to pass variables to layout?

Hi, I have a layout which requires a few variables and several controllers that use this layout. The...

0 Likes
1 Replies
Solved

Is this good code design?

Is this a good design? use Acme\Interfaces\AuthenticateInterface as AuthenticateInterface; class Lo...

0 Likes
1 Replies

where do I instantiate a dependency?

I'm new to Laravel and I'm using laravel for my latest project. I'm currently confused about where t...

0 Likes
1 Replies

Best implementation route for user last seen timestamp

I need to implement a "last seen" timestamp in laravel, so if your authenticated, and make...

0 Likes
0 Replies

How can I pass posted data from a sevice to a controller?

Hi, I have made a service for validation but I am not sure how to pass the posted data back to the c...

0 Likes
1 Replies
Solved

Examples of Caching Implementation

Note: *For the purpose of this conversation, let's assume that people have already read the docs at...

0 Likes
5 Replies

Relationship updating and/or creating with dynamic forms

Hi I have a relatioship between client and phones. Using an array name in the form I managed to save...

0 Likes
1 Replies

Vaprobash, Laravel in git with other developer

Hey folks, I was wondering if someone could give me some pointers. I'm building a larval project and...

0 Likes
0 Replies

Form model binding - encode part into json or add seperate table

So i'm developing an application where parts of the form have data which are meant to populate other...

0 Likes
0 Replies

Request a routes content

Hi guys, Is it possible to call a route(something like Route::call('some/route') and catch it's resp...

0 Likes
2 Replies

sync models without id's

Hi, I have model timesheetweek which has many (7) timesheetdays. On a view I can dynamicly add sever...

0 Likes
1 Replies

Is there any laravel application using closure-table package?

I am interested in how to create that closure-table model?

0 Likes
0 Replies

Comments for multiple models

Hello, I know this question is a little bit vague, but I need to implement the ability to add commen...

0 Likes
2 Replies

DB design & Eloquent: two models related to one category

Hi guys! I'm building a website for a client where there is a catalogue/e-commerce section and I've...

0 Likes
0 Replies

Two way friendship

I have created model so that users can be friends. I have table user_friends where user_id and frien...

0 Likes
0 Replies
posted 10 years ago

CCK in laravel

I will soon start developing a new application for work in laravel. This application tracks the prod...

0 Likes
1 Replies

Laravel belongsTo not working

I have 2 models in my app, 'User' & 'MedicineType' (each User belongs to one MedicineType). I ma...

0 Likes
2 Replies
Solved

Laravel Dependency Injector Plugin

#intro Hey Guys, we created a laravel dependency injectorr for Dependency Injection Pattern. github...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.