owncloud / libre-graph-api-php
Libre Graph is a free API for cloud collaboration inspired by the MS Graph API.
Requires
- php: ^8.1
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.4.5
- guzzlehttp/psr7: ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- overtrue/phplint: ^9.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2026-06-17 10:09:58 UTC
README
Auto-generated PHP client library for the Libre Graph API, built with the OpenAPI Generator. It provides Composer-installable PHP classes for every Libre Graph endpoint, enabling PHP applications -- such as the oCIS PHP SDK and Moodle integrations -- to interact with ownCloud Infinite Scale programmatically.
Getting Started
Follow the steps below to install and use the PHP client.
Installation via Composer
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/owncloud/libre-graph-api-php.git"
}
],
"require": {
"owncloud/libre-graph-api-php": "*@dev"
}
}
Then run:
composer install
Documentation
Part of ownCloud Infinite Scale
This PHP client is a dependency of the ocis-php-sdk and is generated from the libre-graph-api OpenAPI spec.
Requires PHP 8.1+.
This component is part of the oCIS Docker image.
Community & Support
Star this repo and Watch for release notifications!
Contributing
We welcome contributions! Please read the Contributing Guidelines and our Code of Conduct before getting started.
Workflow
- Rebase Early, Rebase Often! We use a rebase workflow. Always rebase on the target branch before submitting a PR.
- Dependabot: Automated dependency updates are managed via Dependabot. Review and merge dependency PRs promptly.
- Signed Commits: All commits must be PGP/GPG signed. See GitHub's signing guide.
- DCO Sign-off: Every commit must carry a
Signed-off-byline:git commit -s -S -m "your commit message" - GitHub Actions Policy: Workflows may only use actions that are (a) owned by
owncloud, (b) created by GitHub (actions/*), or (c) verified in the GitHub Marketplace.
Security
Do not open a public GitHub issue for security vulnerabilities.
Report vulnerabilities at https://security.owncloud.com -- see SECURITY.md.
Bug bounty: YesWeHack ownCloud Program
License
This project is licensed under the Apache-2.0.
About the ownCloud OSPO
The Kiteworks Open Source Program Office, operating under the ownCloud brand, launched on May 5, 2026, to steward the open source ecosystem around ownCloud's products. The OSPO ensures transparent governance, license compliance, community health, and sustainable collaboration between the open source community and Kiteworks, which acquired ownCloud in 2023.
- OSPO Home: https://kiteworks.com/opensource
- GitHub: https://github.com/owncloud
- ownCloud: https://owncloud.com
For questions about the OSPO or licensing, contact ospo@kiteworks.com.
License status: This repository is already licensed under Apache-2.0 -- the OSPO target license. No migration is required.