Download the PHP package thinkphp6/thinkphp-extend-paginator without Composer

On this page you can find all versions of the php package thinkphp6/thinkphp-extend-paginator. 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 thinkphp-extend-paginator

ThinkPHP ORM 分页驱动库

内含以下前端框架的分页驱动

安装

Usage is simple, to install, add the following to your project's composer.json:

Then add the library in the usual way using composer:

配置

1.服务提供定义文件里重新绑定服务

编辑app/provider.php文件,在该文件里重新绑定think\Paginator分页服务,该方法适用于ThinkPHP6,全局生效。

2.公共函数文件里绑定服务

编辑app/common.php文件,在该文件里重新绑定think\Paginator分页服务,该方法适用于ThinkPHP6,全局生效。
如果想单应用生效,请在应用的公共函数文件里重新绑定think\Paginator分页服务,如:app/admin/common.php

如果只想一个地方生效,可以在进行分页查询前,使用该代码重新绑定think\Paginator分页服务。

3.配置文件里定义分页类

编辑config/paginate.php文件
修改type配置项的值为\wanyi\thinkExtendPaginator\Bootstrap4::class,
该方法仅适用于ThinkPHP5.1.

已支持的前端框架

Bootstrap4 - 5

框架官方文档:https://getbootstrap.com/docs/4.0/components/pagination/
框架官方文档:https://getbootstrap.com/docs/5.0/components/pagination/

Layui

框架官方文档:https://www.layui.com/doc/modules/laypage.html

Amaze UI

框架官方文档:https://amazeui.clouddeep.cn/css/pagination/

Foundation

框架官方文档:https://foundation.zurb.com/sites/docs/pagination.html

说明

其它

你所用的前端框架不在这里?欢迎提交PR,或者在Issues里告诉我。


All versions of thinkphp-extend-paginator with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
topthink/think-orm Version 2.0.*
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 thinkphp6/thinkphp-extend-paginator contains the following files

Loading the files please wait ....