ftven/common-lib

Common classes/services

1.2.1 2014-08-10 15:27 UTC

This package is not auto-updated.

Last update: 2024-12-17 03:31:06 UTC


README

Build Status

Usage

Add the dependency in your composer.json :

...
"require": {
    ...
    "ftven/common-lib": "1.*"
}

Then update your dependency :

$ ./composer.phar update ftven/common-lib

Then you can use it directly in your scripts :

<?php

// ...

require_once '/path/to/vendor/autoload.php';

$filesystem = new Ftven\Build\Common\Service\Filesystem\FilesystemService();
$filesystem->setFilesystem(new Symfony\Component\Filesystem\Filesystem());

$content = $filesystem->readFile('/my/file');

// ...

Enjoy !

FTVEN Build Team.