PHP Classes

PHP Classes blog

Recommend this page to a friend!

Latest PHP Classes blog posts

  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article  
  1684 - 1675   1674 - 1665   1664 - 1655   1654 - 1645   1644 - 1635   1634 - 1625   1624 - 1615   1614 - 1605   1604 - 1595   1594 - 1585   1584 - 1575   1574 - 1565   1564 - 1555   ...   4 - 1  

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:

Blog: Yii2 CodeStat package blog
Package: Yii2 CodeStat

You can measure the quality of a developer's code in several ways. For instance, complex code may be hard to maintain.

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

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:

One of the factors that may make a Web application slow is the speed of execution of database queries executed by the application back-end code.

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.


Blog More ...   Post a comment Post a comment   See comments See comments (4)   Trackbacks (0)

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:

Blog: PHP Instagram API Query package blog
Package: PHP Instagram API Query

Instagram is a prevalent social network on which people can post their content, mainly using pictures and videos.

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Automatically Create Migration File for PHP Applications Using YII Framework

Updated on: 2022-10-11

Posted on:

Blog: YII2 Migrik package blog
Package: YII2 Migrik

Most applications use the MVC (Model View Controller) design pattern to implement model classes to map application data objects into database table records.

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

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:

Blog: Easy Merge2PDF package blog
Package: Easy Merge2PDF

Some applications need to combine text and images into a single document. The PDF format suits that purpose when the users want to print the document.

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

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:

Blog: PHP MySQL Draw package blog
Package: PHP MySQL Draw

MySQL is a popular database system used by many developers of many different languages.

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

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:

Blog: PHP Health Check package blog
Package: PHP Health Check

People must keep track of their health when they want a good quality of life.

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


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. How to Create New Laravel Nova Fields to Create Administration Panels with Less Effort

Updated on: 2022-10-03

Posted on:

Blog: Laravel Nova Quick View package blog
Package: Laravel Nova Quick View

Laravel Nova is an administration panel built using Laravel.

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

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:

Blog: PHP Products Recommendations package blog
Package: PHP Products Recommendations

Many people like to do tourism travel to places that they don't know. When in those places, they want to buy products that probably only exist because of the weather and bring souvenirs.

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

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:

Blog: Potato Service package blog
Package: Potato Service

PHP 8 implements the possibility to extract attributes defined in comments of PHP classes using PHP reflection support.

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.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

  1684 - 1675   1674 - 1665   1664 - 1655   1654 - 1645   1644 - 1635   1634 - 1625   1624 - 1615   1614 - 1605   1604 - 1595   1594 - 1585   1584 - 1575   1574 - 1565   1564 - 1555   ...   4 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article