承接 pjplonka/leaf-cmf-core 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pjplonka/leaf-cmf-core

最新稳定版本:v0.0.6

Composer 安装命令:

composer require pjplonka/leaf-cmf-core

包简介

Core package for LeafCMF

README 文档

README

Interfaces:

  • ConfigurationProvider
  • Elements (Element Repository)
  • EventDispatcher

Packages

Makefile

Examples:

Composer

Install composer packages:
make composer:install

Require composer package:
make composer:require p=symfony/validator

Tests

make tests:run
or with filter:
make tests:run f=CreateElementHandlerTest

Stan

make stan

TODO:

  • Add assertions to every field type (e.g. StringType must contain StringValue which checks base validation rules like is_string or max_length=200) and for element (e.g. field name cannot be duplicated)
  • configuration validator + ConfigurationIsInvalidException
  • encryption for field on demand (in configuration)
  • element name property should be changed to something like group, band or something
  • every field should have own constraints instead of holding it in configuration array (and configuration can hold additional constraints)
  • add some TestField to use it in tests to not use real field
  • what about read model? do we need any bus for it?
  • write more about makefile in readme
  • fields should contain basic constraints (eg. string must be string and max length is 255)
  • FieldsDtoValidator: rename this class + validate configuration field type (type can be invalid e.g. not exist)
  • FieldsDtoValidator should be a default one for usage
  • transactional manager interface?
  • add assertion class
  • validation failed exception could be used form symfony package
  • test for empty constraints (allowMissingFields) is set to true
  • when tests are run in docker it creates container and it is not reusable (every time make run:tests is run, new container is created)

统计信息

  • 总下载量: 41
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固