Support the ongoing development of Laravel.io →

[Laravel 5] Reminders table

Hello Does laravel 5 have an artisan command for making the reminders table? I've tried what I've fo...

0 Likes
1 Replies

Mapping laravel homestead folders and app

I managed to install laravel homestead on windows 7 and all seems to work correctly. Yet, I fail to...

0 Likes
0 Replies

Laravel lang from another path

Hello there. I want to create a multi site with multi languages support. All`s good for now: i cre...

0 Likes
1 Replies
posted 10 years ago

How to use {{-- --}} Blade comments with L5 if keeping the L4-style output/escaping tags?

I find that a lot of the output I do in my views shouldn't be or doesn't need to be escaped. After...

0 Likes
0 Replies
posted 10 years ago

Cache a View with dynamic content

I am trying to work out how to cache a blade view, that has dynamic data. My concept is this: I have...

0 Likes
0 Replies

eager loading on polymorphic relation

Hi there. Here is my problem I have an eloquent model called Notification with a polymorphism relati...

0 Likes
6 Replies

L4 - unable to get custom pagination to render

I have a view in (inbox/pagination.blade.php) Here is the contents @if($paginator->getLastPage()...

0 Likes
0 Replies
posted 10 years ago

Best practice for making specific data accessible across all controllers

Currently I am working on a multi site platform on Laravel 5. When a user accesses the site, the set...

0 Likes
6 Replies
Solved
posted 10 years ago

How to create your custom login method

Hello, How do I create my own custom login method? I know that extending a trait is not posible. htt...

0 Likes
2 Replies
posted 10 years ago

polymorphic relationships and laravel - two messaging systems

I am building a specific kind of messaging system. A user can message a user. A user can message a c...

0 Likes
6 Replies
Solved

Globally include User model L5

Yo! I would like to use User::find to every page of my Laravel site, views and controllers. In Larav...

0 Likes
0 Replies

Eloquent query to get posts in the past 24 hours with the most messages

So, I have a situation where users can add posts to a forum and then comment on those posts. What I...

0 Likes
1 Replies

Image file name not saving in database L4.2

I try to update user image but when i try to update it save image name in database like C:\wamp\tmp\...

0 Likes
0 Replies
posted 10 years ago

General error: 1215 Cannot add foreign key constraint

Hello, I have this migration file <?php use Illuminate\Database\Migrations\Migration; class Cr...

0 Likes
2 Replies
posted 10 years ago

table join where clause

I'm going through the laravel documentation and practicing table joins and I am trying to join 2 tab...

0 Likes
1 Replies

How do I use Eloquent to "morph to one" or "has one through"

Basically, I'm trying to use the following table structure in Eloquent. I have a polymorphic table t...

0 Likes
0 Replies
posted 10 years ago

DB::Statement binding params for multiple inserts

Hey all, I have the following : - https://gist.github.com/rsmarshall/24b52155d162d6c781cf At the end...

0 Likes
1 Replies
posted 10 years ago

Slow booting time (nearly 1s)

I've developing a website using Laravel 4.1, and I'm seeing very slow loading times on every page....

0 Likes
1 Replies

How to increase the id in a database?

Hello, i would like to know how can i increase the starting id in a database of users.

0 Likes
4 Replies
posted 10 years ago

decorator pattern, service provider, controller

Hi, I have service provier: class TwitterServiceProvider extends ServiceProvider { public functi...

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.