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  
  1641 - 1632   1631 - 1622   1621 - 1612   1611 - 1602   1601 - 1592   1591 - 1582   1581 - 1572   1571 - 1562   1561 - 1552   1551 - 1542   1541 - 1532   1531 - 1522   ...   1 - 1  

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:

Blog: MIME E-mail message sending package blog
Package: MIME E-mail message sending

The Gmail SMTP server has required OAuth-based authentication to send email messages since May 2022 for Gmail users of free accounts.

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.



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

1. How to Implement a Modern WordPress User Interface using a WordPress Vue Plugin

Updated on: 2022-11-11

Posted on:

Blog: WP Vue Kit Plugin package blog
Package: WP Vue Kit Plugin

Vue.js is a popular JavaScript framework that you can use to implement modern user interfaces for Web sites.

WordPress is a popular content management used by many sites to produce and edit content published in the Web site pages. Developers can extend WordPress with plugin components provided by third-party developers.

This package provides a plugin that implements WordPress plugins that can use Vue.js to implement modern user interfaces for accessing other WordPress plugins.


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

1. How to Implement a PHP Crowdfunding Site to Support The Development of Product to Be Launched in the Future

Updated on: 2022-11-09

Posted on:

Blog: GetMeALatte package blog
Package: GetMeALatte

Many people want to launch new products on the market. They have great ideas, but they also need to take time to develop the development and launch the call. When they create the product, they also need money to buy food and other essential products to live with good quality.

One possible solution for the developer to have money during product development is to resort to crowdfunding. This way, the potential users of the product can fund the developer so he can dedicate his time to developing the product.

This package can help a developer to set up a site to present his product and collect crowdsource funding payments.


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

1115. Introduction on How to Use the EverSQL MySQL Query Optimizer Tool for Free - 3 minutes - Lately in PHP Podcast Episode 93 Part 4

Updated on: 2022-11-17

Posted on:

When you want to optimize SQL queries to optimize an application that uses MySQL, you can use "manual" methods. These methods require good SQL query optimization knowledge. If you need to optimize many SQL queries, doing it "manually" may also take time.

One way to optimize SQL queries without requiring you to learn so much about optimization is to use a SQL query optimization tool. Optimization tools also take you much less time to optimize many queries than if you try manually.

Read this article, watch a 3-minute video, or listen to part 4 of episode 93 of the Lately in PHP podcast to learn how to use a free tool to optimize MySQL SQL queries without much knowledge and faster than if you try to do it manually.


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

1. How to Generates a Kubernetes Configuration File to Setup a Container using PHP

Updated on: 2022-11-05

Posted on:

Blog: Kubernetes Resource generator package blog
Package: Kubernetes Resource generator

Kubernetes is a system to manage containers used in many cloud hosting systems.

Containers are helpful for managing and running applications that can run isolated, including those that implement PHP-based Web applications.

This package provides a simplified way to generate configuration files for Kubernetes containers from given parameters.


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

1. How to Implement a PHP Automatic Form Fill Solution that Pre-Fills Form Inputs with Values Entered Before by the Same User

Updated on: 2022-11-03

Posted on:

Blog: Yii2 Form PreFiller package blog
Package: Yii2 Form PreFiller

Many Web site users do not have much patience to do repetitive tasks.

If they have to fill out lengthy forms with information, they may avoid it and not fill it, especially if the form asks for values already requested.

This package provides some help to minimize that issue. It provides a solution to "remember" the values that a user filled in a form with the same types of inputs.

So next time a Web site asks the user to fill a form with the same fields, this package can provide the values the user entered last time so that the application can pre-fill the inputs with those values.


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

1. How to Use a PHP Travel Planner Application to Help You to Move to Another Country and Have a Better Life

Updated on: 2022-11-01

Posted on:

Blog: MyDreamLife.eu package blog
Package: MyDreamLife.eu

Many people who want a better life try to move to another country.

Often that is a non-trivial change of life because it requires a lot of preparation, for instance, planning how to arrive at the destination country, where you will stay, how much it will cost, etc.

This package implements a Web application that allows users to do the necessary planning to move with the least of the problems.


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

4. How to Implement a PHP SMTP Gmail Replacement for the PHP mail Function that Works with the Gmail OAuth Authentication

Updated on: 2022-11-11

Posted on:

Blog: MIME E-mail message sending package blog
Package: MIME E-mail message sending

Many developers use Google Gmail to send email messages to their users because Gmail is a free service that works well.

In 2022 Google made the use of Gmail as a means to send email messages via Gmail SMTP server more secure by requiring an OAuth access token instead of the traditional password of the Gmail user account.

This requirement made many developers update their PHP applications to use OAuth tokens and continue to use the Gmail SMTP server for free.

Read this article to learn how to use OAuth access tokens to send email messages from PHP applications using the Gmail SMTP server.


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

1. How to Avoid Security Issues using PHP URL Redirect Follow Class to Discover the Final URL of a Short URL

Updated on: 2022-10-28

Posted on:

Blog: URL Tracker Class package blog
Package: URL Tracker Class

Short URLs help pass URLs of pages to other people in a way that may be easier to remember or type.

One challenge of short URLs is that they hide the actual destination URLs. If the pages of destination URLs have security issues, the users that get short URLs may not be aware of that until they access the short URL destination pages.

This package finds and returns the destination URLs of a given short URL. It may also return any intermediary URLs that browsers may need to access until they reach the final destination URL.

This way, developers may use security tools for auditing the safety of the final destination of the short URL, as well as all intermediary URLs.


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

1. How to Use a WordPress Events Plugin Manage and Publish Organized Events

Updated on: 2022-10-28

Posted on:

Blog: Event Story Manager Plugin package blog
Package: Event Story Manager Plugin

WordPress is a well-known publishing platform that can work for other purposes besides publishing blog posts using plugins that extend the possibilities of the original WordPress software.

This package implements a plugin that can transform a WordPress site into a regional event publication site.


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

  1641 - 1632   1631 - 1622   1621 - 1612   1611 - 1602   1601 - 1592   1591 - 1582   1581 - 1572   1571 - 1562   1561 - 1552   1551 - 1542   1541 - 1532   1531 - 1522   ...   1 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Post article Post article