{"id":55315,"library":"pagehelper","title":"MyBatis PageHelper","description":"MyBatis Pagination Plugin for easy database pagination.","status":"active","version":"6.1.1","language":"java","source_language":null,"source_url":"https://github.com/pagehelper/Mybatis-PageHelper","tags":["mybatis","pagination","java","database"],"install":[{"cmd":"<dependency>\n  <groupId>com.github.pagehelper</groupId>\n  <artifactId>pagehelper</artifactId>\n  <version>6.1.1</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.github.pagehelper:pagehelper:6.1.1'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"PageHelper","correct":"com.github.pagehelper.PageHelper"}],"quickstart":{"code":"import com.github.pagehelper.PageHelper;\nimport com.github.pagehelper.PageInfo;\nimport java.util.List;\n\npublic class Example {\n    public void paginate() {\n        PageHelper.startPage(1, 10);\n        List<User> users = userMapper.selectAll();\n        PageInfo<User> pageInfo = new PageInfo<>(users);\n    }\n}","lang":"java","description":"Starts pagination and retrieves page info."},"warnings":[{"fix":"Ensure PageHelper is called in the same thread as the MyBatis query","message":"ThreadLocal usage may cause issues in async environments","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'databas':8,13 'easi':7 'java':12 'mybati':1,3,10 'pagehelp':2 'pagin':4,9,11 'plugin':5","created_at":"2026-06-15T09:45:31.957783+00:00","updated_at":"2026-06-15T09:45:31.957783+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/pagehelper/Mybatis-PageHelper","github":"https://github.com/pagehelper/Mybatis-PageHelper","docs":"https://appdoc.app/artifact/com.github.pagehelper/pagehelper/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["orm"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}