Support the ongoing development of Laravel.io →

1,826 Threads

Does Laravel only support ORM and not plain/raw sql?

Hi guys, can someone please tell me if Laravel supports raw/plain sql? I cant find it explicitly sta...

0 Likes
2 Replies
Solved

Installing vedette package

Hi, I'm installing Vedette package from https://github.com/illuminate3/vedette and have 2 problems....

0 Likes
2 Replies

Laravel and Google Web Starter Kit

Does anyone have experience with Laravel and Google Web Starter Kit? What would be the best practice...

0 Likes
1 Replies

Mocking Model through facades

For all the other good stuff in laravel their is a Event::shouldReceive(), but for models, nothing....

0 Likes
0 Replies
posted 11 years ago

Application Structure

Hi, I am going to build a website having more than 100 tables.. i have gone through couple of books...

0 Likes
3 Replies

Correct use of Repository pattern

Today I have a User model with a method updateWith($attrbs). It's just an example. If my object is a...

0 Likes
11 Replies

Friendship database management

Hi everybody, First of all, I'm a newbie on Laravel Framwork. I love this framework, therefore I cho...

0 Likes
0 Replies

can not understand helper functions and how they call other functions without instantiating a class

I am trying to understand how the asset() helper function calls the UrlGenerator method asset()? I...

0 Likes
2 Replies

Supervisor & queue:listen don't work every time

This is a long shot but maybe someone had the same problem as i do. On my production server (ubuntu...

0 Likes
0 Replies

Laravel routing - shorten the urls upto only one URI segment.

It is said that shorter the URL, better the seo (atleast my client believes on it). Now am creating...

0 Likes
0 Replies

how to call php artisan command from route or controller?

I would like to call php artisan command from route or controller, i do like this (test on backup/re...

0 Likes
1 Replies

nested resources in Laravel

Hello, I wanna learn more about nested resources in laravel. I have googled fair a bit, but no tutor...

0 Likes
0 Replies

Incremental save method - looking for feedback

Ok so in many cases you want to update integers in a database incrementally, this helps ensure that...

0 Likes
1 Replies

[EXERCISE] Refactoring Exercise #1 is Complete! Discuss.

After some interest in the Laravel subreddit, I've decided to run a refactoring exercise a few times...

0 Likes
5 Replies

Best way to accomplish notifying across application

Hi guys, My users can submit a listing, but the administrator has to approve the listing for it to b...

0 Likes
2 Replies

Dynamic loading of assets

Hey everyone, I have a questions about dynamic loading of css/jscript assets from a directory altern...

0 Likes
0 Replies

Simple application built with laravel?

I am looking at getting into laravel, it looks like an awesome framework,but it seems to be missing...

0 Likes
9 Replies
posted 11 years ago

kind of 'global function' possible in controller ?

Hello. I have a controller for 'users' and some segments under it like user/photos user/comments for...

0 Likes
2 Replies
Solved

Did I find a bug in Eloquent? ID is not being set correctly using a hasManyThrough relationship and paginate.

Hi there, I have the following three models and relationships set up. class Customer extends \Eloque...

0 Likes
2 Replies

How can I do this SQL query whit Eloquent?

Hello, Im new whit laravel, and I would to like do this query, in SQL it would be something like thi...

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