PHP Classes

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

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-10 (2 months ago) RSS 2.0 feedStarStarStarStar 61%Total: 230 This week: 1All time: 8,149 This week: 560Up
Version License PHP version Categories
inliner 1.0.5MIT/X Consortium ...5.3PHP 5, 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: 39
All time rank: 276177 in Russian Federation Russian Federation
Week rank: 411 Up22 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 2x

Documentation

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 folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file Inliner.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:230
This week:1
All time:8,149
This week:560Up
User Ratings User Comments (1)
 All time
Utility:87%StarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:980
 
Very good package, but it need to be improved.
6 years ago (zinsou A.A.E.Moïse)
67%StarStarStarStar