PHP Classes

PHP Script Loader: Load PHP scripts from predefined directories

Recommend this page to a friend!
  Info   View files Example   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 160 All time: 8,915 This week: 672Up
Version License PHP version Categories
script-loader 1.0.0GNU Free Document...5.0PHP 5, Language


This package can be used to load PHP scripts from predefined directories.

It takes the file name of a given script to load and determines its full path based on a list of directories to lookup regardless of what is defined in the include_path PHP configuration directive.

If the script exists, it can be loaded using either include_once or require_once.

The package comes also with auto-loader class to load classes from the same list of directories.

Picture of Everton da Rosa
  Performance   Level  
Name: Everton da Rosa <contact>
Classes: 17 packages by
Country: Brazil Brazil
Age: 42
All time rank: 80658 in Brazil Brazil
Week rank: 24 Up1 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file Aux. Auxiliari file to examples
Plain text file ptk.class.php Class Auxiliari class
Plain text file Class Auxiliari class
Accessible without login Plain text file Aux. Auxiliary file
Plain text file ptk.utils.scriptloader.class.php Class The main class
Plain text file ptk.utils.validator.class.php Class Auxiliari class
Accessible without login Plain text file scriptloader.php Example Sample for use

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,915
This week:672Up