PHP Classes
PHP Classes
elePHPant
Icontem

Notable PHP package: MIME Stub

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Posted on:

Categories: Notable Packages

PHP supports loading a package with a collection of files all at once using PHAR archives. However PHAR extension support is not enabled in all PHP installations.

This package provides a pure PHP alternative solution that bundles multiple PHP scripts in a single PHP file. Those scripts can be loaded by executing that PHP file.

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




The package MIME Stub is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Generate PHP script that can self-execute the code

Here follows in more detail what it does:

This package can generate a PHP script that can self-execute the code.

It generate PHP script files that have a section after the code that calls PHP __halt_compiler function, so scripts may append data that includes other PHP script files.

The generated files have a MIME structure to include multiple parts of files of the scripts to be loaded and executed by the first part of the generated script before calling the __halt_compiler function.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

1,467,860 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.




  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)