Support the ongoing development of Laravel.io →

286 Threads

Filtering Results in RestAPI with attributes from a related model

I'm currently building a REST API with laravel. I'm trying to implement filtering of results on a ro...

0 Likes
2 Replies
Solved

Error Messages for custom Validation

Hey guys, I am having some trouble getting my error messages to show for my custom Validation class....

0 Likes
2 Replies
Solved

Models properties

How do i make eloquent: NOT assume that my primary key is only named 'id' set the $timestamps prope...

0 Likes
8 Replies
Solved

Error validation : Replace label attribute in error message

Hi, I have this code in my_view.blade.php : <div class="row"> <div cl...

0 Likes
1 Replies
Solved

artisan route "GET|HEAD"

I'm using Route::resourse(...) and when I run artisan route it shows my routes the GET routes show u...

0 Likes
2 Replies
Solved

Passing POST variables to a view composer - how?

Hi all, I use view composers heavily throughout the app I'm working on. For example, one of my rout...

0 Likes
1 Replies
Solved

Response::view VS Response::make(View::make) And Error Pages

Hi, I'm a newcomer to Laravel. I tried to create custom error pages for the application. I did follo...

0 Likes
2 Replies
Solved

While using Eloquent relationships, user id is not saved

Hello I'm learning Laravel 4, and I came up to Eloquent relationships. I have two models, user and g...

0 Likes
2 Replies
Solved

Laravel bug or my mistake?

Good night, In this code, i got an error that says that the variable userId doesn't exists when its...

0 Likes
2 Replies
Solved

Foreach Undefined index

How do I access the array value of Input::old('option') @if(Input::old('option')) @foreach( Input::o...

0 Likes
10 Replies
Solved

Dynamic 'where()' for a filter

I've looked around for a tutorial or a best practice for implementing a filter for results. I would...

0 Likes
5 Replies
Solved

Passing multiple db variables from Controller to View

return View::make('home')->with(array('posts' => $posts)); The above is working for me, so I...

0 Likes
7 Replies
Solved

Need help with syntax

I am extremely sorry for this novice question in the link http://laravel.com/docs/routing#route-filt...

0 Likes
1 Replies
Solved

How to validation multiple files in Laravel 4

I have input with name = "image []" multiple = "multiple" which depends on other...

0 Likes
2 Replies
Solved

Getting rid of index.php in URLs

Hi all! How do I get rid of the index.php file in the URL? Currently my site works either way: http:...

0 Likes
6 Replies
Solved

mktime not working with larval

I'm using this tutorial to create a timer .. http://parashch.wordpress.com/2013/05/25/countdown-time...

0 Likes
2 Replies
Solved
posted 10 years ago

Modify files from php

Is there any fast method to change values into files like language files (php) or json files?

0 Likes
2 Replies
Solved

jquery mobile simple form route does not work

I have this view code (hello.php) <!DOCTYPE html> <html> <head> <meta name=&quo...

0 Likes
3 Replies
Solved

Best Practices for Validation Inside Models

I just came across an example that put the validation inside of a model like so: class User extends...

0 Likes
4 Replies
Solved

Storing multile selections into database

Hello, I have a form with select name "interests" and i present multiple options so i am u...

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