Support the ongoing development of Laravel.io →

1,825 Threads

posted 11 years ago

Where to place business logic

So, I'm trying to clean up the controllers on a project I worked on recently (before I realized the...

0 Likes
2 Replies
Solved
posted 11 years ago

Modular structure on Laravel 5

Hi; Is there anyone who can suggest me to build modular structure on L5. Because I want to seperate...

0 Likes
7 Replies
Solved

Laravel Import Excel Maatwebsite

hey, i'm new use framework laravel, and i'm trying to import xls file into db. i'm using library lar...

0 Likes
0 Replies

Port existing PHP + MySQL application (CMS) to Laravel

Hi Laravel community, I have an existing PHP + MySQL application (Content Management System), which...

0 Likes
0 Replies

Eloquent Performance (Overwrite Getter?)

Hey there :) Even though I do know that there is quite some overhead using magic functions / eloquen...

0 Likes
0 Replies

Event subscriber interface

Why isn't there an interface defined for an event subscriber, which defines the method subscribe($ev...

0 Likes
0 Replies

Polymorphic Many To Many - 2 Locations, 1 Journey

Hi all, I'm looking for some help with this polymorphic conundrum... I have a Journey table: Journey...

0 Likes
1 Replies

Where to place web service calls?

I am building an application using laravel 5 wherein it relies mostly on web service calls, particul...

0 Likes
1 Replies

Different controller between user control panel and admin control panel

Is a good practice use different controller for the user control panel and the admin control panel e...

0 Likes
2 Replies
Solved

php artisan optimize, what does it really do?

I am curious to what does this command do. Well, it says that it "Optimize the framework for be...

0 Likes
1 Replies

Forum & shop integration in Laravel

Hi there! I'm starting a new webapp and I have some issues...I need to ingrate two important functio...

0 Likes
7 Replies
Solved

Route model binding & Repositories

Greetings. I am having some confusion about route model binding with/vs repositories. Here's how I...

0 Likes
0 Replies

Laravel and angularjs in homestead

I want to get started with homestead for my project. This is an existing project, and it works when...

0 Likes
0 Replies

Is it possible to set global param in Laravel named routes?

I have routes like: Route::group(['prefix' => '{locale}'], function() { Route::get('/post/{slug}...

0 Likes
1 Replies

Global Scopes

I created new Global scope "StatusableScope" class Post extensd Model { use StatusableTra...

0 Likes
0 Replies

Storage::name($file) is not working in Laravel 5.0

API for Lara 5 says that we have name method to Extract the file name from a file path. http://larav...

0 Likes
1 Replies

Looking for a solid partner - Multi tenancy application

I run a dog walking business, and have multiple dog walkers. I created a system to manage my busine...

0 Likes
1 Replies

How to create Multiple/Custom Logs in Laravel 5

Just to preface-- this is my first post and I am newbie (to both this forum and Laravel) so I apolog...

0 Likes
0 Replies

Spurious "Invalid host" errors when unknown client sending "*.whatever.com" as host header

Probably some bot somewhere, but a few times a week I get: production.ERROR: exception 'UnexpectedVa...

0 Likes
0 Replies

Accessing HTML files in the public directory

My website is built with Laravel but I need the public directory to act like a regular directory. In...

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

© 2026 Laravel.io - All rights reserved.