Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joni2back/php-classic

:dart: PHP libraries to be used as helpers in any project - Curl, Error handler, Autoloader, Ftp, Shell, Exception, Console, etc
https://github.com/joni2back/php-classic

Last synced: 5 days ago
JSON representation

:dart: PHP libraries to be used as helpers in any project - Curl, Error handler, Autoloader, Ftp, Shell, Exception, Console, etc

Awesome Lists containing this project

README

        

php-classic
===========

PHP libraries to be used as helpers in any project

[![Build Status](https://travis-ci.org/joni2back/php-classic.svg?branch=master)](https://travis-ci.org/joni2back/php-classic)

#### Include the lib or use PSR-4
```php
//in your app bootstrap
require_once __DIR__ . '/php-classic/src/autoloader.php';
```
#### Usages
```php
use PHPClassic\Shell;
use PHPClassic\ConsoleOutput;

$shell = new Shell;
$output = new ConsoleOutput;

$shell->execute('ls', array(__DIR__, '-la'));
$output
->setColor('yellow', null, 'bold')
->write($shell->getOutput());
```