Support the ongoing development of Laravel.io →
MacWorks

MacWorks

Joined 6 Feb 2014

Statistics

Threads 6
Replies 13
Solutions 2
Articles 0
posted 11 years ago

How do I properly mock a repository?

I've given up a couple times now but with a fresh night of sleep I'm back at it because I'm determin...

0 Likes
1 Replies
Solved

Trying to learn TDD

I'm reading through Jeffery Way's book "Laravel Testing Decoded" and I've run into a snag....

0 Likes
0 Replies
posted 11 years ago

Could not load 'guard/phpunit'

I am following along with Jeffery Way's book Laravel Testing Decoded. In chapter 4 he outlines insta...

0 Likes
3 Replies
Solved
posted 11 years ago

Plain Text Email & Line Breaks

How does one add a line break to the plain text version of an email message when using a blade templ...

0 Likes
4 Replies
Solved
posted 11 years ago

Nested route groups

How do I nest route groups? I'm on 4.1.23 and when I attempt to nest route groups I get an "arr...

0 Likes
8 Replies
replied 11 years ago

how to work with MVC (which Controllers to make, ...)

I tend to create controllers based on models. So I have "UserController" for things that...

0 Likes
replied 11 years ago

Can I do both static on dynamic blade?

I don't believe you need the ";" at the end of each. Have you tried placing each one on it...

0 Likes
replied 11 years ago

How to structure a website built upon own API in laravel

I haven't yet implemented other APIs, but couldn't you just include a get variable in the request, s...

0 Likes
replied 11 years ago

Plain Text Email & Line Breaks

The issue turned out to be that if only sending text, one must explicitly pass an array to the Mail:...

0 Likes
Solved
replied 11 years ago

Plain Text Email & Line Breaks

That doesn't work ... it simply adds "\r\n" into the output

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.