Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

README.md

DAW PHP Pagination - Library for paginate

Latest Stable Version License

DAW PHP Pagination is a Open Source PHP library of a simple pagination.

Paginate easily!

Author

Package developed by: Développeur PHP Freelance Developpeur Freelance

Simple example

<?php

$pagination = new Pagination();

$pagination->paginate($countElements);

$limit = $pagination->getLimit();
$offset = $pagination->getOffset();

// Here your listing of elements with a loop

echo $pagination->render();
echo $pagination->perPage();

Requirements

  • PHP >= 7.4

If you want an accounting with PHP 7.0, you can use version 1.1: DAW PHP Pagination 1.1

If you want an accounting with PHP 7.1 or PHP 7.2 or PHP 7.3, you can use version 2.0: DAW PHP Pagination 2.0

Documentation

  • The documentation is in folder "docs" of this package:

English | French

Installation

Installation via Composer:

php composer.phar require stephweb/daw-php-pagination 3.0.*

Examples of image results

With DAW PHP Pagination CSS:

DAW PHP Pagination example

With Bootstrap CSS:

DAW PHP Pagination example with Bootstrap

Contributing

Bugs and security Vulnerabilities

If you discover a bug or a security vulnerability within DAW PHP Pagination, please send a message to Stephen. Thank you. All bugs and all security vulnerabilities will be promptly addressed.

License

The DAW PHP Pagination is Open Source software licensed under the MIT license.

You can’t perform that action at this time.