rivman / laravel-9-bootstrap-5-datatables

A Laravel 9 - Bootstrap 5 demo project utilising DataTables.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About this project

This application is PHP 8 compatible and build using :

Features

  • Top button bar to quickly navigate to the main parts of your application
  • Offcanvas menu to access less frequently used parts
  • Datatables, fully integrated with build in :
    • Create - Show - Update - Delete (CRUD) with Bootbox.js dialogs and Toastr notifications
    • Copy to clipboard
    • Export to PDF and Excel
    • Print function
    • Items per page selector
    • Column visibility selector
    • Search with result highlighting
    • Server-side pagination and filtering
    • Multiple row selection (for mass deletes)
    • Inline boolean field toggable
    • Help
    • Datatables are responsive on smaller screens

Special feature

The top menu contains in its center a dropdown selector for the year. This is implemented as a global session variable [APP].[YEAR] and allows you to easely filter datatable datasets (when needed) to reflect the data concerning the selected year. This is extreem helpfull if you manage models that depend on the year, like for instance deliveries, orders, productions, and so on ...

Models implemented

In this demo project, 2 models are already implemented :

  • Customers, available to all logged in users
  • Users, only available to logged in users with the property Developer
You can use their controller and the corresponding views as a base to create new datatables utilising your own project models.

Credentials

Name : admin@admin.com

Password : password

Documentation and online demo

https://www.kreaweb.be/laravel-8-bootstrap-5-datatables/

PHP

Be aware you need at least PHP 8.0 to use this project!

License

This demo Larevel project is open-sourced software licensed under the MIT license.

Screenshots

About

A Laravel 9 - Bootstrap 5 demo project utilising DataTables.


Languages

Language:Blade 56.6%Language:PHP 43.1%Language:Shell 0.3%