PHP Classes
elePHPant
Icontem

packagex: Load multiple class with Java-like import commands

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-02-23 (8 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 447 All time: 5,891 This week: 935Up
Version License PHP version Categories
package_x 1.0GNU General Publi...5.0PHP 5, Language
Description Author

This package can be used to load multiple classes with Java-like import commands.

The main class has an import function that finds one or more classes in directories.

The classes that are found may be loaded individually or all at once without needing auto-load support.

Innovation Award
PHP Programming Innovation award nominee
March 2008
Number 9


Prize: One year server license IP to country region city database
The Java language has a command named import that automatically makes available a set of classes of a given package. That feature is not yet available in PHP.

This package provides a way to emulate the Java import command by automatically load one or more classes found in a given directory.

Manuel Lemos
Picture of Carlo Tasca
Name: Carlo Tasca <contact>
Classes: 2 packages by
Country: United Kingdom United Kingdom
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagepackagex (2 files, 1 directory)
Files folder imagedocumentation (1 file)
Accessible without login Plain text file example_of_usage.php Example Contains an example of usage
Accessible without login HTML file packagex_tips.html Doc. Contains a few tips for package usage

  Files folder image Files  /  packagex  
File Role Description
Files folder imageclasses (2 files, 1 directory)
  Plain text file Package.class.php Class Class Package to creates packages of classes
  Plain text file Packagable.class.php Class Packagable interface

  Files folder image Files  /  documentation  
File Role Description
  Accessible without login HTML file Package.html Doc. Documentation for Package class

  Files folder image Files  /  packagex  /  classes  
File Role Description
Files folder imageutil (1 file)
  Plain text file ClassA.class.php Class Class for example
  Plain text file ClassB.class.php Class Example file

  Files folder image Files  /  packagex  /  classes  /  util  
File Role Description
  Plain text file ClassC.class.php Class Class for example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:447
This week:0
All time:5,891
This week:935Up
 User Ratings  
 
 All time
Utility:81%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:658