Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support Eloquent Pagination #486

@blydewright

Description

@blydewright

Summary

Pagination through Eloquent queries using pagination() as currently not possible. It is however possible to manually use offset() and limit() to work around this.

Additional context

The acorn web page here misleadingly suggests that pagination is supported.

Image

Using pagination raises a missing dependency exception:

$pages = Post::published()->paginate(10);

Produces:

Image

It would be great for pagination to be supported and to utilise Laravel's built-in pagination style and components that make use of Tailwind. Perhaps this particular addition is only suitable in the opinionated Radicle stack?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions