scode/user-list-pagination

this get paginations list of users model

1.0.1 2023-08-05 15:33 UTC

This package is auto-updated.

Last update: 2024-06-05 17:51:28 UTC


README

this will send email to admin and save contact query in database

Install

composer require scode/user-list-pagination

set config database in .env file for example:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravelpackage
DB_USERNAME=root
DB_PASSWORD=your database password

execute migration :

php artisan migrate

execute seeder :

add User factory in DatabaseSeeder and run :

php artisan db:seed

copy publishes files from Contact Laravel Package to your project:

php artisan vendor:publish

this command copy userListPagination.php in config directory and copy userListPagination.blade.php to resources/views/userListPagination.blade.php

get config/userListPagination.php file and edit UserModelName value with User Model Name
and you also can edit userListPagination.php file

run laravel server :

php artisan serve

get browser in laravel url project and get /users route for example :

http://localhost:8000/users

you see users list .