Download the PHP package laravel-enso/companies without Composer
On this page you can find all versions of the php package laravel-enso/companies. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-enso/companies
More information about laravel-enso/companies
Files in laravel-enso/companies
Package companies
Short Description Company management dependency for Laravel Enso
License MIT
Homepage https://github.com/laravel-enso/companies
Informations about the package companies
Companies
Description
Companies adds company management to the Enso administration area.
The package exposes CRUD flows for companies, company-person associations, searchable option lists, and Excel exports. At model level it provides an addressable and notification-aware company model with rememberable lookups, dynamic methods, and helper accessors such as the owner company or the current mandatary.
It is meant for Enso deployments that manage legal entities together with their related people and administrative metadata.
Installation
Install the package:
Run the package migrations:
Optional publishes:
Features
- Company CRUD endpoints and table endpoints under
administration.companies. - Company-person association flow with attach, update, and detach operations.
- Option endpoint for company selectors.
- Morph map registration for the
Companymodel. - Search provider integration and status enum registration.
Usage
Create and relate companies through the API or directly through the model:
Useful helpers on the Company model:
owner()mandatary()attachPerson(int $personId, ?string $position = null)updateMandatary(?int $mandataryId)
API
HTTP routes
Companies:
GET api/administration/companies/createPOST api/administration/companiesGET api/administration/companies/{company}/editPATCH api/administration/companies/{company}DELETE api/administration/companies/{company}GET api/administration/companies/initTableGET api/administration/companies/tableDataGET api/administration/companies/exportExcelGET api/administration/companies/options
Company people:
GET api/administration/companies/people/{company}GET api/administration/companies/people/{company}/createGET api/administration/companies/people/{company}/{person}/editPOST api/administration/companies/peoplePATCH api/administration/companies/people/{person}DELETE api/administration/companies/people/{company}/{person}
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/people↗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!
All versions of companies with dependencies
laravel-enso/addresses Version ^5.0
laravel-enso/enums Version ^3.0
laravel-enso/dynamic-methods Version ^4.0
laravel-enso/forms Version ^5.0
laravel-enso/helpers Version ^4.0
laravel-enso/migrator Version ^2.1
laravel-enso/people Version ^4.7
laravel-enso/rememberable Version ^4.0
laravel-enso/searchable Version ^2.2
laravel-enso/track-who Version ^3.0
laravel-enso/tables Version ^5.1