MIME Stub: Generate PHP script that can self-execute the code

Recommend this page to a friend!
  Info   Example   Demos   View files (18)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 129 All time: 9,066 This week: 342
Version Licenses PHP version Categories
mime-stub 1.0.1BSD License, MIT/...5PHP 5, Language, Parsers
Description Author

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.

Innovation Award
PHP Programming Innovation award nominee
September 2017
Number 6
This package can generate a PHP script that can self-execute the code.

Manuel Lemos
Picture of Till Wehowski
  Performance   Level  
Name: Till Wehowski <contact>
Classes: 24 packages by
Country: Germany Germany
Age: 41
All time rank: 114675 in Germany Germany
Week rank: 84 4 in Germany Germany
Innovation award
Innovation award
Nominee: 8x

  APC Install Demo [old version, replaced soon]  

Open in a separate window

File Role Description
src (1 directory)
tests (2 files, 2 directories)
.travis.yml Data Auxiliary data
composer.json Data Auxiliary data
LICENSE Lic. License text
phpunit.xml.dist Data Auxiliary data
README.md Doc. Documentation

  Files  /  src  
File Role Description
webfan (2 files, 1 directory)

  Files  /  src  /  webfan  
File Role Description
Mime (1 file)
   MimeStub.php Class Class source
   MimeStubAPC.php Class Class source

  Files  /  src  /  webfan  /  Mime  
File Role Description
   vm.php Class Class source

  Files  /  tests  
File Role Description
data (7 files)
Riverline (1 directory)
   bootstrap.php Example Example script
   test.mime-stub.php Example Example script

  Files  /  tests  /  data  
File Role Description
   email_base64.txt Doc. Documentation
   nested_multipart.txt Doc. Documentation
   no_boundary.txt Doc. Documentation
   no_first_boundary.txt Doc. Documentation
   no_last_boundary.txt Doc. Documentation
   no_multipart.txt Doc. Documentation
   simple_multipart.txt Doc. Documentation

  Files  /  tests  /  Riverline  
File Role Description
MultiPartParser (1 file)

  Files  /  tests  /  Riverline  /  MultiPartParser  
File Role Description
   PartTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,066
This week:342

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