Download the PHP package keltiecochrane/themosis-pagination without Composer
On this page you can find all versions of the php package keltiecochrane/themosis-pagination. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download keltiecochrane/themosis-pagination
More information about keltiecochrane/themosis-pagination
Files in keltiecochrane/themosis-pagination
Package themosis-pagination
Short Description Simple WordPress pagination service provider.
License GPL-3.0-or-later
Informations about the package themosis-pagination
Themosis Pagination
A package for the Themosis framework that implements some basic utilities for pagination to make it a little easier to work with (rather than being bound by WordPress' markup and classes.)
Install
Install through composer: -
composer require keltiecochrane/themosis-pagination
Copy the config/pagination.config.php
to your theme/resources/config
directory, and configure as appropriate.
Register the service provider in your theme/resources/config/providers.php
file: -
KeltieCochrane\Pagination\PaginationServiceProvider::class,
Use
Call the helper function , which returns a KeltieCochrane\Pagination\Pagination object. The object contains the pagination navigation items in an Illuminate\Support\Collection object. You can call Collection methods on the Pagination object, they will be mapped to the underlying Collection. The Pagination class also implements Countable, ArrayAccess, and ArrayIterator, so you can interact with items more conveniently.
Each item is an array as follows: -
Examples
Support
This package is provided as is, though we'll endeavour to help where we can.
Contributing
Any contributions would be encouraged and much appreciated, you can contribute by: -
- Reporting bugs
- Suggesting features
- Sending pull requests
All versions of themosis-pagination with dependencies
composer/installers Version ~1.2
djgadd/themosis-illuminate Version ^1.0
sunra/php-simple-html-dom-parser Version ^1.5