Support the ongoing development of Laravel.io →

1,818 Threads

Organizing CRUD functions in Controller, or Model?

Trying to rehaul my use of controllers and models. At the moment, I have a controller for: People/P...

0 Likes
0 Replies

Models that that don't extend Eloquent

Is it possible to create a model that doesn't extend Eloquent? I have need for some models that don'...

0 Likes
4 Replies

Setting up a multisite application in Laravel 4.2

Hello, I'm moving our website from asp .net to Laravel (I'm new to it). Gonna explain where we are a...

0 Likes
0 Replies

Strategy for having part of site served through SSL

I have a site that I want any logged in action to be protected under SSL, say all routes are under /...

0 Likes
0 Replies

Using Models for noob

Hi, I'm sure this has been asked a thousand times, but I still can't find much out there. I understa...

0 Likes
1 Replies

Help with architecture of Laravel

Hi, I'm building an app which consistently uses the curl function but with some slight tweaks to var...

0 Likes
1 Replies

Repositories and service providers

Say I have ~20 models, so ~20 repositories, then I want to have interfaces as well so I have about 2...

0 Likes
1 Replies

Filters in Packages

In Laravel 3 we were able define bundle specific route filters like Route::filter("admin::auth&...

0 Likes
4 Replies

Redirect::back and URL::previous can both sometimes return empty URLs

I know this is happening because the referer header isn't being set. I need to be able to provide a...

0 Likes
0 Replies
posted 10 years ago

How modeling REST API with complex query relationship

REST APi is based on resources concept. It's easy to model a "User" with CRUD operations....

0 Likes
0 Replies

Reusable table blade template

Howdy folks So i'm a little stumped as to what is the best way to go abut this. I have an admin area...

0 Likes
0 Replies

Laravel 5 DI in custom ServiceProvider

I'm currently playing around with L5 and have created a ServiceProvider which resolves the current d...

0 Likes
0 Replies

Reusable base admin controller for use across packages

Howdy, So I have a admin package that contains a BaseAdminController class and I also have other pac...

0 Likes
2 Replies
Solved

Multi-table class inheritance possible with Eloquent?

I have an application that's getting pretty large. I've noticed that one of our tables "locatio...

0 Likes
1 Replies

Best Method for Multiple Types of Users

Hi Guys, I am currently trying to move a web application to laravel to make it more maintainable and...

0 Likes
2 Replies

Extending BaseController when constructor has params

This is mostly just to do with PHP, but I'm trying to do it in Laravel, so thought I'd ask here... W...

0 Likes
5 Replies

Auth filter redirecting back to original POST request in Laravel

Hi i'm new to larvel. I'm need to post the data to post controller after auth. Checked the below pos...

0 Likes
0 Replies

Structure for application

Hi, i need help for this problem: In my application, there is a user. The user is a teacher. The rol...

0 Likes
1 Replies

Menu loading pages with AJAX using blade template

Hello people. First of all sorry if my english isn't perfect... is not my native language, but i thi...

0 Likes
1 Replies

Does anyone know how can I auto-prefix my custom styles with elixir? L5

I'm using elixir with laravel 5. How can I auto-prefix my css like sass and less scripts ? This piec...

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.

© 2025 Laravel.io - All rights reserved.