Valerio

@inspector

564 Points 1 Followers

39 Posts

0 Answers

CTO & founder at Inspector.dev

Valerio · 6 days ago

Logging Database Queries with Eloquent ORM and Laravel – Fast Tips

Having a more clear understanding of what your application really does during its execution is an increasing necessity. Logging the raw database queries generated by your preferred ORM is on...

Valerio · 1 week ago

Laravel Http Client Overview and Monitoring

Laravel HTTP client was introduced starting from version 10 of the framework, and then also made available in all previous versions. It stands out as a powerful tool for making HTTP requests...

Valerio · 1 week ago

Laravel Form Request and Data Validation Tutorial

In this article I will talk about Laravel Form Request to send data from your application frontend to the backend. In web applications, data is usually sent via HTML forms: the data entered...

Valerio · 2 weeks ago

Upload File in Laravel

You can upload file in Laravel using its beautiful unified API to interact with many different types of storage systems, from local disk to remote object storage like S3. As many other Larav...

Valerio · 2 weeks ago

Laravel Mailable Tutorial

Sending emails in Laravel requires the collaboration between three components: Laravel mailer, Laravel mailable classes, and the Mail facade. Each of the three deals with a different aspect...

Valerio · 3 weeks ago

Laravel Auth Routes Tutorial

Laravel auth routes is one of the essential features of the Laravel framework. Using middlewares you can implement different authentication strategies and attach them to different parts of y...

Valerio · 3 weeks ago

Laravel Livewire: What it is, and how to use it in your web app

Livewire is one of the most important projects in the Laravel ecosystem specifically targeted to frontend development. Livewire v3 has been recently released, so let’s explore what Livewire...

Valerio · 4 weeks ago

Laravel Password Hashing With Salt

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 hashi...

Valerio · 1 month ago

How to group array by date in PHP – Fast Tips

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 Larave...

Valerio · 1 month ago

Laravel Redis Throttle Fine Tuning: Tutorial

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::throttl...

Valerio · 1 month ago

NewRelic Alternative For Monitoring Laravel Octane

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 tha...

Valerio · 1 month ago

Create Histogram Charts With MySQL – Tutorial

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...

Valerio · 1 month ago

PHP Attributes: how to use PHP Attributes and create custom attribute classes – Fast Tips

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 attribu...

Valerio · 1 month ago

MySQL How To Duplicate A Table – Fast Tips

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 o...

Valerio · 1 month ago

[Resolved] Integrity constraint violation – Fast tips

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 enc...

Valerio · 1 month ago

How to monitor Guzzle Http Client – PHP Fast tips

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 t...

Valerio · 1 month ago

How to Search in a PHP Associative Array – Fast tips

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 spe...

Valerio · 1 month ago

Why use declare(strict_types=1) in PHP – Fast tips

In this tutorial, we'll explore what declare(strict_types=1) means, why PHP developers should use it and why not, and provide examples to illustrate its importance. This setting comes becaus...

Valerio · 2 months ago

PHP Iterators for walking through data structures – FastTips

PHP Iterators are essential tools for efficiently traversing and manipulating data structures like arrays, objects, and more. They provide a clean and memory-efficient way to work with large...

Valerio · 1 year ago

New level of control for error notifications in Inspector

The latest product update includes some changes in the configuration of error notifications. Now you can configure error occurrences notification separately for each error group and not only...

Valerio · 1 year ago

Observability vs monitoring

In this article I would share my experience working in the monitoring industry by providing some insights for the following questions about observability and monitoring: Is observability th...

Valerio · 1 year ago

The Architecture of Inspector Machine Learning API

In this article I want to share with you the design of the early version for the upcoming Inspector Machine Learning API architecture. We will focus on how we want to utilize this new intern...

Valerio · 1 year ago

AWS SQS in a large scale application

In today's article, I'm going to show you how we use AWS SQS in our Laravel application, and how it helps us to manage 1.6 billion operations each month. In the image below you can see our t...
1

Valerio · 1 year ago

Custom Tooltip Directive in Vuejs 3: Tutorial

Custom directives in Vuejs 3 are one of those things where there is no compatibility with the previous version of the framework. Working on the new version of the Inspector frontend dashboar...
1

Valerio · 1 year ago

Why and how to create an Event Bus in Vuejs 3

Have you ever used an event bus in Vue 2 and don't know how to recreate it in Vue 3? Since I'm working on the 2.0 version of my product's UI (to be released in May) I'm publishing some techn...
1

Valerio · 1 year ago

How to make Vite Hot Module Replacement work on Windows

As many of our community mamebers already know, we recently started the renovation of the Inspector dashboard UI with a fresh new design and a modern technology stack. In this article I will...
5

Valerio · 1 year ago

Laravel Vapor application observability with Inspector

Recently, more and more Inspector customers are writing to me for advice on how to integrate our observability platform to monitor their Laravel application deployed in the AWS serverless en...
2

Valerio · 1 year ago

Save 1.2 million queries per day with Laravel Eager Loading

Since various elements of the Inspector backend rely on Laravel, I worked a lot with the ORM component myself, and its Eager Loading features. The tradeoff in using an ORM always remains tre...
2

Valerio · 1 year ago

What is Autoscaling and how we use it to scale Inspector

A nightmare (or a dream 🙂 ) for any software developer is an unexpected high influx of traffic or a sudden change in usage patterns that cause an application crash due to lack of computing...

Valerio · 2 years ago

What Are Source Maps and How to Properly Use Them

You are debugging a web app for a client but the minified version of the Javascript and CSS code makes it impossible to understand what statements the browser is actually executing. You coul...

Loading More Content