File tree 3 files changed +5
-5
lines changed 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -91,8 +91,8 @@ return [
91
91
'use_cursor_pagination' => false,
92
92
93
93
/*
94
- * use simpleFastPaginate() or fastPaginate from https://github.com/hammerstonedev /fast-paginate
95
- * use may installed it via `composer require hammerstone /fast-paginate`
94
+ * use simpleFastPaginate() or fastPaginate from https://github.com/aarondfrancis /fast-paginate
95
+ * use may installed it via `composer require aaronfrancis /fast-paginate`
96
96
*/
97
97
'use_fast_pagination' => false,
98
98
Original file line number Diff line number Diff line change 47
47
'use_cursor_pagination ' => false ,
48
48
49
49
/*
50
- * use simpleFastPaginate() or fastPaginate from https://github.com/hammerstonedev /fast-paginate
51
- * use may installed it via `composer require hammerstone /fast-paginate`
50
+ * use simpleFastPaginate() or fastPaginate from https://github.com/aarondfrancis /fast-paginate
51
+ * use may installed it via `composer require aaronfrancis /fast-paginate`
52
52
*/
53
53
'use_fast_pagination ' => false ,
54
54
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ protected function registerMacro()
45
45
: (config ('json-api-paginate.use_fast_pagination ' ) ? 'fastPaginate ' : 'paginate ' )
46
46
);
47
47
48
- if (config ('json-api-paginate.use_fast_pagination ' ) && ! InstalledVersions::isInstalled ('hammerstone/fast-paginate ' )) {
48
+ if (config ('json-api-paginate.use_fast_pagination ' ) && ! ( InstalledVersions::isInstalled ('hammerstone/fast-paginate ' ) || InstalledVersions:: isInstalled ( ' aaronfrancis/fast-paginate ' ) )) {
49
49
abort (500 , 'You need to install hammerstone/fast-paginate to use fast pagination. ' );
50
50
}
51
51
You can’t perform that action at this time.
0 commit comments