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

ValidationCommandBus

I created a CommandBus Structure according to the videos series for commands. But I am now running i...

0 Likes
1 Replies

Iterating over Nested Data

I'm trying to upgrade a legacy app and there I basically need to echo out a bunch of hierarchical da...

0 Likes
2 Replies

auth()->attempt() throws an ErrorException when passed an array of credentials

I am trying to login a user in the latest release of Lumen. No matter whether I use auth()->attem...

0 Likes
2 Replies
Solved
posted 9 years ago

Refactoring.. what to put in controllers and what not to

So one of my controller looks a bit like this... /** * @param $userId * * @return \Il...

0 Likes
1 Replies

Laravel Casier "The source hash must include an 'object' key"

I'm trying to use Cashier to create Stripe subscriptions in Laravel 5.1. I am using Stripe in test m...

0 Likes
1 Replies

Viewing all my posts

I just checked my profile page to see a list of my past posts, but only 4 are displayed. Is there a...

0 Likes
1 Replies
posted 9 years ago

Call to undefined function App\Http\Controllers\request() (inconsistent helper function documentation/functionality)

I am developing several projects in the most recent release of Lumen. The Lumen documentation does n...

0 Likes
3 Replies

reusing a partial in multiple places... some problems?

OK so i have a partial that i have been using in several places.. so far it has worked perfectly bec...

0 Likes
2 Replies

laravel error adding a row whilst Testing but not when I do it manually?

So I am using laravel 5 form testing for my register pages which are split into 3 stages doing somet...

0 Likes
0 Replies

Eager loading polymorphic relation with custom fields

Short version I have a basic polymorphic relation between a Note model and many things, including a...

0 Likes
12 Replies
Solved

define authorization ability for many to many relationships

laravel 5.1 document example define ability authorization for one to many relationships: http://lar...

0 Likes
1 Replies

Auth::logout does not work laravel 5.1

I am newbie laravel here my code is not redirect to signup page. Not any error display. Any suggesti...

0 Likes
4 Replies
posted 10 years ago

Parameter based routing

Routing in laravel is Route::get('/', array('uses' => 'HomeController@index')); I want to choose...

0 Likes
12 Replies
Solved
posted 9 years ago

AUTO_INCREMENT for MySQL

Hi All, I'm at a loss for what's happening. I'm running two queries on a table as part of my migrati...

0 Likes
0 Replies

Why I get Trying to get property of non-object

$products=Product::where('product_name',$request->product_name)->first(); if($products->...

0 Likes
3 Replies

Rails Engines

Hello, Maybe here is some guys familiar with rails, don't you think it would be good to have engines...

0 Likes
0 Replies

Cannot maintain user session following sucessful authentication

Hi All, I am using the built-in authentication views/controllers for Laravel 5.0. I am able to succe...

0 Likes
2 Replies

How to update just one field with fill method in the table

How I can fill $a in to the table, pls and regards. $products=Product::where('product_name',$request...

0 Likes
1 Replies
Solved

How to math operators on controllers

I have this and return Object of class Illuminate\Database\Eloquent\Builder could not be converted t...

0 Likes
1 Replies
Solved

How can find a key on a other model and insert on a query for store method

Hi friends, I have a form, with selectbox for employees, so select the id, well on my table users I...

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