Skip to content

Commit f38bf8e

Browse files
committed
Ready for Laravel 5.5
* Remove unused code * Updated composer.json * Changed package namespace
1 parent 4ab000b commit f38bf8e

25 files changed

+222
-248
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
/vendor/
2-
.idea
1+
/vendor
2+
/.idea
3+
composer.phar
4+
.DS_Store
5+
Thumbs.db

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
install: composer install
21
language: php
2+
33
php:
44
- '7.0'
55
- '7.1'
6-
- nightly
6+
- nightly
7+
8+
install: travis_retry composer install --no-interaction --prefer-dist --no-suggest
9+
10+
script: vendor/bin/phpunit --verbose

composer.json

Lines changed: 44 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,47 @@
11
{
2-
"name": "bbsnly/chartjs-php",
3-
"description": "PHP library for ChartJS 2.0",
4-
"keywords": [
5-
"chartjs",
6-
"php"
7-
],
8-
"homepage": "https://github.com/bbsnly/chartjs-php",
9-
"type": "package",
10-
"version": "1.2.0",
11-
"license": "MIT",
12-
"authors": [
13-
{
14-
"name": "Anatoliy Babushka",
15-
"email": "[email protected]"
2+
"name": "bbsnly/chartjs-php",
3+
"description": "Laravel helper for ChartJS 2.0",
4+
"keywords": [
5+
"chartjs",
6+
"php",
7+
"laravel"
8+
],
9+
"homepage": "https://github.com/bbsnly/chartjs-php",
10+
"type": "package",
11+
"version": "2.0.0",
12+
"license": "MIT",
13+
"authors": [
14+
{
15+
"name": "Anatoliy Babushka",
16+
"email": "[email protected]"
17+
}
18+
],
19+
"require": {
20+
"php": ">=7.0"
21+
},
22+
"autoload": {
23+
"psr-4": {
24+
"Bbsnly\\ChartJs\\": "src/"
25+
}
26+
},
27+
"autoload-dev": {
28+
"psr-4": {
29+
"Tests\\": "tests/"
30+
}
31+
},
32+
"minimum-stability": "dev",
33+
"prefer-stable": true,
34+
"extra": {
35+
"branch-alias": {
36+
"dev-master": "3.0-dev"
37+
},
38+
"laravel": {
39+
"providers": [
40+
"Bbsnly\\ChartJs\\ChartServiceProvider"
41+
]
42+
}
43+
},
44+
"require-dev": {
45+
"phpunit/phpunit": "^6.4"
1646
}
17-
],
18-
"require-dev": {
19-
"phpunit/phpunit": "^6.2"
20-
},
21-
"autoload": {
22-
"psr-4": {
23-
"Chart\\": "src/"
24-
}
25-
},
26-
"autoload-dev": {
27-
"psr-4": {
28-
"Tests\\": "tests/"
29-
}
30-
},
31-
"scripts": {
32-
"test": [
33-
"vendor/bin/phpunit"
34-
]
35-
},
36-
"config": {
37-
"sort-packages": true
38-
}
3947
}

0 commit comments

Comments
 (0)