The Laravel macroable trait allows you to add a new method into the class at runtime to use throughout your application.
Here are some tips you can use to speed up docker on your local machine, especially for developers using MacOS.
One of the new features in Laravel 7 is the creation of custom eloquent casts. Learn how to create your own custom casts instead of using attribute mutators.
Push a Docker image to the Docker hub on merges into master by using Github Actions.
Create a GitHub action that will build and run tests on your Laravel project
Learn how to clean up your local docker environment using docker prune.
Here we investigate using eloquent scopes and how we can refactor them into our own eloquent builder class.
ImageEngine can kick things up a notch. ImageEngine uses WURFL device detection and globally positioned device-aware servers to get the exact context an image is accessed from.
Each year Smashing magazine release an article of the best tips to help improve your frontend performance. Here they have over 80 tips on what you can do to improve your frontend performance. There's even a downloadable PDF of checklist you can use on your own projects.
A simple factory is an object that is used to generate an instance of an object for the client. The simplest way of understanding a factory is a object for creating other objects.
PHP 7.4 comes with a few new features that can help improve performance and make for cleaner code. Here's some of the new features that come with PHP 7.4.
Tell composer which version of PHP you want it to download packages for, making sure that all your install packages will be valid for production.
A small cheatsheet on composer versioning.
Learning about how you can format exception message classes.
Learn how to setup phpunit xdebug in a docker container and run your PHPStorm tests using this docker container.