Adds trait autoloading support to SilverStripe
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
code
tests
.editorconfig
.gitattributes
.scrutinizer.yml
.travis.yml
LICENSE
README.md
_config.php
composer.json

README.md

Trait Loader for SilverStripe

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 stevie-mayhew/trait-loader
  • 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.