Skip to content

Commit ac2c2f4

Browse files
authored
Update README.md
1 parent e1edbfe commit ac2c2f4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
![](https://banners.beyondco.de/Laravel%20Pagination%20Merge.png?theme=light&packageManager=composer+require&packageName=aneeskhan47%2Flaravel-pagination-merge&pattern=architect&style=style_1&description=Merge+multiple+laravel+paginate+instances&md=1&showWatermark=1&fontSize=100px&images=https%3A%2F%2Flaravel.com%2Fimg%2Flogomark.min.svg)
2-
# Pagination Merge for Laravel 5/6/7/8/9
2+
# Pagination Merge for Laravel 5/6/7/8/9/10
33

44
[![Latest Version on Packagist](https://img.shields.io/packagist/v/aneeskhan47/laravel-pagination-merge.svg?style=flat-square)](https://packagist.org/packages/aneeskhan47/laravel-pagination-merge)
55
[![Total Downloads](https://img.shields.io/packagist/dt/aneeskhan47/laravel-pagination-merge.svg?style=flat-square)](https://packagist.org/packages/aneeskhan47/laravel-pagination-merge)
66
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/aneeskhan47/laravel-pagination-merge/run-tests?label=tests)](https://github.com/aneeskhan47/laravel-pagination-merge/actions?query=workflow%3Arun-tests+branch%3Amain)
77
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/aneeskhan47/laravel-pagination-merge/Check%20&%20fix%20styling?label=code%20style)](https://github.com/aneeskhan47/laravel-pagination-merge/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
88

9-
A simple laravel pagination merge package that allows you to merge multiple `->paginate()` instances.
9+
A simple Laravel pagination merge package that allows you to merge multiple `->paginate()` instances.
1010

1111
### Some Background
1212

13-
I had to deal with something like that in a project i was working on, where in one of the pages i had to display two type of publication paginated and sorted by the created_at field. In my case it was a **Post** model and an **Event** Model (hereinafter referred to as publications).
13+
I had to deal with something like that in a project I was working on, where in one of the pages I had to display two types of publication paginated and sorted by the created_at field. In my case, it was a **Post** model and an **Event** Model (hereinafter referred to as publications).
1414

15-
The only difference is i didn't want to get all the publications from database then merge and sort the results, as you can imagine it would rise a performance issue if we have hundreds of publications.
15+
The only difference is I didn't want to get all the publications from the database and then merge and sort the results, as you can imagine it would rise a performance issue if we have hundreds of publications.
1616

17-
So i figure out that it would be more convenient to paginate each model and only then, merge and sort them. that's why i built this package.
17+
So I figure out that it would be more convenient to paginate each model and only then, merge and sort them. that's why I built this package.
1818

1919
This package is heavily inspired by this stackoverflow [answer](https://stackoverflow.com/a/58252907)
2020

@@ -103,15 +103,15 @@ composer test
103103

104104
### Changelog
105105

106-
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
106+
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
107107

108108
## Contributing
109109

110110
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
111111

112112
### Security
113113

114-
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
114+
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
115115

116116
## Credits
117117

0 commit comments

Comments
 (0)