Skip to content

Commit a2ff998

Browse files
committed
README.md
1 parent 2743032 commit a2ff998

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
This package is particularly useful for implementing pagination with manual SELECT queries using `DB::select()`.
2020

21-
Laravel Man Pagination is a Open Source PHP library of a **simple manual pagination** (compatible with **Bootstrap 5**).
21+
Laravel Man Pagination is an Open Source PHP library of a **simple manual pagination** (compatible with **Bootstrap 5**).
2222

23-
With this pagination, you will have no limit in a Laravel project to manage paginations.
23+
With this pagination, you will have no limits in a Laravel project to manage paginations.
2424

25-
This pagination also allows you to generate a **per page**. This will generate a form HTML tag with a select HTML tag and clickable options.
25+
This pagination also allows you to generate a per page form. This will generate a form HTML tag with a select HTML tag and clickable options.
2626

2727
### Key Features
2828

@@ -162,7 +162,7 @@ php artisan vendor:publish --provider="SDamian\LaravelManPagination\ManPaginatio
162162

163163
When doing "complex" SQL queries, sometimes you prefer to do it without Eloquent.
164164

165-
Here is an example of SQL query where this library is really useful:
165+
Here is an example of an SQL query where this library is really useful:
166166

167167
```php
168168
use SDamian\LaravelManPagination\Pagination;
@@ -344,7 +344,7 @@ $pagination = new Pagination(['number_links' => 10]);
344344

345345
// To change the choice to select potentially generate with perPageForm():
346346
$pagination = new Pagination(['options_select' => [5, 10, 50, 100, 500, 'all']]);
347-
// The value of 'options_select' must be a array.
347+
// The value of 'options_select' must be an array.
348348
// Only integers and 'all' are permitted.
349349
// Options are [15, 30, 50, 100, 200, 300] by default.
350350

@@ -376,10 +376,10 @@ In this pagination, I tried to keep the conventions and the behavior of the pagi
376376

377377
### I Added Extra "Security":
378378

379-
If for example there are only 8 pages, and in the URL the visitor tries to go to page 9 (or to a page after page 9):
379+
If, for example, there are only 8 pages, and in the URL the visitor tries to go to page 9 (or to a page after page 9):
380380

381381
- The `onLastPage()` method will return `false` (whereas with the pagination integrated in Laravel, it returns true).
382-
- The `currentPage()` method will return `1` (whereas with the pagination integrated in Laravel, it returns it returns the page in the URL).
382+
- The `currentPage()` method will return `1` (whereas with the pagination integrated in Laravel, it returns the page in the URL).
383383

384384

385385
## Support

0 commit comments

Comments
 (0)