Support the ongoing development of Laravel.io →

1,821 Threads

Conditional route middleware and namespace mapping?

Is this possible something like this: if(Auth::user()->isCompany()){ $middleware = "auth...

0 Likes
2 Replies

Laravel 5.1 auto include Log in app

Hi So I recently moved to Laravel 5.1 and unlike Laravel 4.2 where we could use Log::info() anywhere...

0 Likes
1 Replies

Laravel hasMany get one children

Hello guys, i have hasMany relationship between two tables like this: Parameter::where('property_id'...

0 Likes
1 Replies

I want to make the questions and answers portlet using the Liferay MVC Framework

In this portlet anyone can anonymously post a programming related question, but the answer can only...

0 Likes
0 Replies

What hosting you recommend me for these app specifications?

Hello, First of all thank you so much for tring to help me with my troubles choosing a economic host...

0 Likes
3 Replies

Eloquent vs. Raw SQL? Which is really better?

Hello guys, I know this question sounds kind of silly, but let me explain. I (mostly frontend-dev) a...

0 Likes
4 Replies

Curious about scaling (server management)

lately, I deeply read article related about "web scale" topic, there are several very nice...

0 Likes
0 Replies

Eager load, get all results

Hi guys. I have model 'Element'. Each element have some params (Param model). So there is relationsh...

0 Likes
0 Replies

Extend Response::json in L5

I am adding something additionally in Response::json. For example, the Restful route to public funct...

0 Likes
3 Replies

Send EMAILS at determined DATE and TIME (help with logic)

Hello. In my app I have a form which allow the user to choose/insert: date/time, list of emails and...

0 Likes
1 Replies

Best way to identify authenticated users: by type or by role, or both?

My project involves the following user types: 1. Business 1.1 Sales 1.1.1 Local Sa...

0 Likes
1 Replies
posted 10 years ago

Pure controller class names?

Guys, do you always use Controller suffix in controller classes names? I do, but I'm now thinking if...

1 Likes
0 Replies

Namespacing behaving strangely after upgrade to 5.1 from 4.2

I am trying to update our application to Laravel 5.1 from 4.2. We are going for a full upgrade from...

0 Likes
1 Replies

Passing variables from one seed file to another?

I have created multiple seed files and my main DatabaseSeeder file looks like this: <?php use Il...

0 Likes
0 Replies

Image source not readable in heroku

I am deploying my laravel app on heroku, i have gotten to the point where i am happy (http://popibay...

0 Likes
0 Replies

Packages + Views

Hi, i'm trying to create a modular application using laravel packages, but i don't want to use contr...

0 Likes
0 Replies

Batch Processing - is it possible to use queues?

Hi Lets say I have Entries table in my project. For each new entry I would like to check external AP...

0 Likes
1 Replies

final solution gor app/storage in gitignore

cant find a proper answer, should app/storage should be in gitignore??

0 Likes
1 Replies

How to Include a class ????

I would lke to know how do i include a myclass.php file ???? Where? tried to use include('myclass.ph...

0 Likes
5 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.

© 2026 Laravel.io - All rights reserved.