2017 © Pedro PelĆ”ez
 

library php-doc-reader

Reads configurations from comments in PHP, converting them from JSON to arrays.

image

hamboldt/php-doc-reader

Reads configurations from comments in PHP, converting them from JSON to arrays.

  • Tuesday, May 10, 2016
  • by hamboldt
  • Repository
  • 0 Watchers
  • 0 Stars
  • 4,100 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 15 % Grown

The README.md

php-doc-reader

License Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads, (*1)

Reads configuration assets in objects and elements, just like in the example below:, (*2)

composer require hamboldt/php-doc-reader, (*3)

Example

<?php

/**
 * Look this amazing configurable class.
 * @configure {"config_name":"config_value"}
 */
class MyConfigurableClass
{
   /**
    * Look this amazing configurable property!
    * @configure {"config_name":"config_value"}
    */
   public $property;
}

// array("config_name" => "config_value")
PhpDocReader\Reader::getConfig('MyConfigurableClass');

// array("config_name" => "config_value")
PhpDocReader\Reader::getConfig('MyConfigurableClass', 'property');

The Versions

10/05 2016

dev-master

9999999-dev

Reads configurations from comments in PHP, converting them from JSON to arrays.

  Sources   Download

MIT

The Development Requires

by Lucas A. de AraĆŗjo

10/05 2016

v1.0.2

1.0.2.0

Reads configurations from comments in PHP, converting them from JSON to arrays.

  Sources   Download

MIT

The Development Requires

by Lucas A. de AraĆŗjo

19/11 2015

v1.0.1

1.0.1.0

Reads configurations from comments in PHP, converting them from JSON to arrays.

  Sources   Download

MIT

The Development Requires

by Lucas A. de AraĆŗjo

07/08 2015

v1.0.0

1.0.0.0

Reads configurations from comments in PHP, converting them from JSON to arrays.

  Sources   Download

MIT

The Development Requires

by Lucas A. de AraĆŗjo

07/08 2015

v1.0.0-beta

1.0.0.0-beta

Reads configurations from comments in PHP, converting them from JSON to arrays.

  Sources   Download

MIT

The Development Requires

by Lucas A. de AraĆŗjo