Skip to content

Commit 9230950

Browse files
authored
Upgrade to Slim 4 (#328)
1 parent 0664068 commit 9230950

14 files changed

Lines changed: 1102 additions & 860 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/app/config/local.php
88
/app/tmp/cache/*
99
/app/tmp/logs/*
10+
/app/tmp/templates/*
1011
/docs/changelog.md
1112
/docs/cache/
1213
/docs/*/cache/

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Copyright Matomo team. Do not republish, or copy, or distribute this code or con
2020
```bash
2121
$ cd app/
2222
$ composer install
23+
$ mkdir tmp/cache
24+
$ mkdir tmp/templates
2325
$ cd public/
2426
$ php -S 0.0.0.0:8000
2527
```

app/composer.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@
55
}
66
},
77
"require": {
8-
"php": ">=5.4.0",
9-
"twig/twig": "1.12.*",
10-
"slim/slim": "2.*",
11-
"slim/extras": "2.*",
12-
"slim/views": "0.1.*",
13-
"michelf/php-markdown": "1.4.1",
14-
"mnapoli/front-yaml": "~1.2"
8+
"php": ">=7.2.0",
9+
"slim/slim": "4.*",
10+
"michelf/php-markdown": "1.9.0",
11+
"mnapoli/front-yaml": "~1.2",
12+
"slim/psr7": "^1.0",
13+
"slim/twig-view": "3.0.0",
14+
"php-di/php-di": "^6.0",
15+
"ext-json": "*"
1516
},
16-
"require-dev": {
17-
"phpunit/phpunit": "~4.0"
18-
}
17+
"require-dev": {}
1918
}

0 commit comments

Comments
 (0)