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

One API, two clients (mobile vs. web app) - Best Practice?

As I understand current best practice, my web app's API should provide the same methods for both des...

0 Likes
4 Replies
posted 11 years ago

Looping Through Eloquent Results

Hi there, I have an eloquent query that is returning a 'show', and any 'show_ref's relating to it: S...

0 Likes
2 Replies
Solved

Is there a difference in Eloquent between hasOne & belongsTo when both keys are given?

If I fully specify the keys, is there a difference between hasOne and belongsTo relationships? Or if...

0 Likes
0 Replies
posted 11 years ago

string to array conversion

Hello, I have this form : {{ Form::open(['route' => 'abbonementen.store']) }} {{ F...

0 Likes
5 Replies

ErrorException (E_UNKNOWN) Undefined variable: products (View: ........

Hello, I am very new to laravel and this error has held me back for the past three hours ErrorExcept...

0 Likes
2 Replies
posted 11 years ago

trouble with controller

i'm biginner in laravel ,i tried to connected to controller with router: Route::get('/', array('as'...

0 Likes
1 Replies
posted 11 years ago

Laravel 4.3 composer update problem

When i clone repository and write composer update in cmd , i get : {"error":{"type&qu...

0 Likes
3 Replies

delete/alter data in model relationships

Hi, If I have something like this: $user = User::with('phones')->find(1); It gives me the user's...

0 Likes
1 Replies
posted 11 years ago

Call to a member function move() on a non-object

Hiii, I used upload file function but , I have error Call to a member function move() on a non-obje...

0 Likes
5 Replies

Can't add homestead vagrant box Ubuntu 14.04 32 bit

I'm trying to add homestead box to Ubuntu 14.04 32bit - is this possible? I've successfully installe...

0 Likes
2 Replies

Aggregate, Aggregate Roots and Repositories managent with Laravel

Hi, I was working with some Entities that may contain some other dependent Entities or Value Objects...

0 Likes
0 Replies

Testing controller

Hi All, I'm trying to test the index action of following controller: use Gnikoob\Controllers\BaseCon...

0 Likes
3 Replies
posted 11 years ago

Class inheritance issue

Hi, I have a base class which define a bunch of functions I will use for inherited classes. I have t...

0 Likes
2 Replies
Solved

Eloquent hasManyThrough relation and with a little customization.

Parent, Child and Tag are three models. Parent (id, other fileds ....) Child (id, parent_id, tag_id...

0 Likes
1 Replies
posted 11 years ago

Form argument = "resource"?

I started out with an ajax form in my blade template which opened like this: {{ Form::open(['data-re...

0 Likes
2 Replies

Can I do both static on dynamic blade?

Can I do both static on dynamic blade? {{ HTML::script('js/fullscreensearch.js'); }} {{ HTML::script...

0 Likes
1 Replies

Sentry API Authentication (mobile devices)

Hi everyone, I have a question regarding Sentry and using it's authentication functionality on a non...

0 Likes
4 Replies
posted 11 years ago

Getting related model based on parent model.

Hi I want to search for like which is made by a given user on a given post. I have one Post model as...

0 Likes
1 Replies
posted 11 years ago

How to use Many 2 Many and a custom date?

Hey guys, When i use my model for Year, i can get all articles that are connected with the year tabl...

0 Likes
2 Replies
posted 11 years ago

How can i validate an integer to be in a specific range

Hi dear all.. actually i am trying to validate a sign up form in my website and one of the inputs is...

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