Support the ongoing development of Laravel.io →
pickupman

pickupman

Joined 20 Feb 2014

Statistics

Threads 1
Replies 52
Solutions 8
Articles 0
posted 9 years ago

L5.3 Unit Testing with FindOrFail ModelNotFoundException

I am writing a unit test for a route passing a $id and have a ModelNotFoundException being thrown. I...

0 Likes
0 Replies
replied 11 years ago

Combine REST-Controllers with normal controllers and views?

This is an example of how this can work. If your api endpoint names can also be urls, then you can d...

0 Likes
replied 11 years ago

Getting started with testing

I highly recommend the book as well. Well worth the money you pay for it. As mentioned in the book,...

0 Likes
replied 11 years ago

artisan on live server

Most shared type hosting plans like on GoDaddy will not have composer installed for you to use. You...

0 Likes
Solved
replied 11 years ago

How to set existing table column to be unique in a migration?

Sometimes you have to look into the API, when you don't see it in the docs. The schema command to dr...

0 Likes
replied 11 years ago

why is simple migrations commands messed up.

I think the actual artisan command help for this item is incorrect or not clear. The working syntax...

0 Likes

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.

© 2026 Laravel.io - All rights reserved.