PHPackages                             gubnota/smart\_loader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. gubnota/smart\_loader

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gubnota/smart\_loader
=====================

More srightforward way to call pseudostatically without create every time in every new file new class instance

011PHP

Since Oct 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/gubnota/smart_loader)[ Packagist](https://packagist.org/packages/gubnota/smart_loader)[ RSS](/packages/gubnota-smart-loader/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Gubnota autoloader class
========================

[](#gubnota-autoloader-class)

Gubnota/smart\_loader (aka `g::` or `\Gubnota\Gubnota`) is a class- helper to load and reuse class instances. It makes re-using class instances easier throughout all application (no need to re-initialize new instance, each instance stored in global object). Autoload class helper increases drastically perfomance and convenience by reusing instances when calling class methods in pseudo-static way:

```
