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.



1. How to Implement a PHP Inventory Management Dashboard Using a Laravel Integration with Rackbeat
Updated on: 2022-06-27
Posted on: 2022-06-27
Blog: Laravel Rackbeat Integration Dashboard package blog
Package: Laravel Rackbeat Integration Dashboard
It can manage inventory jobs that are going on in a customer warehouse.
This package can help site owners who are Rackbeat customers quickly see the ongoing jobs in their Rackbeat account in one place on their site.
The package implements a Rackbeat jobs dashboard that developers can add to a site built with Laravel.



1099. The Right Order to Execute the Steps to Upgrade to a New PHP Version - 2 minutes - Lately in PHP Podcast Episode 92 Part 7
Updated on: 2022-06-24
Posted on: 2022-06-24
You can determine the correct order by the more critical steps you need to do first because you can only do the following steps when you complete the crucial steps.
Read this article, watch a 2-minute video, or listen to part 7 of episode 92 of the Lately in PHP podcast to learn the correct order of the steps to perform a PHP version upgrade.



1. How to Implement a Laravel OAuth2 Server API that Can Refresh Expired OAuth Tokens Automatically
Updated on: 2022-06-23
Posted on: 2022-06-23
Blog: Laravel Passport Auth Proxy package blog
Package: Laravel Passport Auth Proxy
An OAuth 2-based API server can generate tokens for the API clients to access the API on behalf of a real human user who authorizes the access to the API services from API client programs.
An OAuth 2 server can generate access tokens that it returns to the API client program. In the subsequent request that the client program sends to the API server, the client only needs to pass a token value to authenticate on behalf of the same user.
API servers should renew the access tokens after some time to improve the security of the API access.
This package provides a service that can perform the renewal of access tokens using refresh tokens by following the procedure determined by the OAuth 2 protocol specification.
This package can make the OAuth 2-based APIs based on the Laravel Passport more secure.



1. How to Use a Laravel Livewire Select Input That Can be Updated Interactively Communicating with the Web Server Using AJAX Requests
Updated on: 2022-06-22
Posted on: 2022-06-22
Blog: Laravel Livewire Select2 Alternative package blog
Package: Laravel Livewire Select2 Alternative
It supports components that can change the Web interface after interacting with the Web server using AJAX requests.
This component can interact with a Web server after the user picks options in a form select input.



1098. How to Get Easy to Understand PHP Performance Metrics to Quickly Improve Your PHP Application Performance
Updated on: 2022-06-21
Posted on: 2022-06-21
Visual tools can help you as an application developer to view and interpret the current performance values, so you can compare those values before and after you make code changes, so you can confirm that your application will really run faster after you make those code changes.
Read this short article to learn more about how to visualize the performance values of your Laravel or Symfony applications any time you want using the Scout APM tool for free.



1. How to Use a PHP Validation Library that Extracts Validation Rules Automatically from PHP Validation Source Code Files
Updated on: 2022-06-20
Posted on: 2022-06-20
Blog: VM PHP Validator Package package blog
Package: VM PHP Validator Package
There are many approaches to validating external data.
This package provides an alternative that simplifies the validation process of data passed to classes of objects or returned by those objects.
It uses PHP reflection to minimize the amount of PHP code necessary to validate data passed to classes of objects.
This way, developers reduce the effort to implement robust validation in their PHP applications.



1. How to Implement a PHP Template Engine For Processing Complex Templates Using Multiple Template Processing Objects
Updated on: 2022-06-17
Posted on: 2022-06-17
Blog: PHP Template Engine Component package blog
Package: PHP Template Engine Component
In some cases, pages can present the content complexly that involves nested sections because they contain internal parts.
The package provides a template engine that can deal with this complexity.
It allows assigning template marks with content resulting from processing other templates by other objects of the template classes provided by this package.
This way, developers simplify complex template processing by splitting the processing between different objects that can process inner parts of the page using multiple template processing objects.



1. How Can PHP Parse JSON Data from a Post Request in a Secure Way to Avoid Hash DoS Attacks
Updated on: 2022-06-16
Posted on: 2022-06-16
Blog: iaso PHP JSON Parser Library package blog
Package: iaso PHP JSON Parser Library
This vulnerability may affect PHP versions that do not avoid collisions of hash data structures that may take many keys that result in the same hash value to determine how PHP's arrays and objects are stored internally.
PHP provides better alternative methods to store arrays and objects more immune to this vulnerability.
This package implements a parser for JSON strings that uses an alternative method to store values or JSON objects passed to PHP from HTTP requests like those used to call APIs implemented in PHP.


