People
Description
People manages person records for Laravel Enso.
The package exposes CRUD, options, table init, table data, and Excel export endpoints for people, and integrates addresses, remembering, searchable behavior, and morph-map registration for the Person model.
It is intended to provide a reusable person domain that can be referenced by other Enso modules.
Installation
Install the package:
composer require laravel-enso/people
Run the package migrations:
php artisan migrate
Optional publish:
php artisan vendor:publish --tag=people-factory
Features
- Person CRUD endpoints.
- Options endpoint for select fields.
- Table init, table data, and Excel export endpoints.
- Morph-map registration for the
Personmodel. - Integration with addresses and searchable helpers.
Usage
Main route group:
administration.people.*
API
HTTP routes
GET api/administration/people/createPOST api/administration/peopleGET api/administration/people/{person}/editPATCH api/administration/people/{person}DELETE api/administration/people/{person}GET api/administration/people/initTableGET api/administration/people/tableDataGET api/administration/people/exportExcelGET api/administration/people/options
Depends On
Required Enso packages:
laravel-enso/addresses↗laravel-enso/core↗laravel-enso/dynamic-methods↗laravel-enso/enums↗laravel-enso/forms↗laravel-enso/helpers↗laravel-enso/migrator↗laravel-enso/rememberable↗laravel-enso/searchable↗laravel-enso/tables↗laravel-enso/track-who↗
Companion frontend package:
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!