Support the ongoing development of Laravel.io →

Route GET length limit of 255 per param?

I ran into an issue that I was not able to track down. I am accepting base64 strings as a route para...

0 Likes
2 Replies
posted 10 years ago

How to change object key when get data?

Assume i am going to fetch country list. $country = Country::get(); foreach($country as value){ ec...

0 Likes
0 Replies
posted 10 years ago

Setting up relationships ?

I've been going through the documentation and reading up on relationships, and I'm having trouble oh...

0 Likes
2 Replies

Multiple tables over multiple databases in a single Model

I am in the planning stage of undertaking a database migration where the two databases (one MySQL, o...

0 Likes
4 Replies
Solved
posted 10 years ago

Homestead Folder Structure for PHPStorm?

I'm wondering about the recommended folder structure for Homestead when using PHPStorm. My initial c...

0 Likes
0 Replies
posted 10 years ago

Missing where method on join with where clause

I require a join with a where clause such as: SELECT * FROM users LEFT JOIN contacts ON contact...

0 Likes
1 Replies
posted 10 years ago

Homestead not working : Timed-out error

I installed vagrant & VirtualBox installed to run homestead. But when I give the vagrant up comm...

0 Likes
1 Replies

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 10 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

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.

© 2024 Laravel.io - All rights reserved.