march 18, 2020
laravel
, eloquent
, scopes
, modular
, relationships
Laravel Eloquent models are not `Macroable` by default, if you want to add a relationship dynamically on a model in another module or package, you need to macro through the `Builder` instead of the `Model`.
read more
january 25, 2019
laravel
, user provider
, legacy
, passwords
We have a couple of legacy projects with user records containing passwords encrypted using SHA-1, when moving these projects over to Laravel, we want to attempt to authenticate using Eloquent first and SHA-1 next.
read more
december 13, 2018
laravel
, middleware
I write everything inside of packages, install using composer and use Service Providers to hook things up. When you do things this way, you make it very easy to upgrade. However, you lose some of the magical, inherently solved problems.
read more
november 14, 2018
personal
Jumping on the latest Laravel community bandwagon, I'm documenting the software and configurations I use currently to develop software at the end of 2018.
read more
october 26, 2018
eloquent
, collection
Many Laravel newbies don't know that you can customize the collection returned by a query, so they end up writing tons of after-query functions to wrangle their results. I know a better way.
read more
october 13, 2018
laravel
, theme
Have you ever wanted to break away from the resources folder in Laravel and have different template themes for your frontend? The key to this is actually very simple. Let me show you.
read more
september 9, 2018
email
, amazon
Track open, click and delivery rates for transactional emails in Amazon SES by attaching the correct Configuration-Set Email Headers to all Laravel Transactional SMTP Emails.
read more