Support the ongoing development of Laravel.io →

Easy endless scrolling via jQuery.jscroll and Laravel paginator

I stumbled onto this suuuper simple way to initialize an endless scroller through jQuery Here is the...

0 Likes
5 Replies

Laravel Eloquent Model Does not return anything or show any error

Hi, My Eloquent Model is here- <?php namespace App; use Illuminate\Database\Eloquent\Model; cl...

0 Likes
0 Replies
posted 8 years ago

Artisan migrations - MODELS, and autogenerated code!

A basic and easy question... If you make a migration using "php artisan make:migration create_[...

0 Likes
1 Replies
posted 8 years ago

[PhpStorm] Method Chaining Type Issue

Just a PhpStorm inspection issue- methods that can be chained won't be hinted to their correct type....

0 Likes
0 Replies
posted 8 years ago

I can't install Laravel on Homestead using Vagrant for VirtualBox

When I try to install Laravel using composer on my Virtual Machine I got this message : ErrorExcepti...

0 Likes
1 Replies
Solved

Select option array

Hi guys, i have a form that uses a select option, setup as follows : {!! Form::select('property_type...

0 Likes
2 Replies

Codeception writes in production db and reads from testing

I am trying to write functional tests for my app. I am using Laravel 5.2 and Codeception. I have a s...

0 Likes
1 Replies
Solved

How to store a empty value as null in a Decimal field

Hi there, I have a problem when I try to store a empty string into the database, laravel stores it a...

0 Likes
4 Replies

php7.1 and Mcrypt

Hello all! I read an article today about PHP 7.1 that says mcrypt_* will throw deprecation warnings....

0 Likes
1 Replies
posted 10 years ago

Testing artisan commands

I have two artisan commands and would like to write test cases for it, can't i do it? I didn't find...

0 Likes
4 Replies
Solved

8 things Theresa May will do if she gets picked to be the next Prime Minister

http://germanyvsitalylivestream.com/ http://walesvsbelgiumlivestream.com/ http://walesvsbelgiumlives...

0 Likes
0 Replies
posted 8 years ago

homestead error after updating

Hello, I just updated the homestead box to 0.5 and now I´m getting an error. I did a vagrant destroy...

0 Likes
4 Replies

Calling eloquent relation multiple times doesn't return data

I'm having this strange behavior in Laravel 5.1 where when I call the relation of an eloquent model...

0 Likes
0 Replies
posted 8 years ago

Defining layout in Controller

Hey, in Laravel 4 it was possible to define the master layout in the controller, so that it was used...

0 Likes
0 Replies

Changing Eloquent models database connection at runtime

Is there any way to force Eloquent models to re resolve the connection they were instantiated with?...

0 Likes
3 Replies
Solved

Routing problem on quickstart tutorial

Hi all, Looking to move back from .NET MVC to an enlightened and lovely PHP framework. I like what...

0 Likes
6 Replies
Solved

Help Undefined Offset Error

Hi. This is a code for search. Anyway each time i try to search with a term that is NOT in the datab...

0 Likes
0 Replies

PROBLEM: Multiple store of data using attach().

Im getting this error "Undefined offset: 1" what should I change here: Controller: pub...

0 Likes
0 Replies

array_merge(): Argument #2 is not an array

I get this error when I try to edit my users array_merge(): Argument #2 is not an array I've tried...

0 Likes
7 Replies
Solved

Call to undefined method Modules\Oauth\Repositories\Eloquent\EloquentMemberRepository::attempt()

$email = $request->get('email'); $password = $request->get('password'); $password = md5($p...

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.

© 2025 Laravel.io - All rights reserved.