Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yajra/laravel-datatables-html
Laravel DataTables HTML Builder Plugin
https://github.com/yajra/laravel-datatables-html
datatables hacktoberfest html jquery jquery-datatables laravel laravel-datatables php
Last synced: 7 days ago
JSON representation
Laravel DataTables HTML Builder Plugin
- Host: GitHub
- URL: https://github.com/yajra/laravel-datatables-html
- Owner: yajra
- License: mit
- Created: 2016-11-19T08:48:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T08:33:52.000Z (6 months ago)
- Last Synced: 2024-05-02T00:55:01.775Z (6 months ago)
- Topics: datatables, hacktoberfest, html, jquery, jquery-datatables, laravel, laravel-datatables, php
- Language: PHP
- Homepage: https://yajrabox.com/docs/laravel-datatables/html-installation
- Size: 645 KB
- Stars: 261
- Watchers: 9
- Forks: 62
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel DataTables Html Plugin
[![Laravel 11.x](https://img.shields.io/badge/Laravel-11.x-orange.svg)](http://laravel.com)
[![Latest Stable Version](https://img.shields.io/packagist/v/yajra/laravel-datatables-html.svg)](https://packagist.org/packages/yajra/laravel-datatables-html)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/yajra/laravel-datatables-html/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/yajra/laravel-datatables-html/?branch=master)
[![Total Downloads](https://img.shields.io/packagist/dt/yajra/laravel-datatables-html.svg)](https://packagist.org/packages/yajra/laravel-datatables-html)
[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://packagist.org/packages/yajra/laravel-datatables-html)[![Continuous Integration](https://github.com/yajra/laravel-datatables-html/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/yajra/laravel-datatables-html/actions/workflows/continuous-integration.yml)
[![Static Analysis](https://github.com/yajra/laravel-datatables-html/actions/workflows/static-analysis.yml/badge.svg)](https://github.com/yajra/laravel-datatables-html/actions/workflows/static-analysis.yml)
[![PHP Linting](https://github.com/yajra/laravel-datatables-html/actions/workflows/pint.yml/badge.svg)](https://github.com/yajra/laravel-datatables-html/actions/workflows/pint.yml)This package is a plugin of [Laravel DataTables](https://github.com/yajra/laravel-datatables) for generating dataTables script using PHP.
## Requirements
- [Laravel 11.x](https://github.com/laravel/framework)
- [Laravel DataTables](https://github.com/yajra/laravel-datatables)## Documentations
- [Laravel DataTables Documentation](http://yajrabox.com/docs/laravel-datatables)
## Laravel Version Compatibility
| Laravel | Package |
|:--------------|:--------|
| 8.x and below | 4.x |
| 9.x | 9.x |
| 10.x | 10.x |
| 11.x | 11.x |## Quick Installation
`composer require yajra/laravel-datatables-html:^11`
#### Setup scripts with ViteJS
Set the default javascript type to `module` by setting `Builder::useVite()` in the `AppServiceProvider`.
```php
namespace App\Providers;use Illuminate\Pagination\Paginator;
use Illuminate\Support\ServiceProvider;
use Yajra\DataTables\Html\Builder;class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*/
public function boot(): void
{
Paginator::useBootstrapFive();
Builder::useVite();
}
}
```#### Publish Assets (Optional)
`$ php artisan vendor:publish --tag=datatables-html`
And that's it! Start building out some awesome DataTables!
## Contributing
Please see [CONTRIBUTING](https://github.com/yajra/laravel-datatables-html/blob/master/.github/CONTRIBUTING.md) for details.
## Security
If you discover any security related issues, please email [[email protected]](mailto:[email protected]) instead of using the issue tracker.
## Credits
- [Arjay Angeles](https://github.com/yajra)
- [All Contributors](https://github.com/yajra/laravel-datatables-html/graphs/contributors)## License
The MIT License (MIT). Please see [License File](https://github.com/yajra/laravel-datatables-html/blob/master/LICENSE.md) for more information.