Skip to content

Commit 94960f9

Browse files
committed
Add ServiceProvider for Laravel
1 parent 5878811 commit 94960f9

File tree

3 files changed

+489
-2
lines changed

3 files changed

+489
-2
lines changed

composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"php": "^7.0"
2222
},
2323
"require-dev": {
24+
"illuminate/support": "^5.5",
2425
"phpunit/phpunit": "^6.0"
2526
},
2627
"scripts": {
@@ -36,6 +37,13 @@
3637
"CodeZero\\BrowserLocale\\Tests\\": "tests"
3738
}
3839
},
40+
"extra": {
41+
"laravel": {
42+
"providers": [
43+
"CodeZero\\BrowserLocale\\Laravel\\BrowserLocaleServiceProvider"
44+
]
45+
}
46+
},
3947
"config": {
4048
"preferred-install": "dist",
4149
"sort-packages": true,

0 commit comments

Comments
 (0)