Support the ongoing development of Laravel.io →

Controller Route Not Found NotFoundHttpException

Hi, I'm new here. Trying to create a package with controllers in it. My package is created, route is...

0 Likes
1 Replies

Upgrade to 4.2 - DB Queries return nothing

$locations = Locations::find(1); // null $locations = Locations::all(); // [] $locations = Locations...

0 Likes
3 Replies

Ardent and forms with multiple models

I have a form that allows an admin to update a user. In this form, I have a multi-select for roles....

0 Likes
2 Replies

Get data from multiple input fields who are in a for loop

Ok the problem i have is the following one: (apoligize in advance for bad english xD) Im creating a...

0 Likes
4 Replies
Solved
posted 9 years ago

Trying to get property of non-object

i tried retrieving a single content using the id and passing the variable to the view, but it was te...

0 Likes
1 Replies
posted 9 years ago

host config in iron driver

In Laravel 4.2 i have two additional options in iron driver config: 'host' => '', 'encrypt' =>...

0 Likes
2 Replies
Solved
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

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.