laravel-enso/services
Composer 安装命令:
composer require laravel-enso/services
包简介
Service manager for Laravel Enso
README 文档
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!
laravel-enso/services 适用场景与选型建议
laravel-enso/services 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 8.04k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 11 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「services」 「laravel-enso」 「service-management」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 laravel-enso/services 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 laravel-enso/services 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 laravel-enso/services 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Environment processor and contexts autoloader
A PHP client for the Salesforce SOAP API
Enums for Laravel Enso
Company management dependency for Laravel Enso
Person management for Laravel Enso
Image transformer dependency for Laravel Enso
统计信息
- 总下载量: 8.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-25