Support the ongoing development of Laravel.io →

Is it advisable to bind application data to request in Laravel 5

Would it be advisable, if i am doing authentication in a middleware and adding some data to the \Ill...

0 Likes
0 Replies

HHVM and pgsql PDO exception

I am using Laravel 5 along with homestead 2. I was getting a PDO driver exception, which was driving...

0 Likes
0 Replies
posted 10 years ago

Dispatching a delayed command

Hi guys, I read the documents and I looked up on Google and I can't seem to find an answer for what...

0 Likes
0 Replies
posted 10 years ago

adding a symfony app to homestead

I am trying to add symfony app to homstead in order to use it in the backend and laravel in the fron...

0 Likes
0 Replies

Problem with Select2 jquery in Laravel 5

Hi everyone! I started with Laravel 5 following the Blog example from Laracasts (Laravel 5 Fundament...

0 Likes
4 Replies
Solved

Combine Foreach Loop and Eloquent to perform a search

I am quite confused about when, where and how I should be writing this query.. This is my array from...

0 Likes
6 Replies
Solved

Page updates while processing

Hello everyone! I have a PHP script that can take a few minutes to be done. It's some search engine...

0 Likes
9 Replies
Solved

Laravel, eloquent, returning a value from a select with a inner join with pivot table

Hello, I'm new with Laravel and im'trying to use as best as I can, but I'm having trouble getting...

0 Likes
2 Replies
Solved

Integrate Payment Gateway in Laravel 4.2

Am developing application using laravel 4.2 and one doubt for how to integrate payment gateway in la...

0 Likes
0 Replies

Composer autoload classmap in database/seeds failed to generate autoload.php

I have a seed file app/database/seeds/StoryContentsCollectionSeeder.php that contains the following...

0 Likes
0 Replies

retrieve all children of hasMany relationship

Using $posts = Post::find($id)->comments()->get(); i can get children of single using $posts...

0 Likes
3 Replies

Working with Database with Several Schema's and Tables with No Foreign Key Relationships

Hello Community... New guy here working on private project that is far simpler that my work scenario...

0 Likes
0 Replies

Ask user/password for migrations

Is there a way to make a command like php artisan migrate:install --database['mysql_bis'] asks for c...

0 Likes
0 Replies
posted 10 years ago

Require HTML in L5

What is the better way to include HTML package? "require": { "illuminate/html&quo...

0 Likes
1 Replies
Solved

Extend command bus

Hi, I want to extend the command bus, just say I want to add a new function "Send($aggregate_id...

0 Likes
1 Replies

Join Category Table on Articles query.

I am trying to join two tables so that I can get the article name and slug, with only one query as I...

0 Likes
2 Replies
Solved

Shortcuts in eager loading?

I know that I can use the below to eager load relationships, but how do I add "shortcuts"...

0 Likes
1 Replies

Many to many relationship with extra field

I am providing an example there are two tables paper and question in paper table {id, name} in quest...

0 Likes
3 Replies
Solved

User Relationships and Fields Question

I'm creating a relationship between a User model and Post model. I created the relationship as foll...

0 Likes
3 Replies
Solved

Route to Controller function

I am following a guide, where they have all routes set in the routes.php file and I am attempting to...

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