PHP Package: mustangostang/spyc

Spyc is a PHP YAML loader/dumper that supports YAML 1.0 specification. It provides a simple and easy-to-use interface for parsing and dumping YAML data efficiently.

Current Version: 0.6.3
Last Updated: 2019-09-10
PHP Requirement: >=5.3.1
Dependencies:
symfony/yaml
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Spyc is a PHP library that simplifies working with YAML files. It allows you to easily load YAML files into PHP arrays and vice versa. Spyc follows the YAML 1.0 specification and provides a reliable solution for handling YAML data in your PHP applications. With Spyc, managing configuration files and data serialization becomes a breeze.

🔗 View on GitHub

Download Latest Version: 0.6.3

Download Download v0.6.3

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/mustangostang/spyc/0.6.3/loader.php';
require_once 'libs/symfony/yaml/7.3.3/loader.php';

use Spyc;

$obj = new ();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.