Support the ongoing development of Laravel.io →

Laravel homestead error

I've been using the vagrant box Laravel Homestead and it's all working fine with PHP projects. But n...

0 Likes
2 Replies
posted 10 years ago

PHP/Laravel position in South Florida

We have a client in South Florida looking to build out a PHP Team. They will be using Laravel, and a...

0 Likes
1 Replies
posted 10 years ago

Creating new model object with unusual value

Hi, I want to create and save model, something like this: $page = new \Page; $page->fill(\Input::...

0 Likes
2 Replies
Solved
posted 11 years ago

HTML field names are lost if the name of the field is a numeric value - ?Bug or feature?

I need to use the id field from a database as the name of HTML form elements. Using laravaI form cla...

0 Likes
7 Replies
Solved

Config constructor injection

Hello All, I am using PHPSpec to test my classes, therefore I've been trying to inject everything vi...

0 Likes
1 Replies

Deleting DB-entry: findOrFail or destroy?

Hi, is there a difference between $go = Project::findOrFail($id); $go->delete(); and Project::de...

0 Likes
2 Replies

Accessing validation error messages without redirecting

Most examples go something like this: return Redirect::to('register')->withErrors($validator); H...

0 Likes
1 Replies
Solved

Best way of retreiving items with a condition on the relation

#The goal# What I'm trying to do is generate a new collection with all the Consultations ordered by...

0 Likes
3 Replies
Solved
posted 10 years ago

SQLSTATE[HY000] [2006] MySQL server has gone away

I am getting "SQLSTATE[HY000] [2006] MySQL server has gone away" sometimes..... has anyone...

0 Likes
0 Replies
posted 10 years ago

Architecture: Do i need a Model or not?

Hi, i struggle a litte bit with the use of the "Model"... just look at my code: Route (app...

0 Likes
6 Replies

Deploying on shared hosting

Hello, is there a possibility to deploy Laravel app to shared hosting without any custom steps, like...

0 Likes
1 Replies
Solved

how to make laravel package available in http://packalyst.com/?

I developed a laravel package and puch on git but i want this package available in packalyst.com? In...

0 Likes
1 Replies

Handling in model validation

I read everywhere that in model validation is best practice, but I don't know how to handle a failed...

0 Likes
3 Replies
Solved
posted 10 years ago

'php artisan routes' doesn't show controller filters

I have moved my filter applications from my routes file to the controllers constructors to clean up....

0 Likes
1 Replies

Get last 10 tags, polymorphic many-to-many

Hello guys, how can I get last 10 used posts tags? http://help.laravel.io/bd1f15c318d5358b745f27afe3...

0 Likes
1 Replies

Seeding only new files

Hello! Is it possible to know which seeds ar allready seeded and which are new automatically with ar...

0 Likes
2 Replies
Solved

Wrong colums deleted??

Hello, I have some data displayed in table...lets asume like this: 1 - Title1 - Edit, Delete 2 - Tit...

0 Likes
1 Replies
posted 10 years ago

Problems installing FrozenNode/Administrator

Hi! I am trying to install FrozenNode/Administrator. I have followed the instructions for installati...

0 Likes
1 Replies
Solved

generating URL like ?filter=posts

hello to every one, I wanna generate url's like ..?filter=post but how can I do that in Laravel. I s...

0 Likes
3 Replies
Solved

Laravel custom pagination problem -> FatalErrorException

Hello folks, I struggle a lot with some pagination. So basically I do: reconfing 'view' in app/view/...

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.