hnhdigital-os/laravel-multisite-router

Provides routing for multi-site applications

1.0.7 2018-03-21 10:17 UTC

This package is auto-updated.

Last update: 2024-12-22 02:06:38 UTC


README

___  ___      _ _   _     _ _      ______            _            
|  \/  |     | | | (_)   (_) |     | ___ \          | |           
| .  . |_   _| | |_ _ ___ _| |_ ___| |_/ /___  _   _| |_ ___ _ __ 
| |\/| | | | | | __| / __| | __/ _ \    // _ \| | | | __/ _ \ '__|
| |  | | |_| | | |_| \__ \ | ||  __/ |\ \ (_) | |_| | ||  __/ |   
\_|  |_/\__,_|_|\__|_|___/_|\__\___\_| \_\___/ \__,_|\__\___|_|

Implements routing configuration via a file and folder based route structure, domain structure including a dev name (eg staging), and the ability to apply middleware using the route file name.

Latest Stable Version Total Downloads Latest Unstable Version Built for Laravel License

Build Status StyleCI Test Coverage Issue Count Code Climate

This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.

Documentation

Install

Via composer:

$ composer require hnhdigital-os/laravel-multisite-router ~1.0

Configuration

The service provider will autoload from Laravel 5.5.

To enable the service provider in versions prior to Laravel 5.4, edit the config/app.php:

Enable the service provider by editing config/app.php:

    'providers' => [
        ...
        HnhDigital\MultisiteRouter\ServiceProvider::class,
        ...
    ];

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.