shlogg · Early preview
Valerio @ilvalerione

Software Engineer, CTO & founder at Inspector.dev

What Happens In The Background?

Inspector is a code execution monitoring tool for devs. It integrates with Symfony Messenger Middleware to monitor background processes in real-time, offering features like HTTP monitoring & alert forwarding.

Base64 Encoding Best Practices For PHP Developers

Base64 encoding in PHP: validate inputs, enable strict mode for security & performance. Handle large files in chunks, use streaming & catch exceptions for reliable operations. Monitor workflows & balance security, performance & error handling.

CodeIgniter Monitoring Package Released

Built CodeIgniter monitoring package to fill gap in monitoring solutions for this framework, often overlooked by larger tools like Sentry & Bugsnag. Now available via Composer and easy to install.

Laravel Helper Functions Simplified With Array_map_assoc

Helper functions in Laravel provide access to algorithms via a single statement. Examples include `url()` for generating internal app URLs & `retry()` for retrying external API calls.

Enabling/Disabling PHP Native Functions In Php.ini File

Edit php.ini file to enable/disable native PHP functions like proc_open & proc_close by modifying "disable_functions" directive in /etc/php.ini or equivalent location.

Implementing Database Query Logging With Eloquent ORM In Laravel

Implementing database query logging with Eloquent ORM in Laravel enhances scalability & debuggability by capturing low-level instructions behind abstraction layers.

Uploading Files In Laravel Made Easy With Unified API

Upload files in Laravel using unified API interacting with local disk, FTP or AWS S3 through Storage Facade & disks configured in config/filesystems.php

How To Fix Integrity Constraint Violation Error In SQL Database

Fixing "Integrity constraint violation" error in SQL databases: Declare new column as nullable or use data migration job to fill valid IDs before adding foreign key constraint.

Guzzle Customization And Monitoring With Inspector

Guzzle is a popular PHP HTTP client that makes it easy to send HTTP requests & create web service libraries with customization & flexibility options.

Searching Values In PHP Associative Arrays

Learn how to search values in PHP associative arrays using array_key_exists(), array_search() & in_array(). Also, explore foreach loops & array_filter() for complex searches.

Monitoring Laravel Octane With Inspector

Inspector monitors Laravel Octane apps without server interaction, making it easy to track performance & errors. No need for complex setup or high costs like NewRelic. Try it for free!

How To Create A Histogram Chart With MySQL Using COUNT() Function

Create a histogram chart with MySQL using COUNT() & GROUP BY to count sales occurrences within monthly intervals, filling gaps with recursive CTE or Laravel code.

PHP Attributes In PHP 8: A Powerful Tool For Cleaner Code

PHP 8 introduced attributes for adding metadata to code declarations, improving code organization & efficiency. Built-in attributes like `Deprecated`, `Override`, and `SuppressWarnings` are available, as well as custom attribute classes.