September 9, 2024 Recently we went deep into the Laravel authentication system for some improvements and to add Multi-Factor authentication. I discovered some interesting details on how Laravel password hashing works. ...
September 4, 2024 I use this technique to group the bug fixes array by date in the Inspector dashboard, and I thought it could be a good code snippet idea for others. I also wrote an implementation for Laravel blade te...
September 2, 2024 Redis Throttle is a fantastic feature provided by the Redis facade in the Laravel framework. It’s a convenient way to limit the rate at which certain actions can be performed. Redis::throttle("ra...
August 29, 2024 I recently had the opportunity to discuss the adoption of Inspector by a team of developers based in Brazil. At the time they were using NewRelic to monitor their applications, but found that it was n...
August 26, 2024 To create a statistical query to build a histogram chart with MySQL, you can use the COUNT() function along with GROUP BY to count occurrences of values within a specified range or category created by...
August 22, 2024 PHP attributes were introduced in PHP 8.0. This version marked a significant milestone for the language, bringing several new features and improvements, including the introduction of attributes for ad...
August 21, 2024 Recently I had to deal with some limitations of my database provider that doesn’t support table renaming. So I had to duplicate a table manually. The database of my SaaS platform is hosted on Planetsc...
August 17, 2024 If you are dealing with the error: "Integrity constraint violation: Cannot add or update a child row: a foreign key constraint fails", you are in the right article. Usually you encounter thi...
August 16, 2024 Guzzle is a popular PHP HTTP client that makes it easy to send HTTP requests and create web service libraries. The most popular PHP frameworks provides an internal Http Client service, and they are si...
August 15, 2024 Associative arrays are a fundamental data structure in PHP, allowing developers to store key-value pairs. They are versatile and commonly used to represent structured data. Searching for specific elem...