Support the ongoing development of Laravel.io →
posted 10 years ago

Blade, problem with layouts

Hello, I'm facing a problem with blade templating and my layouts. Here's my layout (in app/views/lay...

0 Likes
4 Replies
Solved

inject to controller the laravel Log object

I want to inject the larvel log object to my controller instead of using the facade. But I cant type...

0 Likes
1 Replies
posted 10 years ago

Eloquent custom query on construct

Hi, Is there any ability to perform a custom query on my model's initialisation? The reason is, i wa...

0 Likes
5 Replies

Trouble after transfer to new server

Hi guys hope somebody can help.... I did a transfer from root-root and reinstalled the backup. But g...

0 Likes
0 Replies
posted 10 years ago

Laravel 4 large Route count increases booting time

We have a large web application built on Laravel 4 (4.2 currently) and we have ran into a bit of a p...

0 Likes
2 Replies
posted 10 years ago

Trouble Mocking Carbon

Hi fellow Laravel fans, I am hoping somebody can help me. I am trying to mock an instance of Carbon...

0 Likes
1 Replies

eloquent - set value from sql select query

How can I do the following using eloquent? INSERT INTO table (column) VALUES (select max(id) from ta...

0 Likes
1 Replies
posted 10 years ago

Get index of array(with objects inside) where the object's attribute = x

Hi, I have an array with objects called $buildings It has 5 buildings, each with a relation to a &q...

0 Likes
5 Replies
Solved
posted 10 years ago

Strange website behavior on Firefox

To be fair i almost always use Chrome. But sometimes i use Firefox and i stumbled into this issue, n...

0 Likes
0 Replies
posted 10 years ago

Tirana, Albania

Albanian Laravel Community

0 Likes
0 Replies

Access denied error when running 'php artisan migrate', using remote mysql db.

Hi, I'm trying to execute: % php artisan migrate and I get the following error: [PDOException] SQLST...

0 Likes
0 Replies

Eloquent model events not firing when using relations?

I have a typical event hook for soft deleting children: public static function boot() { parent::boo...

0 Likes
1 Replies

Trouble running Vagrant and setting up the YAML file

I know there are several topics about exactly this problem, but the answered solutions don't seem to...

0 Likes
3 Replies
Solved
posted 10 years ago

Package Routing in Laravel 5

I was starting a new project and rather than coding it all in L4, I decided to just start in L5 and...

0 Likes
1 Replies

Database design with different users

#Dear people and cats. Do anyone have a smart idea of how to design a user table with different user...

0 Likes
2 Replies

Two Laravel apps under the same domain (session sharing)

Hi all, I'm in need of two Laravel apps responding to different routes under the same domain. For si...

0 Likes
1 Replies

Application Events

Hey am new to Laravel but i've risen up quite fast in it up to the point of developing a social netw...

0 Likes
0 Replies

Nested relationships when parent is a many-to-many relationship

Hi, I have these three models: Building (table: buildings) Object (table: objects) BuildingType (tab...

quyle92 liked this thread

1 Likes
21 Replies
Solved
posted 10 years ago

Call to undefined method Model::where() - also effects all(), find()

Hey guys, Something very weird has happened in an application that I am building today. All of a sud...

0 Likes
1 Replies

Change response to JSON in after filter

Hello guys, I'm about to create RESTful API with Laravel. I've created such in past, but this time I...

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.