rakibtg/sleekdb
Composer 安装命令:
composer require rakibtg/sleekdb
包简介
SleekDB - A NoSQL Database made using PHP
README 文档
README
SleekDB - A NoSQL Database made using PHP
Full documentation: https://sleekdb.github.io/
SleekDB is a simple flat file NoSQL like database implemented in PHP without any third-party dependencies that store data in plain JSON files.
It is not designed to handle heavy-load IO operations, it is designed to have a simple solution where all we need a database for managing a few gigabytes of data. You can think of it as a database for low to medium operation loads.
Features
-
⚡ Lightweight, faster
Stores data in plain-text utilizing JSON format, no binary conversion needed to store or fetch the data. Default query cache layer.
-
🔆 Schema free data storage
SleekDB does not require any schema, so you can insert any types of data you want.
-
🔍 Query on nested properties
It supports schema free data, so you can filter and use conditions on nested properties of the JSON documents!
where( 'post.author.role', '=', 'admin' )
SleekDB will look for data at:
{ "post": { "author": { "role": "admin" } } } -
✨ Dependency free, only needs PHP to run
Supports PHP 7+. Requires no third-party plugins or software.
-
🚀 Default caching layer
SleekDB will serve data from cache by default and regenerate cache automatically! Query results will be cached and later reused from a single file instead of traversing all the available files.
-
🌈 Rich Conditions and Filters
Use multiple conditional comparisons, text search, sorting on multiple properties and nested properties. Some useful methods are:
- where
- orWhere
- select
- except
- in
- not in
- join
- like
- sort
- skip
- orderBy
- update
- limit
- search
- distinct
- exists
- first
- delete
- like
- not lik
- between
- not between
- group by
- having
-
👍 Process data on demand
SleekDB does not require any background process or network protocol in order to process data when you use it in a PHP project. All data for a query will be fetched at runtime within the same PHP process.
-
😍 Runs everywhere
Runs perfectly on shared-servers or VPS too.
-
🍰 Easy to learn and implement
SleekDB provides a very simple elegant API to handle all of your data.
-
🍰 Easily import/export or backup data
SleekDB use files to store information. That makes tasks like backup, import and export very easy.
-
💪 Actively maintained
SleekDB is created by @rakibtg who is using it in various types of applications which are in production right now. Our other contributor and active maintainer is Timucin who is making SleekDB much better in terms of code quality and new features.
-
📔 Well documented
The official documentation of SleekDB does not just provide a good api documentation. It is filled with examples!
Visit our website https://sleekdb.github.io/ for documentation and getting started guide.
rakibtg/sleekdb 适用场景与选型建议
rakibtg/sleekdb 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 125.4k 次下载、GitHub Stars 达 989, 最近一次更新时间为 2018 年 04 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「nosql」 「database」 「php」 「rest」 「api」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rakibtg/sleekdb 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rakibtg/sleekdb 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rakibtg/sleekdb 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Dibi is Database Abstraction Library for PHP
The DreamFactory(tm) CouchDB Service.
Store your language lines in the database, yaml or other sources
The CodeIgniter Redis package
A package for automatically encrypting and decrypting Eloquent attributes in Laravel 5.5+, based on configuration settings.
统计信息
- 总下载量: 125.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 995
- 点击次数: 29
- 依赖项目数: 22
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-23