1. How to Avoid PHP Bugs using Type Safe Variables
Updated on: 2022-11-25
Posted on: 2022-11-25
Blog: Ristretto PHP package blog
Package: Ristretto PHP
PHP was not originally a type-safe language. PHP is more tolerant of developer mistakes. This fact makes PHP a more accepted language among developers without formal education in programming.
This package provides a solution to make PHP more type-safe to avoid that applications shipping code with programming mistakes.
It provides several classes that implement type-safe operations, including some that are useful for cryptography applications.
With this package, you can implement cryptography applications with greater quality when compared to applications that do not use type safety.



1. How to Keep Track of All PHP Errors Not Showing to Users and Happen in the Same PHP Script
Updated on: 2022-11-24
Posted on: 2022-11-24
Blog: PHP Custom Error package blog
Package: PHP Custom Error
This package provides a simple class that can keep track of all error messages and codes that happen every time the current PHP script calls the class.
This possibility allows application developers to get a complete list of errors in executing a single script.



1. How to Use a PHP BlockChain API to Append Data to Your Application BlockChain Records
Updated on: 2022-11-23
Posted on: 2022-11-23
Blog: PHP Quill package blog
Package: PHP Quill
The Quill package is a PHP client package that can write data to a Chronicle server to update blockchains.
This package allows the creation of distributed clients that can generate blockchain data stored in a Chronicle server.



1. How to Create Custom Posts with PHP Template Scripts Using a WordPress Custom Post Type Plugin
Updated on: 2022-11-22
Posted on: 2022-11-22
Blog: WordPress Custom Post Type with Template package blog
Package: WordPress Custom Post Type with Template
One of those ways to extend WordPress capabilities is to create custom post types.
This package provides a class that can improve WordPress custom posts. It can render the pages of custom posts automatically using PHP scripts that define templates to generate the post HTML.



1. How Can PHP Get Page Content of a Past Version of a Web Site to Find Security Issues Due to Recent Changes
Updated on: 2022-11-21
Posted on: 2022-11-21
Blog: ReconCat package blog
Package: ReconCat
This way, it is possible to retrieve the contents of a given page as it was on past dates.
This package provides a command written in PHP that you can run from the command line console to retrieve many versions of the same. It can use threads to recover many pages faster.
The ability to retrieve past versions of a page can help detect changes caused by security incidents.
Security professionals can compare the versions of the same page to find pages that were changed and may need a new security auditing process to determine if people with bad intentions caused the changes.



1. How to Implement a PHP Social Network Script That Posts the Same Content in Multiple Social Networks at Once
Updated on: 2022-11-18
Posted on: 2022-11-18
Blog: PHP Social Network Sync package blog
Package: PHP Social Network Sync
If a single content post needs to be done separately for each social network site, that takes a lot of time for the person posting the content to all the social networks.
This package provides a more automated solution that can take much less time for the person doing the work to post on social networks.
It requires sending a single email message with the content to post to the cloud email service. Then that service can process the content and distribute it to different social networks.



1. How to Use PHP to Compute a GitHub Score for the Participation of a Developer
Updated on: 2022-11-16
Posted on: 2022-11-16
Blog: Github PHP Rating package blog
Package: Github PHP Rating
This package can analyze the participation of each developer on GitHub, and then it computes a score based on the types of events in which the developer participated.
This way, this package can give a better idea of how active each developer is in the projects hosted on GitHub.



1. How to Implement a WordPress Plugin Currency Converter
Updated on: 2022-11-15
Posted on: 2022-11-15
Blog: WordPress Currency Plugin package blog
Package: WordPress Currency Plugin
This package provides a WordPress plugin that allows site publishers to insert the currency exchange rate between the United States dollar and the Real currency of Brazil.



1. How to Implement a PHP Maintenance Mode to Show Useful Messages to the User of a Site While the Maintenance Work Lasts
Updated on: 2022-11-14
Posted on: 2022-11-14
Blog: Yii2 Maintenance package blog
Package: Yii2 Maintenance
During maintenance updates, the sites should not be accessible to regular users because the maintenance tasks may cause user interactions that lead to changes in information stored in the site database.
This package provides a solution to implement maintenance mode behaviors, for instance, showing warnings or only allowing administrators to access certain features of the sites.



5. How Can PHP Send Email Using Gmail SMTP Server for Free Using OAuth Tokens That Renew Automatically
Updated on: 2022-11-11
Posted on: 2022-11-11
Blog: MIME E-mail message sending package blog
Package: MIME E-mail message sending
The OAuth process obtains token string values from the Gmail OAuth server. These token strings are a sort of password to access the Gmail SMTP server.
The token strings are valid for a period that currently is 1 hour. After that period, applications that use the Gmail SMTP server will have to renew the tokens using the OAuth process again.
The MIME Message package uses the SASL package to perform authorization. The XOAUTH2 driver class of the SASL package can renew the OAuth token automatically when necessary.
Please read this article to learn with example code how to use the PHP MIME Message, SMTP Client, SASL, and OAuth client packages to send email messages using PHP with the Gmail SMTP server in a way that does not require human intervention to renew the OAuth tokens automatically after they expire.


