Added Datatable package

This commit is contained in:
2024-07-14 10:44:55 +00:00
parent 1242051379
commit 18c711686c
28 changed files with 952 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace App\Providers;
use App\Facades\DataTable\DataTable;
use Illuminate\Support\ServiceProvider;
class DataTableServiceProvider extends ServiceProvider
{
/**
* Register services.
*/
public function register(): void
{
$this->app->bind('datatable', function () {
return new DataTable();
});
}
/**
* Bootstrap services.
*/
public function boot(): void
{
}
}