Support the ongoing development of Laravel.io →

1,816 Threads

Code less or more?

Here are 2 pieces of code that does the same thing. Which one do you prefer? 1- Magical: $flights =...

0 Likes
0 Replies

Composer / autoloading sub-packages - small victories + some confusion

I'm trying to set up my Laravel project so that I can develop various bits of general functionality...

0 Likes
5 Replies
posted 8 years ago

Keeping entity update history in a feed

I have such entities as: User Company Activity Activity Type User can add many companies (hasMany...

0 Likes
0 Replies

Auto join on model call

I have two models Item [table: id,title,param_id] and ItemParam [table: id,param_name]. Is it possib...

0 Likes
0 Replies

Problem with ROUTES in admin area

Hello folks. I'm new in laravel and I traying to create a backend area. My problem is this when in g...

0 Likes
2 Replies
Solved

Laravel JWT Routes Middleware - Am I doing it correctly?

Hello guys, I'm new in JWT, currently I setup the JWT in my laravel application, may I know the step...

0 Likes
0 Replies

Any even that I can listen to *before* RouteMatched?

Hi, I want to create url rewriting functionality (think; like Magento has - allowing me to redirect...

0 Likes
1 Replies

Instantiating objects base from type

Hi, I'm currently working on the fetching part of my project and I encountered a bit of a problem. I...

0 Likes
1 Replies

Setup different frontend & backend application endpoints

I've been struggling figuring this out but no luck yet - couldn't find an answer anywhere. I have a...

0 Likes
1 Replies
Solved

Dynamic route to resource controller

Trying to setup dynamic versioning for my api controllers: /app/controllers/api/v1/UserController.ph...

0 Likes
1 Replies

Join tables with pivot tables (Eloquent ManyToMany Relationship)

Helllo guys, I need solution I have Model Article with ManyToMany Relationship to Terms and I have M...

0 Likes
0 Replies

When to use Crypt and what to use when create a URL

In my application I have companies these company pages should be viewable to anyone, IE don't requir...

0 Likes
2 Replies

Best practice advice on creating crons

I've gone through the documentation for scheduling (https://laravel.com/docs/5.2/scheduling) and I u...

0 Likes
2 Replies

How should I run 40+ reasonably different websites off one Laravel instance?

I am rebuilding about 40 different automotive dealership websites and would like to consolidate them...

0 Likes
6 Replies

Validating pivot tables

I'm using the Form Request validation, but how do I validate my pivot tables? For example when I att...

0 Likes
0 Replies

Something like hasManyThrough query

Hi guys, I'm trying to use something like my implementation of hasManyThrough query, could you pleas...

0 Likes
0 Replies

Unknown column 'photo' in 'field list' error in database

when i create a "photo" in the "flyer_photos" table with Tinker like below. >...

0 Likes
1 Replies

What is the different between Route::model() and Route::resource()

In Route model, I can use something like this: Route::model('tasks', 'App\Task'); and in Route resou...

0 Likes
2 Replies
Solved

Common time window

I have list of supplier with their working hour for each day with intervel of 60mi from opning hour...

0 Likes
0 Replies

Artisan Console - Understanding commands

I'm looking at L5.2's Artisan Console and "Writing commands" because I want to create cron...

0 Likes
1 Replies
Solved

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.