Let's take a look at how you can extend the CommonMark converter to make working with links easier and allow you to strikethrough text.
Markdown is a great way of making notes, writing articles and generally managing content. Let's take a look at how quickly you can begin using Markdown in your PHP applications.
Learn how to build a remaining character counter in Alpine.js using only a few lines of code.
Sometimes your controllers can get rather large, especially if you have lots of conditions and data formatting. Have you ever considered moving some of that complexity out into a dedicated response class?
Have you ever used a service provider to set a default value for a third-party library? Have you ever done this based on the current request or URL? Have you ever considered doing this inside of middleware instead?
A quick look at how you can configure your GitHub Actions workflows to only run when a certain phrase is present in the commit message.
Laravel makes use of the internal Pipeline
class and it's more common in userland too, but have you ever considered tidying up these pipeline processes with custom pipeline classes?
Reusability is important when it comes to scaling projects and future-proofing the maintainability of a project. Let's take a look at how you can write more re-usable components in Alpine.
Helper methods can be, well, helpful. Did you know that you can actually write helper methods in your Livewire classes and use them really easily in your Blade views?
We all come across tasks that are repetitive and probably struggle to find ways of making them more re-usable in our Alpine components. Since v2.5 we can register custom magic variables that can help us out with that.
One of jQuery's most powerful and popular features is the slide
helpers and lots of people would like to replicate these in Alpine, so let's take a look at how we can do just that.
When registering grouped routes using Route::group()
, it's normal to register those nested routes using the Route
facade, but have you ever used the $router
variable?
Code reusability is a big thing to consider when working on larger applications, but have you ever considered using synchronous jobs?
Join me as I go through some strange and unconventional things that you can do in your Laravel applications, starting with auto-validating Laravel models.
Adding a class to make the current page "active" in your application's navigation is a simple UI improvement. Let me show you how I typically do this in my apps.