Skip to content

ribafs/laravel-10-bootstrap-5-datatables

 
 

Repository files navigation

About this project

This application requires at least PHP 8.1 and is built using :

Features

  • Top button bar to quickly navigate to the main parts of your application
  • Theme toggle Light / Dark / System default
  • Offcanvas menu to access less frequently used parts
  • Datatables, fully integrated with built-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 toggleable
    • Help
    • Datatables are fully responsive on smaller screens

Special features

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 ...

This application has a built-in Backup manager :

  • Backups can be initiated and managed manually
  • Backups can be scheludeld by issuing a cron job on your development server

This application has a built-in Log Viewer showing :

  • All errors (ERROR)
  • All executed N+1 database queries (WARNING)
  • All executed database queries (DEBUG), but only in development mode
  • All scheduled backups (INFO)

Models implemented

In this demo project, 3 models are already implemented :

  • Customers, available to all logged in users

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

Documentation

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

Online demo

https://demo.kreaweb.be/

Credentials

Name : admin@admin.com

Password : password

PHP

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

License

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

Screenshots

Releases

No releases published

Packages

No packages published

Languages

  • Blade 51.7%
  • PHP 44.2%
  • JavaScript 3.1%
  • SCSS 1.0%