In controller 1. $customers= Customer::paginate(10); Then after foreach and table <div class="d-flex justify-content-center"> {{ $customers->links() }} </div> 2. Then youcan view pagination but unable to properly format 3. Then execute the following command php artisan vendor:publish tyhen select the laravel pagination 4. Then in AppServiceProvider.php enter the following code in the header use Illuminate\Pagination\Paginator; and in the metod boot(): void enter the following code Paginator::useBootstrap();
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter