amjadiqbal/laravel-gridjs
A Laravel wrapper for Grid.js that lets you build fast, interactive data tables with minimal effort. Render grids from Eloquent models or arrays, add sorting, searching, and pagination, and customize columns cleanly within your Blade views.
RuntimeException at render time, we must decide deliberately which surfaces are session-backed (dashboards behind web + auth) versus genuinely stateless (public share links, embedded reports, signed-URL exports). That is a product call, and v1.0.2 forces it into the open instead of letting it default to "insecure but working."composer update: enumerate every route that renders a grid and confirm middleware, then decide per route whether to keep binding, use allow_unbound_tokens, or disable binding with bind_tokens = false.web middleware group with authenticated sessions, and you want the tokenization/endpoint plumbing handled for you. In that configuration v1.0.2 is a drop-in hardening with no config change.RuntimeException — which is intentional and well-messaged — and must consciously choose allow_unbound_tokens = true (reintroducing the exposure the patch closes) or bind_tokens = false (turning binding off entirely). Either choice is a documented risk acceptance, so route it through review.For executives: We evaluated this Laravel package for the data-grid work on our admin surfaces. It replaces build-it-ourselves effort with a maintained component. The new release, v1.0.2, contains an important security correction: previously, a grid rendered outside a normal signed-in session could issue an access token that anyone holding the URL could use until it expired. The package now refuses to render in that situation and rejects those tokens by default. The practical impact is a small, well-bounded upgrade — we audit our grid routes, confirm they sit behind authenticated sessions, and ship. No customer-visible change on correctly configured surfaces; on misconfigured ones, it fails loudly instead of exposing data quietly.
For engineering: v1.0.2 is a patch release with a breaking behavior change. Grid rendering without a user and without a session now throws a RuntimeException with a remediation message; the data endpoint returns 403 for unbound tokens. Two escape hatches exist — allow_unbound_tokens (new, defaults to false) and the existing bind_tokens = false — but both trade security for convenience and need a documented justification. Action items: (1) grep every route group that renders a grid and verify web middleware plus auth; (2) add or confirm a test asserting unauthenticated access to the data endpoint yields 403; (3) pin the version and review the 1.0.x changelog for further hardening. Budget is small — config and test work, not a refactor — provided no production surface turns out to depend on stateless grid rendering. Flag those before upgrade, not after.
How can I help you explore Laravel packages today?