Download the PHP package wallacesilva/phpjsonlite without Composer
On this page you can find all versions of the php package wallacesilva/phpjsonlite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wallacesilva/phpjsonlite
More information about wallacesilva/phpjsonlite
Files in wallacesilva/phpjsonlite
Package phpjsonlite
Short Description A simple, self-contained, serverless, zero-configuration, json document store for PHP
License APACHE
Homepage https://github.com/wallacesilva/phpjsonlite
Informations about the package phpjsonlite
PHP JSONlite
A simple, self-contained, serverless, zero-configuration, json document store. Based on nodesocket/jsonlite.
JSONlite sandboxes the current working directory just like SQLite. The data directory is named jsonlite.data
, and each json document is saved pretty printed as a uuid.
Proof of Concept
JSONlite is a proof of concept, and it may not make any sense to actually use it in development or production. Read more in nodesocket/jsonlite.
Installation
Requirements
- php >= 5.3
Usage
You need declare the object to use the methods.
set()
Set object using OR not document_id
``
get()
Get object using document_id. Document id is a UUID
``
delete()
Delete object using document_id.
`
drop()
Remove database folder. Default './jsonlite.data'
``
setDataPath()
Define new folder database. This is not required. Default is './jsonlite.data'
`
version
Return version from Package
``
Changelog
https://github.com/wallacesilva/phpjsonlite/blob/master/CHANGELOG
Support, Bugs, And Feature Requests
Create issues here in GitHub (https://github.com/wallacesilva/phpjsonlite/issues).
Versioning
For transparency and insight into the release cycle, and for striving to maintain backward compatibility, JSONlite will be maintained under the semantic versioning guidelines.
Releases will be numbered with the follow format:
<major>.<minor>.<patch>
And constructed with the following guidelines:
- Breaking backward compatibility bumps the major (and resets the minor and patch)
- New additions without breaking backward compatibility bumps the minor (and resets the patch)
- Bug fixes and misc changes bumps the patch
For more information on semantic versioning, visit http://semver.org/.
License & Legal
Copyright 2015 Wallace Silva
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.