Skip to content

Commit 30e20c1

Browse files
committed
Merge pull request #3 from fprochazka/fix/composer
Composer.json added autoloading definitions and required version
2 parents d9fa43e + 6e5cfc5 commit 30e20c1

2 files changed

Lines changed: 16 additions & 14 deletions

File tree

composer.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
2-
"name": "northys/css-inliner",
3-
"description": "PHP Library that converts css file into html inline styles.",
4-
"require": {
5-
"symfony/css-selector": "*",
6-
"sabberworm/php-css-parser": "*"
7-
},
8-
"license": "LGPL",
9-
"authors": [
10-
{
11-
"name": "Jiri Travnicek"
12-
}
13-
],
14-
"minimum-stability": "stable"
2+
"name": "northys/css-inliner",
3+
"description": "PHP Library that converts css file into html inline styles.",
4+
"license": "LGPL",
5+
"authors": [
6+
{
7+
"name": "Jiri Travnicek"
8+
}
9+
],
10+
"require": {
11+
"symfony/css-selector": "~2.5",
12+
"sabberworm/php-css-parser": "6.0.*"
13+
},
14+
"autoload": {
15+
"classmap": ["src/"]
16+
}
1517
}

examples/run_example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require __DIR__ . '/../src/Northys/CssInliner/CssInliner.php';
2+
33
require __DIR__ . '/../vendor/autoload.php';
44

55
$inliner = new Northys\CSSInliner;

0 commit comments

Comments
 (0)