1. How to Use a PHP Code Check to Measure the Aspects that You Need to Change to Improve Your Code Quality
Updated on: 2022-10-14
Posted on: 2022-10-14
Blog: Yii2 CodeStat package blog
Package: Yii2 CodeStat
If you write complex code, it would be good if you could improve the way you write your code to make it less complicated.
Measuring the complexity and other aspects of the quality of your code can be helpful for you to have an idea of how good is the code you write and what parts you need to improve.
This package combines several other packages that measure different aspects of your code and generate a report that you can analyze and discover opportunities to make your code better.



1111. Find MySQL Slow Queries by Activating the Slow Query Log - 7 minutes - Lately in PHP Podcast Episode 93 Part 1
Updated on: 2022-10-13
Posted on: 2022-10-13
If you optimize the database queries that are the slowest, it may make a lot of impact on the speed of an application.
The first step in optimizing the slowest database queries is to find which are the slowest queries. Using MySQL as the database server, you can find the slowest queries by activating the slow query log.
Read this article, watch a 7-minute video, or listen to part 1 of episode 93 of the Lately in PHP podcast to learn how to enable the MySQL slow query log.



1. How to Use a PHP Instagram Client that Can Retrieve Instragram User Details without Using the Instagram API
Updated on: 2022-10-12
Posted on: 2022-10-12
Blog: PHP Instagram API Query package blog
Package: PHP Instagram API Query
Applications can retrieve information about Instagram users using its API and the OAuth protocol.
This package provides a simpler alternative to retrieve several types of Instagram user details that do not require using the Instagram API and the OAuth protocol.
The package accesses the Instagram pages and extracts several types of user details from the Instagram user pages HTML.



1. How to Automatically Create Migration File for PHP Applications Using YII Framework
Updated on: 2022-10-11
Posted on: 2022-10-11
Blog: YII2 Migrik package blog
Package: YII2 Migrik
When those applications need to change the model class structure, they also have to update the database schema of the tables to modify the table to store the model class object variables.
MVC-based frameworks like YII2 can support the concept of migrations to perform this kind of application changes to the model classes.
This package implements a migration solution for YII2 framework-based applications that simplifies the generation of migration files for these applications.



1. How to Use a PHP PDF Merger Library to Combine Several PDF Documents into a Single Document
Updated on: 2022-10-07
Posted on: 2022-10-07
Blog: Easy Merge2PDF package blog
Package: Easy Merge2PDF
If you already have separate documents and images you want to combine, this package provides a solution that uses an external program with the name merge2pdf that you can use on the machine you use to run PHP.



1. How to Use a PHP MySQL Diagram Generator to View the Schema of Tables of a MySQL Database
Updated on: 2022-10-05
Posted on: 2022-10-05
Blog: PHP MySQL Draw package blog
Package: PHP MySQL Draw
Sometimes developers need to have a good view of the current version of a database table schema they are using in their applications to understand the data that the applications can store in the database, so they can figure better how to implement the new features of their applications.
This package provides a way to generate diagram images of a MySQL database schema from a command line interface console.



1. How to Implement a PHP Health Check Solution Calculating Different Factors of the Health of a Person
Updated on: 2022-10-04
Posted on: 2022-10-04
Blog: PHP Health Check package blog
Package: PHP Health Check
There are many aspects of a person's health to consider. Usually, it all starts by having an appointment with a doctor.
That doctor will probably ask you to do a set of health exams, so he can check what aspects of your health you need to improve.
After doing those exams, it is helpful to keep track of the result values, so you can repeat those exams later and compare whether you evolved in those health aspects.
To evaluate your health, you need to perform calculations with the values of the results of several exams.
This package provides a way to calculate many types of health factors so you can



1. How to Create New Laravel Nova Fields to Create Administration Panels with Less Effort
Updated on: 2022-10-03
Posted on: 2022-10-03
Blog: Laravel Nova Quick View package blog
Package: Laravel Nova Quick View
Developers can extend it with additional components that provide better features and new panel elements.
This package can simplify the generation of the output of a Laravel Nova panel element.
It can help reduce the code that Laravel Nova panel elements need to write to generate the output that defines how each panel element appears to the users.



1. How to Implement a PHP Products Search that Can Return Recommended Products for Tourists to Buy When They are in Given City
Updated on: 2022-09-30
Posted on: 2022-09-30
Blog: PHP Products Recommendations package blog
Package: PHP Products Recommendations
This package provides an API that can return recommendations for products to buy in a given city the according to the current weather conditions.
These features help implement applications for the tourism market.



1. How to Define PHP Routes for HTTP Requests using PHP 8 Attributes to Extract Details from Routing Class Code
Updated on: 2022-09-29
Posted on: 2022-09-29
Blog: Potato Service package blog
Package: Potato Service
This package uses this possibility to implement an MVC framework that developers can use to configure HTTP request routes using route classes that comment attributes that define the details of the routing of HTTP requests to controller classes.
This way, developers can define the PHP application HTTP request routing configuration in the same class file that implements the routing code.
This possibility makes it easier to maintain complex PHP applications because it avoids the need to define routing PHP code in a separate file from the routing configuration.


