V
V
VitaliyBorys2018-08-23 00:57:19
Laravel
VitaliyBorys, 2018-08-23 00:57:19

Laravel pagination via / possible?

Standard Laravel pagination works through the page get parameter.
Is it possible to somehow customize what was through the slash.
Standard:
mysite.com/catalog?page=2
To do:
mysite.com/catalog/page-2

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Paul Denisevich, 2018-08-23
@deniamnet

Mod_rewrite in htaccess

K
Konstantin B., 2018-08-23
@Kostik_1993

For example, you can do this https://github.com/spatie/laravel-paginateroute

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question