36 lines
748 B
Markdown
36 lines
748 B
Markdown
# DomFramework
|
|
|
|
# Introduction
|
|
This library is small : one feature in one file.
|
|
Well tested, developped from 2005 without interruption.
|
|
|
|
# Install from Composer
|
|
Create a composer.json file with content :
|
|
```
|
|
{
|
|
"name": "mynamespace/my-project-that-uses-composer",
|
|
"repositories": [
|
|
{
|
|
"name": "dominique.fournier/domframework",
|
|
"type": "vcs",
|
|
"url": "https://git.fournier38.fr/Dominique.Fournier/DomFramework.git"
|
|
}
|
|
],
|
|
"require": {
|
|
"dominique.fournier/domframework": "dev-master"
|
|
}
|
|
}
|
|
```
|
|
|
|
Install the last version : `composer install`
|
|
|
|
Then use it :
|
|
```php
|
|
<?php
|
|
|
|
require_once ("vendor/autoload.php");
|
|
|
|
$version = new Domframework\Version();
|
|
var_dump($version::version());
|
|
```
|