Support the ongoing development of Laravel.io →

1,825 Threads

How laravel create (belogsTo, hasMany, etc..) dynamic properties over models?

For example, if I have the following code: class User extends Model { public function tasks()...

0 Likes
3 Replies
Solved

Injecting Object into Controller using app->resolving

Hi, I have a question regarding resolving objects in the AppServiceProvider. Somewhere in my code (m...

0 Likes
0 Replies

How to namespace a folder?

So I moved my models from the App folder to a Models subfolder and now any time I want to use a mode...

0 Likes
0 Replies

Hosting many mostly static sites, how to approach serving them?

So i host a lot of small business sites from my web practice over the years (hundreds). Right now I...

0 Likes
4 Replies

Laravel 5 XML Parser

I have created a storelocator.php in my view with the following code : <?php $dom = new DOMD...

0 Likes
0 Replies

caching tips (not doing but placement/organisation)

Ok so i have started caching queries in different places but this has resulted in me remembering to...

0 Likes
2 Replies

Concrete classes stored in DB

Hey Laravellers. I'll get straight to the point: I currently have a inherited a project whereby I ha...

0 Likes
1 Replies

CURL and Facades

Hi all, I need to build a webservice between two laravel applications. APP1 (local IP 127.0.1.1 and...

0 Likes
0 Replies

updatedBy, createdBy, deletedBy - user ID or user name?

I store these columns in some of my Models, my question is, should I store the users id or the users...

0 Likes
7 Replies

How to create client-config driven api

So I am creating an API but it has some caveats. First off I have to be able to easily create models...

0 Likes
0 Replies

Is this correct/secure usage of OAuth2?

Hey, I am setting up OAuth2 for the first time. I'm using the package: https://github.com/lucadegasp...

0 Likes
2 Replies

RESTful API with a Complete Course

I want to share with you my current work, where I teach how to develop a RESTful API using Laravel o...

0 Likes
9 Replies

PHP Beanstalk with laravel permission denied on storage/framework/cache

I've deployed my Laravel 5.1 app using Amazing Beanstalk and after repeated usage I eventually get t...

0 Likes
0 Replies

Eloquent eager loading: children are missing parent reference (sort of N+1)

Note: this is a crosspost of: http://stackoverflow.com/questions/33674198/laravel-eloquent-eager-loa...

0 Likes
0 Replies

Are views in exception handler broken in Laravel 5.1?

I'm trying to load some view in Laravel 5.1 exception handler (/app/Exceptions/Handler.php). In my r...

0 Likes
0 Replies

Return redirect from within another method in controller

I am trying to authorise user in a controller method by calling another method of the same controlle...

0 Likes
3 Replies

Database Design Question

I built a simple CRUD app using Laravel that uses a single main table and Laravel's built-in user au...

0 Likes
0 Replies

Laravel Enterprise Level E-Commerce Platform

I really wanted to create this thread to see if there would be interest in creating an enterprise le...

0 Likes
2 Replies

Subdomain configuration on windows using xamp

Hi guys, Been working on a project where i need to do a subdomain. i have hosted the project on virt...

0 Likes
0 Replies

Modular Structure Laravel

Hello I'm making a website that have two points: Clients Business Clients: static pages like home,...

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.

© 2026 Laravel.io - All rights reserved.