Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hnhdigital-os/laravel-multisite-router

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.
https://github.com/hnhdigital-os/laravel-multisite-router

development laravel middleware multi-domain routing staging

Last synced: 11 days ago
JSON representation

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.

Awesome Lists containing this project

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](https://poser.pugx.org/hnhdigital-os/laravel-multisite-router/v/stable.svg)](https://packagist.org/packages/hnhdigital-os/laravel-multisite-router) [![Total Downloads](https://poser.pugx.org/hnhdigital-os/laravel-multisite-router/downloads.svg)](https://packagist.org/packages/hnhdigital-os/laravel-multisite-router) [![Latest Unstable Version](https://poser.pugx.org/hnhdigital-os/laravel-multisite-router/v/unstable.svg)](https://packagist.org/packages/hnhdigital-os/laravel-multisite-router) [![Built for Laravel](https://img.shields.io/badge/Built_for-Laravel-green.svg)](https://laravel.com/) [![License](https://poser.pugx.org/hnhdigital-os/laravel-multisite-router/license.svg)](https://packagist.org/packages/hnhdigital-os/laravel-multisite-router)

[![Build Status](https://travis-ci.org/hnhdigital-os/laravel-multisite-router.svg?branch=master)](https://travis-ci.org/hnhdigital-os/laravel-multisite-router) [![StyleCI](https://styleci.io/repos/60137219/shield?branch=master)](https://styleci.io/repos/60137219) [![Test Coverage](https://codeclimate.com/github/hnhdigital-os/laravel-multisite-router/badges/coverage.svg)](https://codeclimate.com/github/hnhdigital-os/laravel-multisite-router/coverage) [![Issue Count](https://codeclimate.com/github/hnhdigital-os/laravel-multisite-router/badges/issue_count.svg)](https://codeclimate.com/github/hnhdigital-os/laravel-multisite-router) [![Code Climate](https://codeclimate.com/github/hnhdigital-os/laravel-multisite-router/badges/gpa.svg)](https://codeclimate.com/github/hnhdigital-os/laravel-multisite-router)

This package has been developed by H&H|Digital, an Australian botique developer. Visit us at [hnh.digital](http://hnh.digital).

## Documentation

* [Installation](#install)
* [Configuration](#configuration)
* [Usage](#usage)
* [Contributing](#contributing)
* [Credits](#credits)
* [License](#license)

## 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:

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

## Contributing

Please see [CONTRIBUTING](https://github.com/hnhdigital-os/laravel-multisite-router/blob/master/CONTRIBUTING.md) for details.

## Credits

* [Rocco Howard](https://github.com/RoccoHoward)
* [All Contributors](https://github.com/hnhdigital-os/laravel-multisite-router/contributors)

## License

The MIT License (MIT). Please see [License File](https://github.com/hnhdigital-os/laravel-multisite-router/blob/master/LICENSE) for more information.