derhasi/boxfile

Command to handle freistil Boxfiles anywhere

Installs: 15 297

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 4

Open Issues: 1

Type:cli

0.2.1 2017-12-07 11:23 UTC

This package is not auto-updated.

Last update: 2024-12-21 19:26:28 UTC


README

This is a tool for applying Boxfile specifics to your project. A Boxfile is a configuration file for a Freistilbox site.

Installation

The tool can be installed via Composer.

composer require derhasi/boxfile

Command

Creating symlinks for environment specific paths.

./vendor/bin/boxfile symlink [env] --boxfile=Boxfile --docroot=docroot

Example boxfile

version: 1.0
shared_folders:
  - sites/default/files
env_specific_files:
  .htaccess:
    local: .htaccess.local
    staging: .htaccess.stage
  sites/default/settings.php:
    local: settings.local.php
    staging: settings.stage.php

With ./vendor/bin/boxfile local symlinks for the given example will be applied.