https://github.com/secondtruth/essentials
Useful helper classes for web projects
https://github.com/secondtruth/essentials
php-library social-web
Last synced: 2 months ago
JSON representation
Useful helper classes for web projects
- Host: GitHub
- URL: https://github.com/secondtruth/essentials
- Owner: secondtruth
- License: isc
- Created: 2015-06-21T17:23:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-03T15:26:21.000Z (almost 10 years ago)
- Last Synced: 2025-03-19T20:48:00.272Z (3 months ago)
- Topics: php-library, social-web
- Language: PHP
- Homepage:
- Size: 184 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
FlameCore Essentials
====================[](https://packagist.org/packages/flamecore/essentials)
[](https://travis-ci.org/FlameCore/Essentials)
[](https://scrutinizer-ci.com/g/FlameCore/Essentials)
[](https://scrutinizer-ci.com/g/FlameCore/Essentials)
[](http://www.flamecore.org/projects/essentials)This library provides essential helper classes for Social Networking sites.
Features
--------* **Formatters:** Format meta information and text fragments
Classes: `LinkFormatter`, `RelativeTimeFormatter`
* **Text Parsers:** Parse and format all types of text
Classes: `SimpleTextParser`, `BBCodeParser`
* **Helpers:** Many useful helper classes
Classes: `KeywordsFinder`, `Slugifier`, `WordlistGenerator`
Installation
------------### Install via Composer
Create a file called `composer.json` in your project directory and put the following into it:
```
{
"require": {
"flamecore/essentials": "0.1.*"
}
}
```[Install Composer](https://getcomposer.org/doc/00-intro.md#installation-nix) if you don't already have it present on your system:
$ curl -sS https://getcomposer.org/installer | php
Use Composer to [download the vendor libraries](https://getcomposer.org/doc/00-intro.md#using-composer) and generate the vendor/autoload.php file:
$ php composer.phar install
To make use of the API, include the vendor autoloader and use the classes:
```php
namespace Acme\MyApplication;use FlameCore\Essentials\KeywordsFinder;
require 'vendor/autoload.php';
```Requirements
------------* You must have at least PHP version 5.4 installed on your system.
Contributors
------------If you want to contribute, please see the [CONTRIBUTING](CONTRIBUTING.md) file first.
Thanks to the contributors:
* Christian Neff (secondtruth)