Download the PHP package prodigious/symfony-multisite-bundle without Composer

On this page you can find all versions of the php package prodigious/symfony-multisite-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package symfony-multisite-bundle

Symfony Multisite Bundle

The repository contains the Symfony multisite bundle for Symfony 3. This bundle allows you to manage multisite in symfony application.

Structure public folder

Each sites first looks for assets in its own folder

For example (demo_2):

The site demo_2 will first look for the image chat.png in

/web/public/demo_2/imgs/chat.png

if this image does not exist, the file /web/imgs/chat.png will be used

Structure robots.txt

Each site can have its own robots.txt in the folder :

/robots/hostname.txt

if hostname.txt does not exist, the file /web/robots.txt will be used.

Installation

Setup

Then add these lines to your composer.json of your Symfony project:

Afterwards, initialize the bundle using

After the installation, the bundle will create some files in your project :

And you need to modify some files :

Add these lines to .htaccess in the folder web:
Modifiy your app.php and app_dev.php in the folder web:

Replace

To

And Relace

To

Like this :

Instructions

There is a list of commands to manage your sites.

Create a new site

screenshot

Get the list of sites

screenshot

Disable a site

screenshot

Enable a site

screenshot

Delete a site

screenshot

Synchronizer configuration

Attributes

Additional info

Author: Nan GUO

Company : Prodigious


All versions of symfony-multisite-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
symfony/symfony Version ^3.0
doctrine/doctrine-bundle Version ~1.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package prodigious/symfony-multisite-bundle contains the following files

Loading the files please wait ....