1. How Can PHP Detect CLI or Web Environment on Which It Is Running
Updated on: 2022-07-13
Posted on: 2022-07-13
Blog: PHP Web or Cli Detect package blog
Package: PHP Web or Cli Detect
Developers can create applications that adapt to the different environments in which PHP may run.
This package helps developers who want to adapt to PHP's different environments.
It checks some environment values and returns the information of the specific environment in which it runs.
Using this package, developers only need to adapt their code depending on the environment type that this package returns.
1102. How to Use a PHP Monitoring System with Email Notification to Verify a Version Upgrade - 3 minutes - Lately in PHP Podcast Episode 92 Part 9
Updated on: 2022-07-28
Posted on: 2022-07-12
Often these consequences cause your site's PHP code to trigger errors. These errors may start appearing after you do a PHP version upgrade.
One way to determine if there were errors after you made production environment changes is to monitor PHP errors and send emails for the new PHP errors that started to appear.
Read this article, watch a 3-minute video, or listen to part 9 of episode 92 of the Lately in PHP podcast to learn how to monitor your PHP errors quickly and be notified by email, so you can fix the environment that causes the errors.
1. How to Test a PHP Shopping Site From the Command Line Console
Updated on: 2022-07-08
Posted on: 2022-07-08
Blog: PHP Shop Simulator in the Console package blog
Package: PHP Shop Simulator in the Console
There are many types of testing. A kind of testing is called human testing.
In human testing, real people test an application and try to achieve a goal, like, for instance, purchasing on a Web site.
This package provides a way to perform human testing of class components that developers can use to implement a shopping site.
It allows users to perform tests in the command line console shell using an application that can take input from users, pick products, and simulate purchases, so they can verify if the shopping application works as expected.
This way, developers can test the shopping application components without using a Web server.
1. How to Create PHP Executable Scripts That You Can Run From a Command Line Interface Shell
Updated on: 2022-07-07
Posted on: 2022-07-07
Blog: PHP Executable Script Generator package blog
Package: PHP Executable Script Generator
Many PHP developers are used to managing their projects using commands run from a command-line console shell.
This package can generate a shell script with PJP code that developers can edit to add their custom command tool logic to the hand.
This way, this package simplifies the creation of new console shell script commands written in PHP.
1. How to Implement a Simplified PHP Payment System For Companies that Need to Pay Customers, Employees and Suppliers
Updated on: 2022-07-06
Posted on: 2022-07-06
Blog: PHP Payment Management System package blog
Package: PHP Payment Management System
This package implements an application that provides a Web-based interface to allow users to manage the operations related to payments that involve a company.
1. Learn How to Improve Your Laravel Applications from a Real Laravel Service Provider Example and a Command Class
Updated on: 2022-07-05
Posted on: 2022-07-05
Blog: Laravel Service Provider Helper package blog
Package: Laravel Service Provider Helper
Service and command classes are some design patterns that Laravel promotes to help developers reuse code from one project in other projects.
The package provides an example to help other developers to learn how to use a single helper class to create a Laravel service class and a command class with minimal development effort.
1101. 5 Best PHP Books for Beginners & Advanced Programmers
Updated on: 2022-07-01
Posted on: 2022-07-01
Suppose you are a developer willing to become better at any topic about PHP and related technologies. In that case, you certainly are interested to know about good books that others recommend to learn.
Read this short article to learn about some books recommended for beginner and advanced PHP programmers by Anastasiia Lastovetska, a technology writer at MLSDev.
1100. How to Verify If a PHP Version Upgrade Really Succeeded - 2 minutes - Lately in PHP Podcast Episode 92 Part 8
Updated on: 2022-07-05
Posted on: 2022-06-30
So it is expected that some fixes may be necessary after a PHP version upgrade. Still, you may not even be aware of all the fixes you may need to do after the upgrade.
This situation is where other human beings can help you complete the quality control of the PHP version upgrade process.
Read this article, watch a 2-minute video, or listen to part 8 of episode 92 of the Lately in PHP podcast to learn how you can use the help of other human beings to assure the control of the quality of your applications after a PHP version upgrade.
1. How to Implement a Better PHP Random Number Generator with Different Seed Values for Each Web Site User
Updated on: 2022-06-29
Posted on: 2022-06-29
Blog: PHP Seeder package blog
Package: PHP Seeder
When an application needs to use different seed data to encrypt data with a foreign key or hash value for each user, it is ideal to use unique seed values.
This package generates seed strings from the current HTTP request values to increase the probability of generating unique seed values for all applications.
1. How Can PHP Search MySQL Table Fields with Large Text Fields Using the MySQL FIND_IN_SET Function
Updated on: 2022-06-28
Posted on: 2022-06-28
Blog: Advanced PHP MySQL Search Controller package blog
Package: Advanced PHP MySQL Search Controller
PHP developers often need to perform search queries to filter the database table records with field values matching given criteria. Sometimes there is the need to filter records that match multiple criteria.
SQL allows composing complex search queries to combine multiple search criteria.
MySQL has a particular function named FIND_IN_SET that allows defining a condition that can check if string values have a given number of occurrences of another string value.
This class allows composing complex MySQL search queries that combine multiple search conditions. Some conditions can use the FIND_IN_SET function to find database table records with particular values in larger text fields.
This possibility allows PHP developers to perform complex searches to find given text values inside database table field values that have text values the PHP application users want to see.
