spiral/toolkit
Composer 安装命令:
composer require spiral/toolkit
包简介
Form serialization toolkit for Spiral Framework
README 文档
README
AJAX and form serialization toolkit for Spiral Framework.
Repository consists of 2 main components: Toolkit and Keeper
Toolkit is set of modules implementing a simple front-end framework, capable of serializing forms, showing loaders and datagrids
Keeper is set of scripts that demonstrate typical toolkit usage with Spiral Frameworks, including default styles based on bootstrap 4.
Prerequisites
- node 11.15.0+ use recent LTS version
- yarn 1.17.0+ use recent stable version
Project is based on Lerna.
Starting Up
- Execute
npx lerna bootstrapto install dependencies and link packages - Build toolkit package and dependencies
yarn build
Additional development commands
When developing both in co-dependent packages use separate commands like so:
yarn build:coreto build core package.yarn build:formto build form package.yarn build:lockto build lock package.yarn build:toolkitto build toolkit package.yarn build:datagridto build datagrid package.yarn build:keeperto build keeper package.
Alternatively execute yarn build from package folder.
Additional commands
npx lerna run lint to lint every package. Note this command is expected to be successfully completed before pushing data to repository.
Project structure
Project is a mono-repository with following packages:
packages/core- core of the toolkitpackages/form- form module for the toolkitpackages/lock- lock module for the toolkitpackages/core- main toolkit package
Making a release
In separate branch do following:
lerna publish- bump version in lerna and in root package.json manually
yarn gitrelease
Windows
On windows execute git config core.autocrlf false to disable automatic line ending conversion.
MIT License (MIT). Please see LICENSE for more information. Maintained by Spiral Scout.
spiral/toolkit 适用场景与选型建议
spiral/toolkit 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 36.18k 次下载、GitHub Stars 达 8, 最近一次更新时间为 2015 年 03 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 spiral/toolkit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 spiral/toolkit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 36.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 32
- 依赖项目数: 7
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-08