Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Datatables Oracle

Laravel Datatables Oracle Laravel Package

yajra/laravel-datatables-oracle

Laravel package for DataTables server-side processing via AJAX. Build JSON responses from Eloquent, Query Builder, or Collections using a fluent API (DataTables::eloquent/query/collection/make). Supports modern Laravel versions and common DataTables features.

View on GitHub
Deep Wiki
Context7

jQuery DataTables API for Laravel

Frequently asked questions about Laravel Datatables Oracle
How do I install yajra/laravel-datatables-oracle for Laravel 12 with Oracle DB?
Run `composer require yajra/laravel-datatables-oracle` and publish the config with `php artisan vendor:publish --provider="Yajra\DataTables\DataTablesServiceProvider"`. Ensure your `config/database.php` includes an Oracle connection. The package auto-detects Oracle and applies optimizations.
Does this package support Oracle-specific features like hierarchical queries (CONNECT BY) or LOB types?
Yes, the package handles Oracle’s SQL dialect, including hierarchical queries via `CONNECT BY` and LOB types. For complex queries, use `DataTables::query(DB::connection('oracle')->table(...))` to leverage raw Oracle syntax. Test with `APP_DEBUG=true` for debugging.
Will this work with my existing DataTables frontend setup, or do I need to rewrite it?
It’s frontend-agnostic. If you’re already using DataTables’ AJAX API, just point it to your new Laravel endpoint (e.g., `return DataTables::eloquent(User::query())->toJson()`). No frontend changes are needed unless you’re using custom client-side logic.
How does pagination work with Oracle’s ROWNUM vs. Laravel’s offset/limit?
The package automatically adapts to Oracle’s `ROWNUM` for pagination, but for large datasets (100K+ rows), use `LengthAwarePaginator` explicitly or configure custom pagination in the DataTables facade. Version 12.7+ includes optimizations for Oracle’s offset/limit handling.
Can I use this with Laravel’s Eloquent relationships, or will it cause N+1 query issues?
Yes, but eager-load relations with `with()` to avoid N+1 queries. For example: `DataTables::eloquent(User::with('posts')->query())`. The package also supports relation resolvers for dynamic loading, reducing overhead.
What Laravel versions are officially supported, and how do I check compatibility?
The package supports Laravel 4.2–12+. For Laravel 12, use `yajra/laravel-datatables-oracle:^12.0`. Check compatibility via `composer show yajra/laravel-datatables-oracle` or the [GitHub releases](https://github.com/yajra/laravel-datatables/releases).
How do I customize column sorting or filtering for Oracle-specific case sensitivity?
Override default sorting/filtering via the `DataTables` facade’s `addColumn()` or `modifyColumn()` methods. For case-sensitive Oracle collations, use raw SQL in `modifyColumn`: `->modifyColumn('name', function($query) { $query->orderByRaw('UPPER(name)'); })`.
Are there performance benchmarks for large datasets (e.g., 50K+ rows) in Oracle?
The package efficiently handles 10K–100K rows with server-side processing. For 50K+ rows, optimize with database indexes, avoid `SELECT *`, and use `DataTables::make()->setMaxRecordsPerPage(5000)`. Monitor with Laravel Debugbar or Blackfire for bottlenecks.
Can I integrate this with Vue/React without jQuery, or is jQuery required?
jQuery is required for DataTables’ client-side functionality, but the package itself is framework-agnostic. Use Vue/React with DataTables via AJAX (e.g., `axios.get('/datatable-endpoint')`). The server-side logic remains the same.
What alternatives exist for Oracle DataTables in Laravel, and why choose this package?
Alternatives include raw DataTables server-side scripts or custom Laravel APIs, but this package offers seamless Eloquent/Query Builder integration, Oracle optimizations, and built-in features like column control, relation resolvers, and debug tools. It’s the most mature solution for Laravel + Oracle.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai