PHP Classes

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  
  494 - 485   ...   114 - 105   104 - 95   94 - 85   84 - 75   74 - 65   64 - 55   54 - 45   44 - 35   34 - 25   24 - 15   14 - 5   4 - 1  

444. Notable PHP package: ITE Collection

Updated on: 2016-09-01

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

Updated on: 2016-08-30

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

Updated on: 2016-08-25

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

Updated on: 2016-08-23

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

Updated on: 2016-08-19

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

Updated on: 2016-08-17

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

Updated on: 2016-08-12

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)

430. Notable PHP package: PHP Web Site Compare Files

Updated on: 2016-08-10

Posted on:

Sometimes it is necessary to verify if the files of a site on the server are up to date and were not changed eventually by an attacker that took advantage of a security hole.

There are some solutions that compute hashes of all the files in the server but they do not tell whether the files different because they are not up to date with the latest development version or were changed eventually due to a security attack.

This class provides a solution that uses a different approach. It calls a script on the server that lists the existing files.

This way it can compare list of files on the production and the development environments, or even compare the files installed on different production or testing servers.

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)

428. Notable PHP package: eKatab PHP ePub Reader

Updated on: 2016-08-05

Posted on:

ePub is a common format of eBooks supported by many eBook reader devices.

Basically ePub files are ZIP archives with files of the contents of the ebook.

This class can extract the contents of a ebook in the ePub format and parse it, so the ebook pages can be viewed on Web pages.

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)

427. Notable PHP package: Deferred Exceptions

Updated on: 2016-08-03

Posted on:

Sometimes you need to call different functions in sequence. However if one of the functions throws an exception you may not be able to execute the other functions unless you catch the exceptions of each function.

Putting try and catch statements around every function call may be tedious and boring task.

This package provides an alternative solution. It provides a trait that allows you to queue multiple exceptions thrown by classes that use the trait.

This way you can have access to the whole list of thrown exceptions throw the last or all exceptions that happened.

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)

  494 - 485   ...   114 - 105   104 - 95   94 - 85   84 - 75   74 - 65   64 - 55   54 - 45   44 - 35   34 - 25   24 - 15   14 - 5   4 - 1  
  All package blogs All package blogs   Blog PHP Classes blog   Blog Notable Packages   Post article Post article  

For more information send a message to info at phpclasses dot org.