r1si/apache-vhost-helper

A PHP library used to generate and getter information about Apache Vhost

1.0.9 2020-09-17 17:16 UTC

This package is auto-updated.

Last update: 2025-06-18 04:32:04 UTC


README

A PHP library used to generate and getter information about Apache Vhost
for now the library works only in write mode, read is in To-Do

Inspired by apache-vhost-processor but completely rewritten

Table of Contents

  1. To-Do
  2. How to install
  3. Release Notes
  4. Example/Usage
  5. Documentation

TO-DO

  • Make Read mode (read from existing apache config, and manipolate it)
  • Write full documentation
  • Convert usage with no class

How to install

You can install the package via composer by running the following command:
composer require r1si/apache-vhost-helper

Release Notes

See Release github page

Example Usage

You can see an example usage inside /example/default.php file Basically (for write a new configuration) you have two modes of use:

  • Short nasted method
  • Classic method

Documentation

TO-DO, for now see the example