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

How do I write test case for a command handler

I have this CreateUserCommand and it expects User $user, Mailer $mailer And I tried writing the test...

0 Likes
0 Replies
posted 10 years ago

Nginx from Apache - class not found error

Hey folks.. just signed up for Forge (which uses nginx) and have my application running there and no...

0 Likes
1 Replies
Solved
posted 10 years ago

Executing sql query in scheduled time

Hi, i using laravel 4 and looking for a way to run some sql query (that check something to mysql dat...

0 Likes
0 Replies

Where in Join

Well i tried to post my problem, but the forum mark it like spam (?) so here is my question http://l...

0 Likes
0 Replies

How to use Sonus (to manage FFMPEG) in Laravel 4.2

Has anyone already used the package Closca/Sonus (https://github.com/closca/sonus) to do video conve...

0 Likes
3 Replies

How to trigger method when sync is called?

I have two models tag and post. When i create the tag I assign it like Post::find(1)->tags()->...

0 Likes
2 Replies
posted 10 years ago

CSV File Upload validation issues

I am trying to upload CSV files and put a rule to validate the format but it is not working. I also...

0 Likes
2 Replies
posted 10 years ago

Soft Delete in pivot table

Hi all, in the blazoned example of Article-Tags i've the soft delete for the articles. $article->...

0 Likes
0 Replies

Laravel's Router accepts anything

Hi, I realize that if you have URL rewriting enabled, the router accepts anything before "/inde...

0 Likes
2 Replies
Solved

Few routes are not working

Following is my production environment: Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-44-generic x86_64) Ngin...

0 Likes
1 Replies
posted 10 years ago

Getting variable from url

I have an admin page that displays a list of schools and then upon clicking on a school, the admin i...

0 Likes
0 Replies

Error in laravel 5.0.18 - write permission in vendor directory

With this new version laravel is trying to write in the vendor directory with, obviously, some write...

0 Likes
1 Replies
Solved
posted 10 years ago

Laravel Html Helpers

I'm trying to make an upload form. I've required "illuminate/html": "5.0.*@dev"...

0 Likes
1 Replies

Problem with URL encoding & gets replaced by &-amp; for no reason

Hello i am quite new to the Laravel Framework and have a Problem with URL encoding. I am trying to c...

0 Likes
3 Replies
posted 10 years ago

Timing issues when use has relationship

Hello everyone, i am facing timing issues when i use has relationship. Specifically I have models 'P...

0 Likes
6 Replies
Solved

How to get most repetitive values with Eloquent?

I have relation many to many (posts and tags) in Eloquent. Is it possible to order tags in the pivot...

0 Likes
1 Replies

New project -- browser 404 error

I'm in the beginning stages of learning Laravel and I set up my environment using the latest Compose...

0 Likes
1 Replies

Interface to get user info (picture, details etc) that abstracts facebook/twitter/ origin?

Hello, In my site i want to implement a facebook/twitter login and also full sign up option. in my...

0 Likes
0 Replies

Query to pull selected fields

Hello all, Rather new to Laravel 5, I am trying to pull data with its relation and define specific f...

0 Likes
2 Replies
posted 10 years ago

IoC not working properly when fetching data

Hi guys I'm trying to inject the validator class into my models // app/Model/Model.php <?php name...

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.