|
18 | 18 |
|
19 | 19 | This package is particularly useful for implementing pagination with manual SELECT queries using `DB::select()`.
|
20 | 20 |
|
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**). |
22 | 22 |
|
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. |
24 | 24 |
|
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. |
26 | 26 |
|
27 | 27 | ### Key Features
|
28 | 28 |
|
@@ -162,7 +162,7 @@ php artisan vendor:publish --provider="SDamian\LaravelManPagination\ManPaginatio
|
162 | 162 |
|
163 | 163 | When doing "complex" SQL queries, sometimes you prefer to do it without Eloquent.
|
164 | 164 |
|
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: |
166 | 166 |
|
167 | 167 | ```php
|
168 | 168 | use SDamian\LaravelManPagination\Pagination;
|
@@ -344,7 +344,7 @@ $pagination = new Pagination(['number_links' => 10]);
|
344 | 344 |
|
345 | 345 | // To change the choice to select potentially generate with perPageForm():
|
346 | 346 | $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. |
348 | 348 | // Only integers and 'all' are permitted.
|
349 | 349 | // Options are [15, 30, 50, 100, 200, 300] by default.
|
350 | 350 |
|
@@ -376,10 +376,10 @@ In this pagination, I tried to keep the conventions and the behavior of the pagi
|
376 | 376 |
|
377 | 377 | ### I Added Extra "Security":
|
378 | 378 |
|
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): |
380 | 380 |
|
381 | 381 | - 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). |
383 | 383 |
|
384 | 384 |
|
385 | 385 | ## Support
|
|
0 commit comments