PHP Classes
elePHPant
Icontem

Notable Packages

Recommend this page to a friend!

Packages that are worth taking a look for doing something different

  All package blogs All package blogs   Blog PHP Classes blog   Blog Notable Packages   Post article Post article  
  237 - 228   ...   117 - 108   107 - 98   97 - 88   87 - 78   77 - 68   67 - 58   57 - 48   47 - 38   37 - 28   27 - 18   17 - 8   7 - 1  

451. Notable PHP package: PHP Ignore JSON Key

Posted on:

JSON is nowadays used by many applications and APIs to exchange data in a format that can be supported by many languages.

Sometimes you need to do some processing to filter unwanted entries in JSON data structure. Usually you would use json_decode parse the data, traverse the parsed data and filter the unwanted information, and regenerate it with json_encode.

This class offers a simpler solution. It can take a JSON string and removed the unwanted entries from the JSON string directly.

This way you do not need to perform traversal of data and custom processing to remove the unwanted data.

Read this article to learn more details about how this notable PHP package works.


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

448. Notable PHP package: PHP Form Encryption

Posted on:

When you need to submit security sensitive data to a Web site, you should always use encrypted connections. However, over time older SSL versions have been discovered to be vulnerable, to the point that SSL is not longer synonym of security.

Nowadays you should use at least TLS and we don't know until when the current TLS versions will be safe to use to protect the transmission of private data.

This class provides an additional layer of security by using JavaScript to encrypt data before transmitting form values using RSA public key, and then having the server to decrypt the data with a private key.

This way, eventual man in the middle attacks will not be able to decrypt the data because they don't know what is the private key that the server uses to decrypt it.

Read this article to learn more details about how this notable PHP package works.


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

446. Notable PHP package: morgen

Posted on:

Developers that have tried to create applications that should run both on the Web, Android and iOS devices know that you need to have a different sets of application image icons that looks well on different resolutions.

This package provides a solution by automatically generating icon sets for different devices and sizes.

It supports generating icons from a SVG source graphics if you can run a program like Inkscape to convert images from SVG to the PNG format.

Read this article to learn more details about how this notable PHP package works.


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

444. Notable PHP package: ITE Collection

Posted on:

PHP is very good at dealing with arrays of values. It provides interfaces that can let developers create classes that can manipulate lists of values using the regular array syntax and functions.

Often the code for manipulating different types of values is the same for different classes that implement array interfaces.

This package provides a trait that can manipulate collections of unique values that can be either arrays and objects. The trait may be reused by other classes that implement similar collections of other types of values.

Read this article to learn more details about how this notable PHP package works.


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

443. Notable PHP package: PHP SSH Connection Session

Posted on:

SSH is a protocol to communicate with a remote server via a secure connection that allows to execute commands on a remote machine.

However, the length of the commands that can be executed is limited.

This package provides a workaround for this limitation that consists in creating a shell script to execute long commands and execute it using the bash shell.

Read this article to learn more details about how this notable PHP package works.


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

440. Notable PHP package: PHP Builder Pattern Generator

Posted on:

The builder design pattern allows to dynamically create objects in a way that the same process of construction can allow multiple representations of the object that can be changed over time according to the needs of a project.

This package implements the builder design pattern with a concrete builder class that generates code for classes dynamically to implement a representation of the object class being built at run time.

Read this article to learn more details about how this notable PHP package works.


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

438. Notable PHP package: CakePHP 2.x Container

Posted on:

Dependency injection is design pattern often used implement functionality on one class using objects from external classes without hardcoding the dependency between the two classes.

Several PHP frameworks implement their own dependency injection containers but since each one implements it in a different way, a generic container interface was defined to allow to call components of one framework to be called from by components of any other framework.

The package implements a component with the generic dependency injection container interface so application services and other types of applications not based on CakePHP can be easily used with CakePHP.

Read this article to learn more details about how this notable PHP package works.


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

436. Notable PHP package: PHP UDP Hole Punching

Posted on:

When you want to connect to a remote machine that is connected to a group of peers but you do not know its address, one common solution is to connect to central server and ask the addresses of the peers to communicate with them.

This technique is used by NAT servers (Network Address Translators) that are often running on router machines in order to route requests to remote machines from local network computers.

This process is called hole punching because it uses an intermediary server to get the addresses of the remote machines, so the client can communicate with them.

This PHP package implements a server with one class that can keeps the list of connected client machines and returns the list of peer addresses and ports.

The client class connects to the server class to get the peer machine address list, so it can send messages to them using UDP packets.

Read this article to learn more details about how this notable PHP package works.


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

434. Notable PHP package: PHP YouTube Movie Trailers

Posted on:

YouTube is certainly the most popular video hosting site on the Web.

It is used to publish all sorts of videos including trailers of many movies often way before they are released in theathers.

This package can access the YouTube site to perform searches for trailers of specific movies, so it can extract the video identifiers of the trailer movies. It generates HTML to embed those videos on other site Web pages.

Since it just scrapes the YouTube search result pages, it does not need to use an API key.

Read this article to learn more details about how this notable PHP package works.


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

431. Notable PHP package: PHP Detect Google Crawler

Posted on:

Google is the most popular search engine. Being well ranked on Google is important for many sites to get nice organic traffic.

Many sites try to serve content for Google crawler bots as fast as possible, so that increases the chances of the sites pages to rank well.

In theory it is easy to detect when the Google bot is accessing a Web page. It is usually a matter of detecting the user agent string sent with requests from the Google bot crawler.

However, there are crawlers and malicious bots that pretend to be the real Google bot faking its user agent string.

This class provides a more robust way to detect whether a request is coming from Google bot or not.

It just gets the HTTP client IP address and resolves its host name to verify if it really has one of the known Google bot domains.

Read this article to learn more details about how this notable PHP package works.


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

  237 - 228   ...   117 - 108   107 - 98   97 - 88   87 - 78   77 - 68   67 - 58   57 - 48   47 - 38   37 - 28   27 - 18   17 - 8   7 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog Notable Packages   Post article Post article