How to Develop with Laravel Homestead

Are you interested in Laravel but don’t know how to start? Homestead is a Laravel project that simplifies the creation of a local environment configured to run Laravel applications. Bring your laptop and when we’re finished you’ll have Homestead running and a fresh install of Laravel ready to work with. Recorded live at Madison Laravel…

What is the best way to handle sessions with ADR?

Right before Christmas, I reached out to Paul Jones asking: I’ve reached a point with a couple of my Radar projects where I need to add a login and set permissions. I’m trying to figure out the best way to handle this, especially with PSR-7 and ADR. This led to discussing how to do sessions…

What is the best way to inject a logger?

I’m working on several projects right now that I’d like to be able to generate logs from. The problem is that logging isn’t required for the code to work, so how do I configure it? I see three possibilities: Required in Constructor

Pros Cleanest implementation Cons Requires user to pass in a logger even…

PSR-7 Objects Could Be Immutable

I’ve been thinking a lot about immutable objects lately. Yegor Bugayenko claims that Objects Should Be Immutable and PSR-7: HTTP message interfaces are designed to be immutable. Messages are values where the identity is the aggregate of all parts of the message; a change to any aspect of the message is essentially a new message….