Download the PHP package yanmarques/cloudpaths without Composer

On this page you can find all versions of the php package yanmarques/cloudpaths. 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 cloudpaths

Cloudpaths for Laravel

Build Status StyleCI

A mapper to create dynamic urls for storing data on cloud.

Table of Contents

Installing

To install you can add as a dependency for your project with composer.

Running tests

Tests are good for any project, skipping tests may kill kittens.

Getting Started

Register the Service Provider

The package registers itself using the service provider. For this you must add the service provider to the list on your .

Facades (Optional)

Laravel allows us to use Facade classes as aliases for registered services on the application container. To use the Cloudpaths Facade class you must add the Facade path to the of the .

Configuration

Once the service provider has been registered the Cloudpaths application, it will try to read the configuration from file. To configure it, you must publish the configuration file to the path. Open the console and run on your project:

Cloudpaths

The Cloudpaths class is a mapper class, which maps each directory as directory classes that implements the interface. When a new directory is been mapped, a new directory class is created, with their subdirectories, also composed by directory classes.

The collects a bunch of directories that implements the directory interface. It extends the wonderfull from Laravel, inheriting it's methods. Although the collection proxies the method that stores a new item to accepts only directory items.

To build a new directory and it's subdirectories, the Cloudpaths uses a Factory class to handle this operation. The factory implements the interface. The default factory is the Factory implementation, but you can implement your and pass as second argument to Cloudpaths.

Example:

Searcher

The searcher is a search engine implemention to find for a directory by name on a given collection scope. The search engine uses scopes to change the search view. The scope will be a directory collection where only the current scope is the search target, when the scope is changed, the search is also changed.

You can implement your own searcher that implements the interface and provide as the third argument for Cloudpaths. The default searcher is the .

Example:

Api

Mapping a new directory:

Mapping an array of directories:

Find a directory path by dot notation input.

You do not have to instruct the full path to the directory, just the top level directory where the directory is located and the target directory, we will find it :).

Find a directory replacing a dynamic directory name

To replace, you provide an array with a key/value, the key represent the key to find and the value is the value to replace.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.


All versions of cloudpaths with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
illuminate/contracts Version 5.5.*|5.6.*
illuminate/support Version 5.5.*|5.6.*
illuminate/config Version 5.5.*|5.6.*
illuminate/pipeline Version ^5.6
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 yanmarques/cloudpaths contains the following files

Loading the files please wait ....