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  
  1970 - 1961   ...   1840 - 1831   1830 - 1821   1820 - 1811   1810 - 1801   1800 - 1791   1790 - 1781   1780 - 1771   1770 - 1761   1760 - 1751   1750 - 1741   1740 - 1731   1730 - 1721   ...   10 - 1  

1. How to Use a PHP Active Record Library to Implement Behaviors Useful for Many Applications

Updated on: 2023-06-15

Posted on:

Blog: Yii2 Active Record Explicit package blog
Package: Yii2 Active Record Explicit

ActiveRecord is a common design pattern many software applications use to map objects containing the information of entities that the applications need to manipulate into database records.

There are ActiveRecord implementations in many programming languages that use different frameworks.

The package extends the ActiveRecord implementation of the PHP Yii2 framework to implement more explicit behaviors useful for many applications, such as specifying read-only attributes, timestamp attributes, and type casting.


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

1157. PHP Current State and Performance in 2023

Updated on: 2023-06-14

Posted on:

PHP is a modern and powerful language, but new language elements should be used with caution.

Please read this article to learn a few facts about PHP's current state and performance level according to the experience of David Tamas (that's me), a long-time experienced PHP developer.


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

1. How to Implement a PHP Contact Form to Send Email to Site Users Without Using a Database Server

Updated on: 2023-06-12

Posted on:

Blog: PHP Contact Form with Database Connection to SQLite package blog
Package: PHP Contact Form with Database Connection to SQLite

Contact forms are prevalent features many sites have to let users contact the site managers to send important messages.

This package implements a contact form manager that stores messages in an SQLite database.

Since SQLite uses local files, it does not require a database server. This package does not need a database server to store contacts, making it simpler to implement in any site with PHP code.


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

1. How Does the PHP Code Generated By OpenAI Artificial Intelligence Services to Answer Developer Questions Looks Like

Updated on: 2023-06-07

Posted on:

Blog: PHP Artificial Intelligence Example Code Generated by OpenAI package blog
Package: PHP Artificial Intelligence Example Code Generated by OpenAI

Generative artificial intelligence tools can generate files in many formats.

Programming code files are one of the types that artificial intelligence services like those from OpenAI can generate.

This package provides several examples of code in PHP and other languages generated by OpenAI services when they try to answer many developers' questions.


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

1. How to Merge Excel Files into One Using PHP

Updated on: 2023-06-06

Posted on:

Blog: PHP Merge Excel Files Merge Excel Files To One Per Column package blog
Package: PHP Merge Excel Files Merge Excel Files To One Per Column

Excel is a popular tool for creating spreadsheets. It saves spreadsheet data in XML-based format, which usually is called XLSX.

This XML format makes it easy for PHP developers to process and create spreadsheet files in Excel XSLX format.

This package provides a script that uses an Excel parser and generator classes to show how to parse several Excel spreadsheet files and combine their values to generate a new spreadsheet that merges the importance of all spreadsheets in a single spreadsheet.

This way, other developers can learn to process multiple spreadsheets and combine them in a way that is convenient for their application purposes.


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

1. Find Out How Fast Are PostgreSQL JSONB Fields Using a PHP Postgresql JSON Performance Tool

Updated on: 2023-06-02

Posted on:

Blog: PHP PostgreSQL JSONB Performance package blog
Package: PHP PostgreSQL JSONB Performance

JSON is a text format often used to represent complex data structures like objects and arrays.

JSONB is a modern type of field that the latest versions of the PostgreSQL database servers provide to store JSON data in binary format.

The possibility that PostgreSQL servers provide can make processing JSON data stored in PostgreSQL databases faster.

This PHP package implements a benchmark tool to measure the performance of accessing PostgreSQL database tables with JSONB fields for everyday database operations like indexing, searching, and filtering results.


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

1. How to Use a PHP Dependency Injection Container for Math Operations to Improve the Level of Precision with Different PHP Libraries

Updated on: 2023-06-01

Posted on:

Blog: PHP Dependency Injection Calculator package blog
Package: PHP Dependency Injection Calculator

When a developer needs to solve a problem, several types of solutions can work as alternatives.

For instance, a developer may store and retrieve the application data using different databases.

In this case, using different classes that implement the same database access operations with other codes is recommended for accessing different types of databases.

Then the application may write code that works well with different databases.

If, in the future, the developer needs to change the application to use a different type of database, he needs to use an object to access that type of database without needing to change the code of the rest of the application.

In this case, the application uses a database access object and injects it into the code that implements the application.

This approach to separate the application code from the implementation class code that the application depends on is called dependency injection.

This package implements this approach to perform math operations. It provides a main class that implements several types of math operations. It also offers several classes that implement those math operations with different PHP extensions that provide various types of precision.


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

1. How to Use a PHP DOCX to PDF Converter using LibreOffice

Updated on: 2023-05-31

Posted on:

Blog: Bitrix24 PHP LibreOffice Convert DOCX to PDF and JPEG package blog
Package: Bitrix24 PHP LibreOffice Convert DOCX to PDF and JPEG

PDF is a popular format used to store files of documents that are meant for printing.

DOCX is a popular format used by Microsoft Word application to store documents created by people that use that application to create and share documents.

The DOCX format may also store document files generated by other software tools. Some of those tools can be written in PHP.

PHP document generation tools may also process template documents stored in DOCX format files.

When document files in DOCX formats need to be printed, converting those files to PDF could be a good solution because the PDF format considers the physical dimensions of the published document.

This package provides a solution to convert one or more DOCX documents to PDF or JPEG using the LibreOffice application. This way, you can implement a conversion system based on free software.


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

1. How to Use an Extension of PHP Excel Package to Support Better Pivot Tables

Updated on: 2023-05-31

Posted on:

Blog: PHP Excel Pivot Tables package blog
Package: PHP Excel Pivot Tables

Excel is a popular spreadsheet tool many people use to keep track of financial information in tables of rows and cells.

Excel supports pivot tables. Pivot tables can show aggregated information from rows and cells that provide more extensive information. Pivot tables can be used to show summaries of information to help people working with finances make better decisions related to their businesses.

A PHP package named PHP Excel provides several classes to manipulate spreadsheets stored in Excel XLSX format.

This package can extend the PHP Excel package to provide more extensive support to pivot tables.


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

1. How to Use a PHP IP Logger Application that Can Create Short URLs and Provide an API to Extend Its Possibilities with External Applications

Updated on: 2023-05-29

Posted on:

Blog: PHP IP Logger package blog
Package: PHP IP Logger

One way to measure statistics of the access to site pages is to track the IP addresses of the computer or phone of the users that access those pages.

This package provides a short URL application in PHP that associates URLs with short-string codes with longer URLs.

When users access pages with short string codes, this application can track the user's access to the pages with long URLs.

This allows this application to track several types of statistics that may be useful for page owners to evaluate the audience of their pages.

This application also provides an API so external applications can process the statistics of the page accesses in a way that is more convenient to those applications.


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

  1970 - 1961   ...   1840 - 1831   1830 - 1821   1820 - 1811   1810 - 1801   1800 - 1791   1790 - 1781   1780 - 1771   1770 - 1761   1760 - 1751   1750 - 1741   1740 - 1731   1730 - 1721   ...   10 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article