PHPackages                             codeblastr/multisite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. codeblastr/multisite

AbandonedArchivedCakephp-plugin

codeblastr/multisite
====================

A multi-site plugin for CakePHP 3.x, which lets you have host multiple sites from a single CakePHP install.

2152PHP

Since Apr 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/CodeBlastr/multisite)[ Packagist](https://packagist.org/packages/codeblastr/multisite)[ RSS](/packages/codeblastr-multisite/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Multisite Support for CakePHP 3.x
=================================

[](#multisite-support-for-cakephp-3x)

A plugin that allows you to have a single Cakephp 3.x app which supports multiple websites, while being flexible enough that you can customize individual files on a per site basis.

For example: if a request is made to example.com, you might have some files like `APP/sites/example.com/config/app.php`, and `APP/sites/example.com/vendor/CakeDC/Users/src/Controllers/UsersController.php`, both of which would override the respective default file in the core APP on a per site basis.

Installation
------------

[](#installation)

In console run

```
composer require codeblastr/multisite
```

Replace the first 6 lines of APP/config/bootstrap.php with the following.

```
