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: 2 months 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.
- Host: GitHub
- URL: https://github.com/hnhdigital-os/laravel-multisite-router
- Owner: hnhdigital-os
- License: mit
- Created: 2016-06-01T01:56:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-30T07:04:24.000Z (almost 7 years ago)
- Last Synced: 2025-03-28T02:03:58.850Z (3 months ago)
- Topics: development, laravel, middleware, multi-domain, routing, staging
- Language: PHP
- Homepage:
- Size: 39.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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.
[](https://packagist.org/packages/hnhdigital-os/laravel-multisite-router) [](https://packagist.org/packages/hnhdigital-os/laravel-multisite-router) [](https://packagist.org/packages/hnhdigital-os/laravel-multisite-router) [](https://laravel.com/) [](https://packagist.org/packages/hnhdigital-os/laravel-multisite-router)
[](https://travis-ci.org/hnhdigital-os/laravel-multisite-router) [](https://styleci.io/repos/60137219) [](https://codeclimate.com/github/hnhdigital-os/laravel-multisite-router/coverage) [](https://codeclimate.com/github/hnhdigital-os/laravel-multisite-router) [](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.