Alexey Zakhlestin's Blog

Programming for Mac and Web

Syck for PHP Goes Beta (in PECL)

Permalink

Here it is: new and shiny PECL package of Syck

This is an extension for reading and writing YAML-files.

YAMLâ„¢ (rhymes with “camel”) is a straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages. YAML is optimized for data serialization, configuration settings, log files, Internet messaging and filtering.

YAML is extensively used by Symfony Framework and there is also a component for Zend Framework in development. But it’s use is not limited by something big — YAML is a perfect solution for configuration-files (way more comfortable than Ini or XML).

Some time ago, I posted installation instructions. Here is the updated version:

  • Install Syck-library using your favorite package-manager (stable 0.55 version will do) [debian, freebsd, etc.]

  • pecl install syck-beta

  • restart Apache of Fast-CGI process (if needed)

Tell me how it works for you :)

Comments