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…
Jory Geerts asks: Do you have any thoughts on how [DomainSession] could be used from a CLI environment? The first thing to ask yourself is how would you like sessions to work on the command line? There are a few ways this could work. Each run has its own new session The main reason I…
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…
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
public function __construct(LoggerInterface $logger)
$this->logger = $logger;
Pros Cleanest implementation Cons Requires user to pass in a logger even…
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….