Download the PHP package rancoud/pagination without Composer

On this page you can find all versions of the php package rancoud/pagination. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pagination

Pagination Package

Packagist PHP Version Support Packagist Version Packagist Downloads Composer dependencies Test workflow Codecov

Generate HTML pagination for accessibility.

Dependencies

Security package: https://github.com/rancoud/Security

Installation

How to use it?

It will output

Lexicon

Pagination Constructor

Settings

Optionnals

Parameter Type Default value Description
configuration array [] Parameters for changing pagination behavior

Pagination Methods

General Commands

Configuration Parameters

Url

Behavior

Labels

HTML markup

Root

Item

Link

Indentation

Security

You have to sanitize by yourself thoses parameters:

Examples

url

Page append at the end

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

After page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / Url

show_all_links

Input

Output

⏫ Configuration Parameters / Behavior

use_previous

Input

Output

⏫ Configuration Parameters / Behavior

always_use_previous

Previous has aria-disabled=true on link tag if there is no previous page

Input

Output

⏫ Configuration Parameters / Behavior

use_next

Input

Output

⏫ Configuration Parameters / Behavior

always_use_next

Next has aria-disabled=true on link tag if there is no next page

Input

Output

⏫ Configuration Parameters / Behavior

use_dots

Input

Output

⏫ Configuration Parameters / Behavior

count_pages_pair_limit

Input

Output

⏫ Configuration Parameters / Behavior

count_pages_pair_adjacent

Input

Output

⏫ Configuration Parameters / Behavior

count_pages_pair_adjacent + count_pages_pair_adjacent

count_pages_pair_limit 0 + count_pages_pair_adjacent 0

Input

Output

count_pages_pair_limit 2 + count_pages_pair_adjacent 2

Input

Output

⏫ Configuration Parameters / Behavior

text_previous

Input

Output

⏫ Configuration Parameters / Labels

text_next

Input

Output

⏫ Configuration Parameters / Labels

text_dots

Input

Output

⏫ Configuration Parameters / Labels

text_page

Page append at the end

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / Labels

aria_label_link

Input

Output

With {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / Labels

aria_label_current_link

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / Labels

aria_label_nav

Input

Output

⏫ Configuration Parameters / Labels

aria_label_previous

Input

Output

⏫ Configuration Parameters / Labels

aria_label_next

Input

Output

⏫ Configuration Parameters / Labels

thousands_separator

Input

Output

⏫ Configuration Parameters / Labels

root_tag

Input

Output

⏫ Configuration Parameters / HTML markup / Root

root_attrs

Input

Output

⏫ Configuration Parameters / HTML markup / Root

use_nav

Input

Output

⏫ Configuration Parameters / HTML markup / Root

nav_attrs

Input

Output

⏫ Configuration Parameters / HTML markup / Root

item_tag

Input

Output

⏫ Configuration Parameters / HTML markup / Item

item_attrs

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / HTML markup / Item

item_attrs_current

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / HTML markup / Item

item_previous_attrs

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / HTML markup / Item

item_previous_attrs_disabled

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / HTML markup / Item

item_next_attrs

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / HTML markup / Item

item_next_attrs_disabled

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / HTML markup / Item

item_dots_attrs

Input

Output

⏫ Configuration Parameters / HTML markup / Item

link_tag

Input

Output

⏫ Configuration Parameters / HTML markup / Link

link_attrs

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / HTML markup / Link

link_attrs_current

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / HTML markup / Link

link_previous_attrs_disabled

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / HTML markup / Link

link_next_attrs_disabled

Input

Output

Page replace with {{PAGE}} pattern

Input

Output

⏫ Configuration Parameters / HTML markup / Link

dot_tag

Input

Output

⏫ Configuration Parameters / HTML markup / Link

dot_attrs

Input

Output

⏫ Configuration Parameters / HTML markup / Link

use_pretty_html

Input

Output

⏫ Configuration Parameters / HTML markup / Indentation

html_tab_sequence

Input

Output

⏫ Configuration Parameters / HTML markup / Indentation

html_initial_indentation

Input

Output

⏫ Configuration Parameters / HTML markup / Indentation

esc_attr

Input

Output

⏫ Configuration Parameters / HTML markup / Security

esc_html

Input

Output

⏫ Configuration Parameters / HTML markup / Security

charset

Input

Output

⏫ Configuration Parameters / HTML markup / Security

generateData output

How to Dev

composer ci for php-cs-fixer and phpunit and coverage
composer lint for php-cs-fixer
composer test for phpunit and coverage


All versions of pagination with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4.0
rancoud/security Version ^3.0
ext-mbstring Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rancoud/pagination contains the following files

Loading the files please wait ....