Re: Re: PHP autoload generator with support for global functions and global constants

From: Date: Fri, 31 Jul 2015 13:49:58 +0000
Subject: Re: Re: PHP autoload generator with support for global functions and global constants
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-325019@lists.php.net to get a copy of this message
I saw https://github.com/theseer/Autoload but it doesnt appear to support global functions/global constants. On 31 Jul 2015 10:04 pm, "Carlos Medina" <info@simply-networks.de> wrote: > It works fine for me!. > > https://github.com/theseer/Autoload > > Cheers > > > > Am 29.07.2015 um 14:33 schrieb Jesse Schalken: > > Hi, > > > > I couldn't find a classmap-based autoload generator that automatically > > detects when a file contains things which can't be autoloaded (global > > functions and global constants) and loads the file eagerly, so I wrote > > jesseschalken/autoload-generator > > > > <https://packagist.org/packages/jesseschalken/autoload-generator>. > > > > The intention is that you can freely create files containing any > > combination of classes/traits/interfaces/constants/functions, then > generate > > an autoloader with ./vendor/bin/autoload-generator and everything "just > > works", eg you don't have to update the autoload.files list in your > > composer.json. > > > > Let me know if you find it useful or if there is something already out > > there which does the same job. > > > > Cheers > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#325019) next »