2017 © Pedro Peláez
 

library common-lib

Common classes/services

image

ftven/common-lib

Common classes/services

  • Sunday, August 10, 2014
  • by ohoareau
  • Repository
  • 16 Watchers
  • 0 Stars
  • 526 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

PHP COMMON LIB

Build Status, (*1)

Usage

Add the dependency in your composer.json :, (*2)

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

Then update your dependency :, (*3)

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

Then you can use it directly in your scripts :, (*4)

<?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 !, (*5)

FTVEN Build Team., (*6)

The Versions