simonwelsh / trait-loader
Adds trait autoloading support to SilverStripe
Installs: 955
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1 028
Forks: 130
Language:Hack
Type:silverstripe-module
Requires
- hhvm: ~3.6
Requires (Dev)
- 91carriage/phpunit-hhi: 4.5.*
- phpunit/phpunit: 4.5.*
README
This module adds in support for autoloading traits to SilverStripe.
Requirements
- PHP 5.4 or newer
- SilverStripe 3.1 or newer
Installation
Composer
composer require simonwelsh/trait-loader dev-master
- Visit
http://your-site.com/?flush=1
Manual installation
- Download an archive and extract into a folder named
trait-loader
in your site's root folder - Visit
http://your-site.com/?flush=1
License
This module is licensed under a BSD 3 clause license. See the LICENSE file for the actual license.