PHP Inline Class: Combine several classes into a single PHP file

Recommend this page to a friend!
  Info   Documentation   View files (4)   Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
61%Total: 218 All time: 8,121 This week: 293
Version License PHP version Categories
inliner 1.0.0MIT/X Consortium ...5.3PHP 5, Utilities and Tools, Language
Description Author

This class can combine several classes into a single PHP file.

It can traverse a given directory recursively to find all PHP files with a given file name extension.

The class can combine the code of all files and save it to a single output PHP file.

Innovation Award
PHP Programming Innovation award nominee
April 2015
Number 11
Sometimes it is necessary to provide a collection of PHP files as single file that it is easier to distribute.

This class can combine multiple PHP class files into a single PHP file.

Manuel Lemos
Picture of Alex Lushpai
  Performance   Level  
Name: Alex Lushpai is available for providing paid consulting. Contact Alex Lushpai .
Classes: 4 packages by
Country: Russian Federation Russian Federation
Age: 35
All time rank: 277276 in Russian Federation Russian Federation
Week rank: 713 24 in Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 2x

Details

Inliner

Simple class for combining several classes in a single file. Can be used for keep compability with php 5.2

Example

$inliner = new Inliner();
$inliner->inline(__DIR__ . '/src', 'php', 'single.php');
  Files  
File Role Description
src (1 file)
composer.json Data Auxiliary data
LICENSE Lic. License text
README.md Doc. Documentation

  Files  /  src  
File Role Description
   Inliner.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:218
This week:0
All time:8,121
This week:293
User Ratings User Comments (1)
 All time
Utility:87%
Consistency:100%
Documentation:81%
Examples:-
Tests:-
Videos:-
Overall:61%
Rank:1175
 
Very good package, but it need to be improved.
2 years ago (zinsou A.A.E.Mo´se)
67%
 

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