Support the ongoing development of Laravel.io →

Getting 'undefined method error for orderBy()' on new repository

With the help of some nice folks over on Reddit I was able to get most of my controller functionalit...

0 Likes
1 Replies

Issue loading psr-4 ServiceProvider

Hello, I'm getting a class not found exception after creating a service provider for my repositories...

0 Likes
4 Replies
Solved

Structure of directories when namespacing

So I'm just starting to use namespacing and I'm I would like to know the recommended method for stru...

0 Likes
0 Replies
posted 10 years ago

Guardar Usuario

public function store() { $input = Input::all(); $validation = Validator::make($input, Usuario::$rul...

0 Likes
1 Replies

Is it possible to set properties to the authenticated user?

In the User model, I've created a property called groupMembership and a method called setGroupMember...

0 Likes
3 Replies

Adding Select statement to ORM

Retrieving A Record By Primary Key $user = User::find(1); var_dump($user->name); Is there anyway...

0 Likes
4 Replies
Solved
posted 10 years ago

Retrieve the sender username of a message with relationships

In my Message.php model, I defined the following: class Message extends Eloquent { public functi...

0 Likes
3 Replies
Solved

Blade Nesting

What I want to do is @include(@yield('layout')) which I can't do because it is most likely nesting p...

0 Likes
4 Replies
Solved
posted 10 years ago

Where to put XML parser?

Hello, In my project, I have to send SOAP requests to a remote webservice. I then use the XML respon...

0 Likes
1 Replies

Relation with dynamic entity

Hello guys, I got this big question on this scenario: I'm building a easy post and comment system, b...

0 Likes
2 Replies

Problem with returned statements in Route

Hi I have a strange problem on a parallel plesk. everything work's fine on my local apache but after...

0 Likes
1 Replies
Solved

Foundation and Support packages clarification

Can someone please explain , from a point of good architecture/design why Foundation and Support pac...

0 Likes
0 Replies
posted 10 years ago

How do I get the laravel framework working

Hello so I have laravel on my localhost and there is a bomb of random files which i don't fully unde...

0 Likes
0 Replies

Related table, possible issue with table name?

Hi, I have a simple scenario here that is bugging me. There are two models: class DbNation extends E...

0 Likes
3 Replies
Solved
posted 10 years ago

getDateAttribute() is swapping year and day around when Saving to the Database

Retrieving a datetime field which is YYYY-MM-DD and I need to display it as dd/mm/yy. So I am using...

0 Likes
4 Replies
posted 10 years ago

Form::select default value LV 4.1

Hi I have a strange problem. Welll im using Form::select and supply it with data. Then te Form::mode...

0 Likes
0 Replies
posted 10 years ago

Mocking a Stored DB Connection

Hi Guys I am saving a connection to a remote database in a static class variable. I can mock the con...

0 Likes
1 Replies
Solved
posted 10 years ago

Dynamic route prefix

Hi, how can I make dynamic prefix for all routes in Laravel? I want something like /{model_id}/contr...

0 Likes
1 Replies

404 URLs create error logs

When users browse my website on their iPhone's Safari, it will automatically request for many variat...

0 Likes
2 Replies

Where to put bucket name for aws-sdk-php?

All the examples show to specify your bucket name on the spot, but what if I use the same bucket nam...

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