My Book List For 2022 As an Amazon Associate, I earn from qualifying purchases. This page contains affiliate links. If you choose to purchase after clicking a link, I may receive a commission at no extra cost to you. These
PHPStorm Shortcuts For Mac
Here are some great keyboard shortcuts I have set up to help you become more efficient in PHPStorm!
Inject Storage in Laravel
How do you inject Storage in Laravel? I’ve noticed in my Google searches that all the examples I come across on how to use the various components of Laravel only show how to use Facades. But what if you want
PHP 8 Named Arguments
In PHP 8, you can use named arguments, which allows you to provide the parameters of a function in any order: PHP 7.x PHP 8 Even if you choose not to reorder the params, it will make the code clearer
A fast way to reformat code in PHPStorm
Today I found a way to do a regex find that makes reformatting code easy. Let’s say we have some code like this: and you want it formatted like this: This is what I prefer because it gives more breathing
pushd / popd
I learned a great Linux command today! I find myself jumping between my web directory and the apache config directory occasionally on my server, and by using pushd from the web directory, I’ll now be able to quickly return to
Learning Docker
Today I finished the tutorial for Docker, located at https://www.docker.com/101-tutorial This is something I’ve been wanting to dive into for a whale (I mean while) 😉
Pipelines
Have you heard of the pipeline pattern? The pipeline pattern is used by Laravel internally, and is a really nice way to clean up your code. I found a video that explains it well. I watched yesterday, then today I
Keeping busy during trying times
Having so much time off as I have lately, I’ve been taking the opportunity to clean up my online digital world a bit. Things like creating headers for all the social accounts tied to our Basenji Adventures brand, and creating