PHP
Request Level Validation
Did you know it’s possible to use Laravel’s validation tools even when you’re validating a part of your request that wasn’t provided by the user? In our latest post, Andrew Morgan shares four approaches to Read more…
PHP
How to secure model ID’s in Livewire and why this is important
One caveat in Livewire (version 1 and 2) is that only public properties remain state between Livewire interactions. This shouldn’t be a problem, at least not if you’re aware of how a potential hacker would Read more…
PHP
Angular Dropdown With Search And Multi Select.
In this post, we will learn to select dropdown with search and multi-select features. i=It’s a simple example of a dropdown with search and multi-select using ngselect. This article will implement an angular ngselect box Read more…
PHP
★ Using Laravel Sanctum to create dynamic abilities
[AdSense-A]
In Oh Dear, we recently added the ability to create fine-grained API tokens that are scoped by a model. Behind the scenes, it uses Laravel Sanctum to create and verify abilities.
In this blog post, I'd like to give you a peek behind the scenes and show how we set this us.
PHP
★ Creating an onboarding email drip campaign using Mailcoach
One way to teach your audience the features you offer is by creating a drip campaign about all the features your platform offers. Better knowledge of all features hopefully leads to better conversion rates. Read Read more…
PHP
Disabling Composer’s script process timeout
A quick way of disabling Composer’s default script process timeout of 300 seconds (5 minutes). Easy to overlook in the docs. Read more
PHP
Local Environment Seeders in Laravel
This makes not just testing the UI of an app easier, but also makes onboarding new developers to a project simpler. Read more
PHP
Locality of Behavior
The LoB principle dictates that the behavior of a unit of code should be as obvious as possible by looking only at that unit of code. But I think something is missing from this discussion. Read more…
PHP
You might not need a repository in Laravel: 3 alternatives
We will crack the controversy of the repository pattern in Laravel. The good and the bad, and what alternatives we can use to build a maintainable codebase. Read more