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

singleton() vs bindShared() ??

I've already stared at the source code long enough and can't figure out the difference between these...

0 Likes
0 Replies
posted 9 years ago

[Intervention] - show image performance question

i am using Intervention package ( https://github.com/Intervention/image ) assume that things: got...

0 Likes
0 Replies

Getting Application in Production on Running migration!

When I am running a migration from command line I am getting the response Application In Producti...

0 Likes
4 Replies

Model::has( 'relation' ) ... is there a Model::doesntHave( 'relation' )

Hi, im trying to find or figure out how to select all results that doesn't have a relationship... an...

0 Likes
2 Replies
Solved
posted 9 years ago

Problem with Blade

I'm brandnew with Laravel4 and I had trouble with Blade for several days. I searched in forums but I...

0 Likes
4 Replies
Solved

Autocomplete not showing results

I'm try to add autocomplete to a form and it's not showing the results plus it's saying that 2 rows...

0 Likes
5 Replies

Display data on different views

Hello guys, I have some posts. How can i display for example on profile page just the posts of a spe...

0 Likes
1 Replies
posted 9 years ago

how to create class with callback param in method?

I want to call class via callback/closure like // call or register MyClass::make('name', function($c...

0 Likes
0 Replies

Platform Attributes Spotlight

A little overview of attributes package in platform https://vimeo.com/97276329

0 Likes
0 Replies

Eloquent object ogininal values are not the same as the attribues

Hi, I want to display a value from my model, but it always gives me '0' as an integer while the colu...

0 Likes
2 Replies

Add onDelete constraint to an existing foreign key?

I'm struggling to get my head around migrations at the minute. I have an existing table with a forei...

0 Likes
0 Replies

model id is 0 inside eloquent created event

Inside my function that is triggered by the 'created' model event, my object id is 0. My id column i...

0 Likes
0 Replies

How to drop table contents with artisan tinker?

I have tried in tinker cli: Schema::drop('pages') but it just drops the table 'pages', how can i dr...

0 Likes
2 Replies
Solved

A wrong query containing 3 models

Hi all, I have 3 tables: books, authors, and publishers. Books-authors and authors-publishers have o...

0 Likes
7 Replies
posted 9 years ago

Is this right way to deal with Laravel?

I have gained fundamental knowledge concerning Laravel and then I have created simple app called Wor...

0 Likes
4 Replies

extra slash: testphp/? ==> testphp?

A third party software will visit my laravel project with a link. But this link has a extra slash. I...

0 Likes
3 Replies
Solved

Laravel relationship

I need help writing a query in eloquent from three tables, where fields table, field_value and users...

0 Likes
0 Replies

Redirect adds hash of previous url

Hi, just messing with some facebook auth and noticed that on the request before i Redirect::to( '/'...

0 Likes
4 Replies

4.1 to 4.2 update cant return a simple hasmany object from db gives error!

I am simply just doing this $me = \Auth::user(); return $me->program()->get(); GIVES me; Inva...

0 Likes
1 Replies
posted 9 years ago

Migrations and logical view

Hi, into a migrations file, is it possible to define a logical view creation? or just only normal ta...

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

© 2024 Laravel.io - All rights reserved.