Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/joni2back/php-classic
- Owner: joni2back
- Created: 2013-07-05T15:21:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-05-11T17:36:53.000Z (over 8 years ago)
- Last Synced: 2024-10-31T10:44:02.540Z (12 days ago)
- Language: PHP
- Homepage:
- Size: 48.8 KB
- Stars: 12
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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());
```