dev-master
9999999-dev https://github.com/fredericseiler/directiveA PHP library to manipulate nginx configurations
MIT
The Requires
- php ~5.6|~7.0
- tightenco/collect ^5.2
The Development Requires
directive seiler
A PHP library to manipulate nginx configurations
Directive helps you to manipulate Nginx configurations in PHP with ease., (*2)
PHP 7.3 > 8.0, (*3)
$ composer require seiler/directive
<?php use Seiler\Directive;
$config = file_get_contents('/path/to/nginx/config/file.conf'); $directive = Directive::fromString($config);
$directive->server->serverName->value('example.org');
file_put_contents('/path/to/nginx/config/file.conf', $directive);
The MIT License (MIT). Please see License File for more information., (*4)
A PHP library to manipulate nginx configurations
MIT
directive seiler