Download the PHP package codelathe/filecloudapi-php without Composer

On this page you can find all versions of the php package codelathe/filecloudapi-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filecloudapi-php

filecloudapi-php

FileCloud API for PHP

FileCloud is a completely self-hosted enterprise file sharing and sync solution and can be run on a variety of platforms and as well as your own cloud infrastructure.(https://www.getfilecloud.com)

API Class Wrapper for PHP

The API wrapper for FileCloud provides quick API access to almost all of the APIs for user side actions as well as admin side actions. For full API documentation please refer to https://www.getfilecloud.com/developer/

Installation

The filecloudapi-php code requires a correctly configured PHP 7.1 environment either on Windows or Linux and above to run

There are two ways to include this library on your system:

Manual Require

If you can't (or just don't want) to setup composer on your project, you can just require the file fccloudapi.php on your code, and you'll be ready to go.

Take a look on example1.php to see it live.

Composer

If you have composer set up on your code, all you have to do is composer require codelathe/filecloudapi-php, or include codelathe/filecloudapi-php on your composer.json file, on the require section, and run composer update. You'll should be good to go, since the library will be included on you composer autoloader.

You can take a look on example2 to understand how it works with composer.

Development

To get started, look at the examples folder. Booth examples there just logs you in into FileCloud and creates a new folder.

example1 - Manual Require

Look inside example1.php and change the constant values at the top of the file. Them execute it:

example2 - Composer

Go to example2 folder, and run composer install. It will create the vendor folder and the composer.lock file. Look inside index.php anc change the constant values at the top of the file, and execute it:

This example just simulates a project using FileCloudAPI client-library as a dependency.

More Information

Calling APIs will either return a collection object which contains different records or an individual record object where only one record is returned. Collection objects can contain a meta record object that contains general information about the records returned. They also can contain a number of data record objects.

[Collection]

  +--------------- [Meta Record]
  +--------------- [1 ..n Data Records]

Depending upon the API, you might get different types of Data Records Back Refer to the API documentation to understand which record type is being returned

For example, here's a non-exhaustive list of types of records that can be returned

[DataRecord]

 +----------- [CommandRecord]
 +----------- [FolderPropertiesRecord]
 +----------- [AuthenticationRecord]
 +----------- [ShareRecord]
 +----------- [CommentRecord]
 +----------- [UserRecord]
 +----------- [ProfileRecord]
 +----------- [LangRecord]
 +----------- and so on...

License

Copyright 2018 CodeLathe Technologies Inc.

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.


All versions of filecloudapi-php with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
ext-json Version *
ext-curl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package codelathe/filecloudapi-php contains the following files

Loading the files please wait ....