adrosoftware / notitia-visum
BREAD (browse, read, edit, add, delete) generator for Laravel
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/adrosoftware/notitia-visum
Requires
- php: ^7.2.5
Requires (Dev)
- orchestra/testbench: ^5.1
This package is auto-updated.
Last update: 2025-09-14 16:05:13 UTC
README
This is a WIP package. Bread
Notitia Visum is a BREAD (browse, read, edit, add, delete) generator for Laravel
Usage
Brows usage:
/** * Inside a controller action */ return (new NotitiaVisum()) ->table('users') ->browse();
You can add a raw where like this:
return (new NotitiaVisum()) ->table('users') ->whereRaw('role = \'admin\'') ->browse();
If you want to filter the fields to render in the table, you can add an array of fields:
return (new NotitiaVisum()) ->table('users') ->whereRaw('role = \'admin\'') ->browse(['id', 'first_name', 'role']);
By default the title on the table is the table name on the database but you can override it like this:
return (new NotitiaVisum()) ->table('users') ->title('System Users') ->browse(['id', 'first_name', 'role']);
Tests
$ vendor/bin/phpunit