Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Laravels simplePaginate? #127

Open
xlcrr opened this issue May 18, 2020 · 0 comments
Open

Integration with Laravels simplePaginate? #127

xlcrr opened this issue May 18, 2020 · 0 comments

Comments

@xlcrr
Copy link

xlcrr commented May 18, 2020

Hey, awesome plugin

Is it possible to integrate it with laravels Model::simplePaginate(int);?

The response looks like

current_page: 1
data: Array(10): "[]",
first_page_url: "http://app.test/contacts-paginate?page=1"
from: 1
next_page_url: null
path: "http://app.test/contacts-paginate"
per_page: 15
prev_page_url: null
to: 6

We are using this plugin for frontend filtering, but for larger queries we have to return a paginated result from Laravel.

I realise this plugin is backend agnostic, but it would be great if we could integrate this frontvue vue application to manage backend queries too.

Thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant