File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed
Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " appel/laravel- sqlite-functions" ,
2+ "name" : " appel/sqlite-functions" ,
33 "description" : " A polyfill for various SQL functions that SQLite doesn't natively support." ,
44 "type" : " library" ,
55 "license" : " MIT" ,
991010 }
1111 ],
12- "require" : {}
12+ "require" : {
13+ "php" : " >=7" ,
14+ "illuminate/database" : " 5.*" ,
15+ },
16+ "autoload" : {
17+ "psr-4" : {
18+ "Appel\\ SqliteFunctions\\ " : " src/"
19+ }
20+ },
21+ "extra" : {
22+ "laravel" : {
23+ "providers" : [
24+ " Appel\\ SqliteFunctions\\ ServiceProvider"
25+ ]
26+ }
27+ }
1328}
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Appel \SqliteFunctions ;
4+
5+ class ServiceProvider extends BaseProvider
6+ {
7+ public function boot ()
8+ {
9+ if ($ this ->app ->make ('db ' )->getDriverName () == 'sqlite ' ) {
10+ //
11+ }
12+ }
13+ }
You can’t perform that action at this time.
0 commit comments