cloudstek/scim-filter-parser
Composer 安装命令:
composer require cloudstek/scim-filter-parser
包简介
Parser for the SCIM (IETF RFC 7644, System for Cross-domain Identity Management) filter syntax.
关键字:
README 文档
README
Parser for the SCIM (IETF RFC 7644, System for Cross-domain Identity Management) filter syntax.
Installation
This library is available as composer package and this is the recommended way to install this library.
$ composer require cloudstek/scim-filter-parser
Manual installation
If you don't use composer, you can install this library manually using the following steps:
- Clone this repository or download the latest release from the releases page.
- Require all files manually or use a PSR-4 autoloader (recommended).
Usage
As code often says more than a thousand words, a little code to get you started.
<?php use Cloudstek\SCIM\FilterParser\FilterParser; // Create the filter parser. $filterParser = new FilterParser(); // Parse a filter string $firstFilterAst = $filterParser->parse('userName eq "foobar"'); // Cloudstek\SCIM\FilterParser\AST\Comparison ... // ... walk through the AST (abstract syntax tree) and do something with it. // The parser is stateless so you can safely parse another filter if you like. $secondFilterAst = $filterParser->parse('name[given eq "John" and family eq "Dough"]'); // Cloudstek\SCIM\FilterParser\AST\ValuePath ... // Create the path parser. $pathParser = new PathParser(); // Parse a path string, used in for example PATCH operations. $pathAst = $pathParser->parse('name[given eq "John"].familyName'); // Cloudstek\SCIM\FilterParser\AST\ValuePath ...
Issues
Please report issues on the projects GitHub issues page and be sure to include information about your PHP version, library version, filter string and resulting AST.
Known limitations
At the moment there are a few limitations to be aware of, though in the future these may be addressed.
cloudstek/scim-filter-parser 适用场景与选型建议
cloudstek/scim-filter-parser 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 937.13k 次下载、GitHub Stars 达 8, 最近一次更新时间为 2020 年 05 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「parser」 「sync」 「management」 「identity」 「protocol」 「Users」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 cloudstek/scim-filter-parser 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cloudstek/scim-filter-parser 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 cloudstek/scim-filter-parser 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Easy to use SDK with grabber for multiple platforms at once like YouTube, Dailymotion, Facebook and more.
A sleek PHP wrapper around rclone with Laravel-style fluent API syntax
An MT940 bank statement parser for PHP
Sync content to other sites on element save.
Laravel integration for the jsonapi.org parser
A Silverstripe module to allow you to log into any of your Silverstripe sites from one place.
统计信息
- 总下载量: 937.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 32
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-08