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  
  1968 - 1959   ...   1928 - 1919   1918 - 1909   1908 - 1899   1898 - 1889   1888 - 1879   1878 - 1869   1868 - 1859   1858 - 1849   1848 - 1839   1838 - 1829   1828 - 1819   1818 - 1809   ...   8 - 1  

1. How to Implement a PHP Shipping Calculator Script That Can Give Shipping Costs Based on the Distance to the Customer Location

Updated on: 2023-11-16

Posted on:

Blog: PHP Shipping Calculator package blog
Package: PHP Shipping Calculator

Many businesses now are selling goods via the Internet with e-commerce systems.

When the goods are physical products, one aspect of the product's cost to the customer is the shipping cost.

The calculation of the shipping costs can be complex, depending on the cost of operation of the shipping carrier company.

This package provides a simple method of calculating shipping costs in PHP code that considers the geographic coordinates of the origin and destination location of the products to be shipped and the cost to deliver the products per kilometer of distance.


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

1. How to Create a PHP Crypto Currency Exchange to Buy and Sell Virtual Currencies

Updated on: 2023-11-15

Posted on:

Blog: PHP Crypto Currency Exchange package blog
Package: PHP Crypto Currency Exchange

Virtual currencies have become very popular among people who like finances since currencies like Bitcoin started to become used to exchange real money with virtual currency money.

Usually, the exchange process between currencies is done by broker companies.

This package implements a simulation of a cryptocurrency broker system.

With more development work, it can evolve into a real cryptocurrency broker system that actual broker companies can use.


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

1. How to Implement a PHP Bitcoin Wallet Search to Recover Access to Wallets that the Owner Lost the Private Keys

Updated on: 2023-11-14

Posted on:

Blog: PHP Bitcoin Private Key Find package blog
Package: PHP Bitcoin Private Key Find

Many people have created wallets to store amounts of virtual currency in Bitcoin and other virtual coins.

Sometimes, the owners of the wallets lose private keys to access those wallets. When that happens, they lose access to the virtual currency amounts stored in their wallets, causing significant financial losses.

This package provides a simple application to guess the private keys of known wallets by generating keys from a list of possible random words that can have been used to create the wallets.

This way, this package provides some hope to recover access to virtual currency wallets that the owners may have lost access due to having lost the wallet's private keys.


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

1. How to Backup A Wordpress Site Manually Using a Tool that Can Run Even When the WordPress Installation is Damaged

Updated on: 2023-11-10

Posted on:

Blog: Backup4WP package blog
Package: Backup4WP

WordPress is a prevalent PHP content management system used to serve many sites.

WordPress sites are also targeted by people with bad intentions that may cause harm to a WordPress site installation.

It is always a good idea to take a backup of the files and database of the WordPress site, just in case something terrible happens.

This package provides a standalone tool that can backup and restore the files and database of a WordPress site.

It works independently from the WordPress site itself. So, if a WordPress site stops working due to some damage in the WordPress installation, this tool can still be used to restore the WordPress database.


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

1. How to Create a Laravel MongoDB CRUD Blog Application

Updated on: 2023-11-09

Posted on:

Blog: Laravel MongoDB CRUD Blog package blog
Package: Laravel MongoDB CRUD Blog

Laravel is a popular PHP framework often used to implement applications that can perform CRUD (Create, Read, Update, and Delete) operations on records stored in a database.

This package implements a blog application that uses Laravel to implement CRUD operations on database records stored in MongoDB.


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

1178. How to Migrate a WordPress to a Better Hosting Service using Cloudways WordPress Migrator Plugin

Updated on: 2023-11-08

Posted on:

Sometimes, evaluating a new hosting service to take advantage of its benefits is a good idea.

When evaluating a new hosting service, it is better to try it before changing from your current hosting service to the new one.

If you have a WordPress-based site, you need to migrate the site to the new hosting service during the test so you can verify if the migration will work well before making a definite move.

Please read this article to learn how to make a smooth migration of a WordPress site and how to test the Cloudways hosting service without committing to paying for it before you decide to move to that hosting service.


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

1. How to Start Implementing a PHP Banking System to Manage People's Finances Using an API

Updated on: 2023-11-07

Posted on:

Blog: PHP Banking System API package blog
Package: PHP Banking System API

Many sites now have a sort of accounting that keeps track of the balance of the users in terms of money values, like in a banking system.

This package implements an API that can perform banking operations with accounts of users that can have a money balance.

It can be helpful to implement a banking system in sites that manage the money balances of their users.


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

1. How to Improve a PHP Movie Website with a Game that Lets Players Manage a TV Station to Battle for Prime Time Buying and Selling Movies to Exhibit

Updated on: 2023-11-03

Posted on:

Blog: PHP Movie Game package blog
Package: PHP Movie Game

Many people like movies and watch them frequently. Companies that work in the movie industry often have television stations or movie Websites that transmit movies to address the interests of their audience.

This package implements a game that lets players participate in a simulation of a television station and act as managers who can plan the station schedule, buy and sell movies, and battle for prime-time audiences with other television stations.

Playing a game like this can be nice to people who like the movie industry and want to work in this business area.


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

1. How Can PHP Monitor File Changes to Detect Important Events When PHP is Run with Swoole

Updated on: 2023-11-02

Posted on:

Blog: Swotch PHP File Change Event Watch package blog
Package: Swotch PHP File Change Event Watch

Swoole is a PHP asynchronous programming framework that allows developers to create high-performance PHP applications by highly optimizing the server CPUs in the server computer on which PHP applications run.

It uses asynchronous programming to let developers define multiple PHP code sections that can run in parallel while other PHP code sections are waiting for tasks that access external resources that are not completed, like, for instance, database accesses, network connections, or file accesses.

This package implements a directory file watcher class that uses Swoole asynchronous support to process file changes in parallel with other tasks that your PHP Swoole-based applications may be performing.


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

14. Learn with a PHP OAuth2 Example Google API Access From the Console

Updated on: 2023-11-01

Posted on:

Blog: PHP OAuth Library package blog
Package: PHP OAuth Library

Some applications need to access APIs from the console to perform background tasks using, for instance, the crontab available in Linux-based systems to execute jobs at scheduled times.

Read this article to learn how to develop PHP scripts that can get OAuth2-based tokens to access a Google API from the console or as a task executed by corn.

OAuth is a protocol often used to access API on behalf of a user that grants permissions to access the services of an API on behalf of that user.

This allows applications to call APIs even when the user is not present accessing a Web page.

This is possible because the OAuth protocol can be used by Web services to provide token string values that applications can use to access the APIs whenever they want, using a token string as evidence that the user granted permission to access the APIs anytime the application runs.

So, what applications need to do to access an API from a console or a task started with the cron tool is to obtain that token string.

That needs to happen with the presence of the user. The user needs to go to a page of the application. There, the user browser is redirected to a page of the API service provided. The user is requested to permit the application to perform specific actions by calling the API.

[OAuth permission request page image]

After the user provides the requested permissions, the user's browser is redirected back to the application page. Then, the application calls the API following the OAuth protocol to retrieve the access token.

[OAuth application page showing the access token image]

From now on, the application can use the access token to perform API calls to which the user gave permission.


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

  1968 - 1959   ...   1928 - 1919   1918 - 1909   1908 - 1899   1898 - 1889   1888 - 1879   1878 - 1869   1868 - 1859   1858 - 1849   1848 - 1839   1838 - 1829   1828 - 1819   1818 - 1809   ...   8 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article