mgallegos/laravel-jqgrid
Laravel package that integrates jqGrid with Eloquent models, enabling server-side data loading, filtering, sorting, pagination, and configurable CRUD grids with minimal setup.
composer require mgallegos/laravel-jqgrid. Pin the version and check its composer.json constraints first; this package predates modern Laravel releases and may not resolve cleanly on current Laravel/PHP versions.Mgallegos\LaravelJqgrid\LaravelJqgridServiceProvider plus a JqGrid alias.php artisan vendor:publish --provider="Mgallegos\LaravelJqgrid\LaravelJqgridServiceProvider") and inspect config/jqgrid.php for wiring, route, encoder, and asset settings.src/ directory. Identify the repository contract used to feed rows, the encoder that produces jqGrid JSON, and the facade/config entry points. Copy the smallest working example before customizing.datatype: 'json', the JSON route URL, colModel, pager, rowNum, default sortname/sortorder, and jsonReader if the package response shape differs from jqGrid defaults.page, rows, sidx, sord, _search, and filters parameters explicitly. For search, parse the filters JSON into validated query scopes rather than passing request values directly into SQL.sidx/sord whitelisting and count logic.NOASSERTION, and jqGrid itself is a legacy jQuery plugin. Verify license terms and compatibility before production use; plan an exit path if the package cannot run on your Laravel version.{ page, total, records, rows }, with each row containing an id and cell array. Confirm this against the package encoder and the frontend jqGrid version you load.sidx and restrict sord to asc/desc. Treat filters as untrusted JSON and validate operators, fields, and values before applying them to a query.records for paging, so large tables can become slow even when fetching only 20 rows. Index sort/filter columns and consider a capped or optimized count for very large datasets.id. Composite primary keys need a synthetic ID; otherwise selection, editing, and refresh behavior will be unreliable.php artisan config:clear and php artisan cache:clear. Config caching commonly hides published config changes.How can I help you explore Laravel packages today?