GitPedia
spatie

spatie/laravel-json-api-paginate

A paginator that plays nice with the JSON API spec

30 Releases
Latest: 3mo ago
2.0.1Latest
freekmurzefreekmurze·3mo ago·February 21, 2026
GitHub

Add Laravel 13 support

2.0.0
AlexVanderbistAlexVanderbist·4mo ago·February 3, 2026
GitHub

💥 Breaking Changes

  • Raise minimum PHP version to 8.2
  • Drop PHP 8.0 support
  • Remove `base_url` configuration option (was confusing and incorrect)

📋 Changed

  • Update PHP CS Fixer configuration to modern format (`.php-cs-fixer.php`)
  • Upgrade test suite with updated dependencies
  • Add _ide_helper.php stubs for better IDE support
  • Add additional tests
1.16.3
freekmurzefreekmurze·1y ago·February 26, 2025
GitHub

📋 What's Changed

  • Updated package for fast-paginate by @rcerljenko in https://github.com/spatie/laravel-json-api-paginate/pull/84

New Contributors

  • @rcerljenko made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/84
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.16.2...1.16.3
1.16.2
freekmurzefreekmurze·1y ago·February 21, 2025
GitHub

📋 What's Changed

  • Laravel 12.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-json-api-paginate/pull/83
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.16.1...1.16.2
1.16.1
freekmurzefreekmurze·1y ago·December 23, 2024
GitHub

📋 What's Changed

  • Fix compatibility with Laravel < 11 by @sebj54 in https://github.com/spatie/laravel-json-api-paginate/pull/82
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.16.0...1.16.1
1.16.0
freekmurzefreekmurze·1y ago·December 16, 2024
GitHub

📋 What's Changed

  • Add `$totalResults` parameter + update docs by @sebj54 in https://github.com/spatie/laravel-json-api-paginate/pull/79

New Contributors

  • @sebj54 made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/79
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.15.1...1.16.0
1.15.1
freekmurzefreekmurze·1y ago·August 6, 2024
GitHub

📋 What's Changed

  • fix fast paginate check installed, update readme for config by @lloricode in https://github.com/spatie/laravel-json-api-paginate/pull/78
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.15.0...1.15.1
1.15.0
freekmurzefreekmurze·1y ago·August 5, 2024
GitHub

📋 What's Changed

  • Add support for fast paginate by @lloricode in https://github.com/spatie/laravel-json-api-paginate/pull/77

New Contributors

  • @lloricode made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/77
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.14.0...1.15.0
1.14.0
freekmurzefreekmurze·2y ago·February 28, 2024
GitHub

📋 What's Changed

  • Laravel 11.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-json-api-paginate/pull/74
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.13.0...1.14.0
1.13.0
freekmurzefreekmurze·3y ago·March 27, 2023
GitHub

📋 What's Changed

  • Add macros for BelongsToMany and HasManyThrough by @philipgunther in https://github.com/spatie/laravel-json-api-paginate/pull/65

New Contributors

  • @philipgunther made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/65
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.12.2...1.13.0
1.12.2
freekmurzefreekmurze·3y ago·January 25, 2023
GitHub

📋 What's Changed

  • Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-json-api-paginate/pull/71
  • Laravel 10.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-json-api-paginate/pull/72

New Contributors

  • @patinthehat made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/71
  • @laravel-shift made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/72
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.12.1...1.12.2
1.12.1
freekmurzefreekmurze·3y ago·November 19, 2022
GitHub

📋 What's Changed

  • Refactor tests to Pest by @alexmanase in https://github.com/spatie/laravel-json-api-paginate/pull/68
  • Append query parameters to URLs when using cursor pagination by @NizarBerjawi in https://github.com/spatie/laravel-json-api-paginate/pull/69

New Contributors

  • @alexmanase made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/68
  • @NizarBerjawi made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/69
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.12.0...1.12.1
1.12.0
freekmurzefreekmurze·4y ago·May 16, 2022
GitHub

📋 What's Changed

  • Add cursor pagination by @AyoobMH in https://github.com/spatie/laravel-json-api-paginate/pull/61

New Contributors

  • @AyoobMH made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/61
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.11.2...1.12.0
1.11.2
freekmurzefreekmurze·4y ago·May 13, 2022
GitHub

📋 What's Changed

  • change wording to say that it does not follow the json spec by @brettnielsen in https://github.com/spatie/laravel-json-api-paginate/pull/60
  • Make negetive page[size] exception safe by @ifduyue in https://github.com/spatie/laravel-json-api-paginate/pull/62

New Contributors

  • @brettnielsen made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/60
  • @ifduyue made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/62
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.11.1...1.11.2
1.11.1
freekmurzefreekmurze·4y ago·January 11, 2022
GitHub

📋 Changes

  • allow Laravel 9
1.11.0
freekmurzefreekmurze·4y ago·November 27, 2021
GitHub

📋 What's Changed

  • Pagination is not part of the JSON:API specification by @bbrala in https://github.com/spatie/laravel-json-api-paginate/pull/56
  • Adds the JsonPaginate macro to the base Query Builder by @troy-whitespark in https://github.com/spatie/laravel-json-api-paginate/pull/58

New Contributors

  • @bbrala made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/56
  • @troy-whitespark made their first contribution in https://github.com/spatie/laravel-json-api-paginate/pull/58
  • Full Changelog: https://github.com/spatie/laravel-json-api-paginate/compare/1.10.0...1.11.0
1.10.0
riasvdvriasvdv·5y ago·November 27, 2020
GitHub

📋 Changes

  • Add PHP 8 support
  • Drop support for Laravel 5.8
1.9.0
freekmurzefreekmurze·5y ago·September 30, 2020
GitHub

📋 Changes

  • add simple pagination option (#43)
1.8.0
freekmurzefreekmurze·5y ago·September 8, 2020
GitHub

📋 Changes

  • add support for Laravel 8.0
1.7.0
freekmurzefreekmurze·6y ago·March 2, 2020
GitHub

📋 Changes

  • add support for Laravel 7.0
1.6.0
AlexVanderbistAlexVanderbist·6y ago·September 4, 2019
GitHub

📋 Changes

  • add support for Laravel 6.0
  • added configurable pagination query parameter (#35)
1.5.0
freekmurzefreekmurze·7y ago·February 27, 2019
GitHub
1.4.3
freekmurzefreekmurze·7y ago·February 27, 2019
GitHub
1.4.2
freekmurzefreekmurze·7y ago·February 1, 2019
GitHub

📋 Changes

  • use Arr:: and Str:: functions
1.4.1
freekmurzefreekmurze·7y ago·September 4, 2018
GitHub

📋 Changes

  • add support for Laravel 5.7
1.4.0
freekmurzefreekmurze·8y ago·June 15, 2018
GitHub

📋 Changes

  • add `base_url` config option
1.3.2
freekmurzefreekmurze·8y ago·May 15, 2018
GitHub

📋 Changes

  • fix casting of size parameter
1.3.1
AlexVanderbistAlexVanderbist·8y ago·February 8, 2018
GitHub

📋 Changes

  • Add support for Laravel 5.6
1.3.0
freekmurzefreekmurze·8y ago·January 4, 2018
GitHub

📋 Changes

  • add `default_size` config and parameter option
1.2.1
freekmurzefreekmurze·8y ago·October 16, 2017
GitHub

📋 Changes

  • fix for setting max results