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

Seeder just insert one record instead of two

Hi, I'm new in Laravel. I learn Laravel from "Learning Laravel 4 Application Development"....

0 Likes
2 Replies

Throw new NotFoundHttpException("Controller method not found.");

I have: class ProfilesController extends BaseController { public function getTest() { return Vie...

0 Likes
6 Replies
Solved
posted 10 years ago

Validation - Always showing The password field is required. Only

public function postSignup() { $validator = Validator::make( array('email' => 'required'|'unique:...

0 Likes
2 Replies

Querying a Many-to-Many Relationship

I might be overlooking this in the docs (Laravel 4.0) but I need to know how to query a many-to-many...

0 Likes
3 Replies

Laravel using wrong table name?

Here's my Level model: class Level extends Eloquent { protected $table = "levels"; }...

0 Likes
4 Replies
Solved

detect if the uploaded file is an image

any idea on simple function to know if the file uploaded is an image? I know you can do geMimeType b...

0 Likes
4 Replies

Trigger 500 error from the start.php file

In the ./application/start.php file, is there a way to respond with the 500 error page here, before...

0 Likes
2 Replies

website stoped after upload picture with more than 5000 pixles

How can i set maximum width for original images in the uploader? because picutre with more than 5000...

0 Likes
5 Replies

Laravel environments

Hey, I'm working on an app made on Laravel where i have to host multiple domains. It's an Project Ma...

0 Likes
4 Replies
posted 10 years ago

Help with relation query

Hello, My query is returning the wrong product. My Order.php has a relation of public function items...

0 Likes
2 Replies
Solved
posted 10 years ago

Access the model in custom validators

Is there a way to access the model itself in the custom validators? I've tried passing the id in as...

0 Likes
0 Replies
posted 10 years ago

Unhash password and API grasping problems?

How do i unhash a password I want to display the password in a textfield inside my app? I uses Hash:...

0 Likes
2 Replies
Solved

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

These are my models User public function posts() { return $this->hasMany('Post'); } P...

0 Likes
5 Replies
Solved

Redirect is no return

Hey guys, i have create a lib class for my ACL. But after call a return Redirect::route(.....) nothi...

0 Likes
4 Replies

Is there a reason for using URL Helpers?

Lets start with three examples: <link rel="stylesheet" href="assets/css/app.css&qu...

0 Likes
3 Replies
Solved
posted 10 years ago

Cant see why my class wont work: Error: Class 'Acme\Something\Awesome' not found

Pastbin is always easier, see http://laravel.io/bin/dm73 For some reason it doesnt find the class, i...

0 Likes
4 Replies
Solved

Laravel 4 Multi Auth with Password Reminder

Hi all , i was created Laravel 4 Multi Auth with Password Reminder :) this the link https://github.c...

0 Likes
0 Replies

Laravel 4 Modules Packages

Hi all, this is my package https://github.com/pingpong-labs/modules please review :D Thanks :)

0 Likes
0 Replies
posted 10 years ago

Any ideas for Fedex / Hackathon using Laravel

Hi guys I want to introduce Laravel to my company. We have an upcoming Fedex day, where we can use a...

0 Likes
0 Replies

Combining two query (WhereIn with Where) x 2

$userCollection = DB::table('collections') ->whereIn('user_id', array())...

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.