Skip to content

Commit 4e7d116

Browse files
author
andrei.korsak
committed
Provider updated for auto-discovery
1 parent 99db996 commit 4e7d116

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
"Merkeleon\\LaravelClickHouse\\Tests\\": "tests/"
2828
}
2929
},
30+
"extra": {
31+
"laravel": {
32+
"providers": [
33+
"Merkeleon\\LaravelClickHouse\\Providers\\ClickHouseServiceProvider"
34+
]
35+
}
36+
},
3037
"scripts": {
3138
"test": "vendor/bin/phpunit --stop-on-failure tests/"
3239
}

src/ClickHouseServiceProvider.php renamed to src/Providers/ClickHouseServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Merkeleon\LaravelClickHouse;
5+
namespace Merkeleon\LaravelClickHouse\Providers;
66

77
use Illuminate\Support\ServiceProvider;
88
use Illuminate\Database\DatabaseManager;

0 commit comments

Comments
 (0)