dkd/php-cmis

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP CMIS client library based on CMIS 1.1

1.0.1 2017-03-03 15:19 UTC

This package is not auto-updated.

Last update: 2024-09-09 08:52:22 UTC


README

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Total Downloads Latest Unstable Version License

PHP CMIS Client is a port of OpenCMIS (Java) to PHP. Interfaces are mostly the same so most OpenCMIS examples should be also usable for this PHP CMIS Library.

Some basic examples can be found in the example folder (code is not nice but shows how it works).

The functionality is largely complete, we are happy about PRs if you require something not implemented yet.

Server Requirements

Currently only the Browser binding is implemented. This means you need Alfresco 4.2 or higher or some other CMIS server supporting the Browser binding. We are open about merging additional bindings but are not developing them at the moment.

External Usage

As far as we know the major dependants of this library are the CMIS extensions for TYPO3 CMS and Drupal 8.

Currently implemented Services

  • RepositoryService
    • getRepositories (getRepositoryInfos)
    • getRepositoryInfo
    • getTypeChildren
    • getTypeDescendants
    • getTypeDefinition
    • updateType
    • createType
    • deleteType
  • NavigationService
    • getChildren
    • getDescendants
    • getFolderTree
    • getFolderParent
    • getObjectParents
    • getCheckedOutDocs
  • ObjectService
    • createDocument
    • createDocumentFromSource
    • createFolder
    • createItem
    • createRelationship
    • createPolicy
    • getAllowableActions
    • getObject
    • getProperties
    • getObjectByPath
    • getContentStream
    • getRenditions
    • updateProperties
    • bulkUpdateProperties
    • moveObject
    • deleteObject
    • deleteTree
    • setContentStream
    • appendContentStream
    • deleteContentStream
  • MultifilingService
    • addObjectToFolder
    • removeObjectFromFolder
  • DiscoveryService
    • query
    • getContentChanges
  • VersioningService
    • checkOut
    • cancelCheckOut
    • checkIn
    • getObjectOfLatestVersion
    • getPropertiesOfLatestVersion
    • getAllVersions
  • RelationshipService
    • getObjectRelationships
  • PolicyService
    • applyPolicies
    • removePolicy
    • getAppliedPolicies
  • AclSservice
    • getACL
    • applyACL

32/64-bit

The library is mainly targeting 64-bit environments. 32-bit should work, but no extensive testing is done.

LICENSE

Copyright 2014-2015 Sascha Egerer - dkd Internet Service GmbH http://www.dkd.de Copyright 2015-2016 Johannes Goslar, Claus Due - dkd Internet Service GmbH http://www.dkd.de

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.

This PHP CMIS Client library is part of the ForgetIT project: http://www.forgetit-project.eu/

The ForgetIT project is funded by the EC within the 7th Framework Programme under the objective "Digital Preservation" (GA 600826).