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  
  513 - 504   ...   113 - 104   103 - 94   93 - 84   83 - 74   73 - 64   63 - 54   53 - 44   43 - 34   33 - 24   23 - 14   13 - 4   3 - 1  

443. Notable PHP package: PHP SSH Connection Session

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

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

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

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

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

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

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

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

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)

425. Notable PHP package: Jaxon

Many Web applications have browser side (JavaScript) code making AJAX calls to server side code in PHP that is mapped to classes of objects.

Usually the server side code needs to register classes or functions that will handle the AJAX calls.

However, when you have many classes to handle your Web application AJAX calls, registering classes one by one can be a tedious time consuming task.

The package provides a more efficient method to register many classes at once. You just specify a directory and the package will lookup and load the classes on demand when the AJAX calls are received.

This way you also do not have to waste time instantiating objects of the handler classes until they are necessary.

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)

  513 - 504   ...   113 - 104   103 - 94   93 - 84   83 - 74   73 - 64   63 - 54   53 - 44   43 - 34   33 - 24   23 - 14   13 - 4   3 - 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.