PHP Classes

PHP Dependency Management: Track class dependencies using callback functions

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2023-05-24 (Yesterday) RSS 2.0 feedNot yet rated by the usersTotal: 39 This week: 39All time: 10,658 This week: 5Up
Version License PHP version Categories
dependency 1.0MIT/X Consortium ...5PHP 5, Language, Design Patterns


ryan hs


This class can track class dependencies using callback functions.

It provides a class with setter, getter, __isset, __unset, and __call functions, allowing applications to store dependency objects in class variables.

The class also has a set of static call variables that can store callback functions to be invoked when the dependency object variables are set, changed, checked, removed, or called.

Picture of ryan silalahi
Name: ryan silalahi <contact>
Classes: 2 packages by
Country: Indonesia Indonesia
Age: ???
All time rank: 384463 in Indonesia Indonesia
Week rank: 6 Up1 in Indonesia Indonesia Up
Innovation award
Innovation award
Nominee: 1x



very very small dependency class

maybe you will find it as a joke haha :-)


you can download this with composer (packagist) <pre><code>composer require ryanhs/dependency</code></pre>


<pre><code>require 'vendor/autoload.php'; // composer autoload

use \Ryanhs\Dependency\Dependency;

$d = new Dependency; $d->app = new MyApp(); $d->router = new MyRouter(); $d->controller = new MyController();

$d->app->run(); </code></pre>


MIT License

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Files folder imagetest (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 Doc. Documentation

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

  Files folder image Files  /  test  
File Role Description
  Plain text file Test.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:39
All time:10,658
This week:5Up