Support the ongoing development of Laravel.io →
Configuration Views Blade

It's possible to have two pagination settings for mobile & desktop?

app/config/view.php

If mobile set to

 'pagination' => 'pagination::simple'

If desktop set to

 'pagination' => 'pagination::simple-3'
Last updated 3 years ago.
0

You could setup two different environments, based on $_SERVER['HTTP_USER_AGENT'] for example.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

kampit kampit Joined 2 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.