Skip to content

Commit 6af6357

Browse files
add lumen compatibility
1 parent 4a60455 commit 6af6357

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
],
1313
"require": {
1414
"php": ">=5.4",
15-
"laravel/framework": ">=5.0.0"
15+
"illuminate/support": ">=5.0.0",
16+
"illuminate/database": ">=5.0.0",
17+
"illuminate/http": ">=5.0.0"
1618
},
1719
"require-dev": {},
1820
"autoload": {

src/LumenServiceProvider.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Unlu\Laravel\Api;
4+
5+
use Illuminate\Support\ServiceProvider;
6+
7+
class LumenServiceProvider extends ApiQueryBuilderServiceProvider
8+
{
9+
public function boot()
10+
{
11+
//
12+
}
13+
}

0 commit comments

Comments
 (0)