Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stevie-mayhew/trait-loader

Adds trait autoloading support to SilverStripe
https://github.com/stevie-mayhew/trait-loader

Last synced: 3 months ago
JSON representation

Adds trait autoloading support to SilverStripe

Awesome Lists containing this project

README

        

# Trait Loader for SilverStripe

This module adds in support for autoloading [traits](http://php.net/trait) 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.