Skip to content

Custome pagination to create use the laravel package and integrated

Notifications You must be signed in to change notification settings

krunalkusvaha/Custom-Pagination

Repository files navigation

Laravel Logo

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Steps:

  • composer create-project --prefer-dist laravel/laravel Custom-Pagination

  • Open your .env file and change Database Configuration

    [ DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=here your database name(custom_pagination) DB_USERNAME=here database username(root) DB_PASSWORD=here database password()]

  • Create Custom Pagination Template create a custom pagination template Use the below command for generate new folder "pagination" on views files resources/views/vendor.

    • php artisan vendor:publish --tag=laravel-pagination

    • In pagination folder you will get following files by default:

      • default.blade.php
      • bootstrap-4.blade.php
      • simple-bootstrap-4.blade.php
      • simple-default.blade.php
      • semantic-ui.blade.php
  • Create Route

  • Create Controller :- php artisan make:controller PaginationController

  • Create a blade view

  • php artisan serve

About

Custome pagination to create use the laravel package and integrated

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages