Slender

Slim, but with a bit more meat.

Overview
Installation & Usage
- Overview
- Folder Structure
- Configuration
- Application Initialization
Configuration Loader
- Default Configuration
- Services & Factories
- Route definitions
Modules
- Defining a Module
- Loading Modules
- Module configuration
- Config file examples
- Module Invokables

View the Project on GitHub alanpich/slender

Default configuration

This is the vanilla config used as defaults by Slender. This is how the configuration looks before any application or module config files are loaded.


# Defaults to development mode
mode: development
debug: true


# Customize the ConfigurationLoader
config:

  # An array of directory paths which should be scanned for config files on startup
  autoload:
    - ./config

  # File names to match in autoload directories
  # Note: Uses Symfony\Finder::name()
  files:
    - global.*
    - local.*

  # Path to cache directory.
  # Note: Cache is automatically disabled in development mode
  cache: ./data/cache/config


# Array of paths to use as view template directories
viewPaths:
    - ./views