Download the PHP package bellcom/os2subsites_provision without Composer

On this page you can find all versions of the php package bellcom/os2subsites_provision. 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 os2subsites_provision

Drupal multisite server provision scripts set.

Requirements.

NOTE: This solution doesn't work with NGINX web server.

Download and install.

Composer is recommended way to get files in your drupal project. Just use command composer require bellcom/os2subsites_provision.

Composer specific settings.

For composer based stack you will need to add specific settings to composer.json file.

1. Override default installed path for composer installer.

By default bellcom/os2subsites_provision will be installed as drupal-module. Add extra line to your composer.json to override default path.

Add this line

above line define path for drupal modules

2. Check local and config files.

Composer will keep os2subsite_provision code base updated and stable. It means that all extra files will be removed from os2subsites_provision directory, includes config and local files. To add files back after every composer install/update add following command to composer.json scripts section.

To manage subsites there are drupal module that triggering server scripts. See how to add module below.

Allow web server run os2subsites_provision scripts.

To allow web server run scripts that will handle subsites you need to allow apache user run this scripts with sudo rights without password. To allow Apache user www-data run os2subsites scripts add following line to /etc/sudoers.d/os2subiste_provision file.

Restart web server after adding to apply changes.

Check article How to run sudo command without a password if you need more info or just google it.

Drupal 8 module.

To add module to your Drupal 8 installation create symlink to proper 8.x module as you can see in example. It assumes that you have web as drupal root folder and scripts/os2subsites_provision as folder with os2subsites scripts.

See module README.md file

Drupal 7 module.

To add module to your Drupal 7 installation create symlink to proper 7.x module as you can see in example. It assumes that you have docroot as drupal root folder and scripts/os2subsites_provision as folder with os2subsite_provision scripts.

See module README.md file


All versions of os2subsites_provision with dependencies

PHP Build Version
Package Version
Requires composer/installers Version *
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 bellcom/os2subsites_provision contains the following files

Loading the files please wait ....