laravel-enso / services
Service manager for Laravel Enso
Requires
- laravel-enso/core: ^12.0
- laravel-enso/dynamic-methods: ^4.0
- laravel-enso/forms: ^5.0
- laravel-enso/helpers: ^4.0
- laravel-enso/measurement-units: ^3.7
- laravel-enso/tables: ^5.0
- dev-master
- 3.7.2
- 3.7.1
- 3.7.0
- 3.6.0
- 3.5.1
- 3.5.0
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.1
- 3.3.0
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.0
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- dev-upgrade/laravel13-core12
- dev-feature/ensoV8
- dev-feature/Suppliers
- dev-upgrades/enums
- dev-upgrade/larave11MigrationChange
- dev-upgrade/enso6-dr
- dev-upgrade/enso6
- dev-feature/dropSuffix
- dev-fixes/stylci
This package is auto-updated.
Last update: 2026-04-21 15:27:54 UTC
README
Description
Services manages sellable service records inside Laravel Enso.
The package ships the service model, CRUD endpoints, validation, options lookup, form builders, and a server-side table builder for the administration UI. It is intended for Enso applications that need reusable service catalog entries alongside products and measurement units.
Installation
Install the package:
composer require laravel-enso/services
Run the package migrations:
php artisan migrate
Optional publish:
php artisan vendor:publish --tag=services-factories
Features
- CRUD endpoints for service records.
- Form builders for create and edit flows backed by
service.json. - Server-side table builder backed by
services.json. - Options endpoint for async selects through
OptionsBuilder. - Supplier pivot payload support in the form builder and validator.
- Factories and feature coverage for forms, options, and datatable flows.
Usage
The package mounts its routes automatically through AppServiceProvider.
Main flows:
- create and edit forms through
LaravelEnso\Services\Forms\Builders\Service - datatable bootstrap and rows through
LaravelEnso\Services\Tables\Builders\Service - select options through
LaravelEnso\Services\Http\Controllers\Options
Validation is handled by LaravelEnso\Services\Http\Requests\ValidateService, which requires:
measurement_unit_idname- unique
code - positive
list_price - integer
vat_percent - optional supplier rows with acquisition prices
API
Mounted under api/services:
GET createPOST /GET {service}/editPATCH {service}DELETE {service}GET initTableGET tableDataGET exportExcelGET options
Depends On
Required Enso packages:
laravel-enso/core↗laravel-enso/dynamic-methods↗laravel-enso/forms↗laravel-enso/helpers↗laravel-enso/measurement-units↗laravel-enso/tables↗
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!