2017 © Pedro Peláez
 

library kohana-multisite

Extension of Kohana framework that allows using common classes and configurations for multiple sites across one project

image

illusorium/kohana-multisite

Extension of Kohana framework that allows using common classes and configurations for multiple sites across one project

  • Tuesday, June 6, 2017
  • by illusorium
  • Repository
  • 0 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Extension of Kohana framework with simple multisite support

This extension allows using common code for multiple sites in one project. Each of sites must have its own index.php, bootstrap.php, etc., but they also could use common code base:, (*1)

  • common classes (models, helpers)
  • configuration files (database, etc.)
  • other project-wide files, like migrations

Common files located in common/ directory, that is linked with COMPATH constant by analogy with APPPATH, SYSPATH, and MODPATH., (*2)

Installation

composer create-project illusorium/kohana-multisite:dev-master, (*3)

Creating new site structure from command-line

Kohana minion module is required to use this feature. Enable it in bootstrap.php., (*4)

php minion multisite:create --site=new_host [--docRoot=www], (*5)

new_host - new site's name,, (*6)

www - name of documentRoot directory: www, public_html, htdocs, etc., (*7)

Site will be created in sites/new_host. You may also need to add new virtual host into web server configuration., (*8)

The Versions

06/06 2017

dev-master

9999999-dev https://github.com/illusorium/kohana-multisite

Extension of Kohana framework that allows using common classes and configurations for multiple sites across one project

  Sources   Download

BSD-3-Clause

The Requires

 

multisite kohana