Download the PHP package carlosv2/dumbsmart-repositories without Composer

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

Dumbsmart Repositories

This project provides a layer that sits in between your project and a collection of fake repositories so that each document is stored into its own repository regardless of whether it was persisted as a relation of another object. This layer is designed to be used on testing environments or on low data-level-access applications. Using this project in production is discouraged.

License Build Status SensioLabsInsight

Why?

When using fake repositories is common to use functions like serialize or json_encode in order to make data easily persistable. A side effects of using these methods is that related documents are stored along with the parent document. As a result, querying this document from its own repository produces no results, and modifying its data means loading any potential document related with the one that must be modified. This is usually not a problem for small projects, but with large projects where data is complex, unforseen consequences can ensue.

Installation

Install with:

Usage

Imagine you have the following entities:

In order to use them, you first need to configure this layer:

Once you have configured the layer, you can start using it like this:

If you were using everzet/persisted-objects previously, you don't even need to modify your code, only the way you build your repositories:


All versions of dumbsmart-repositories with dependencies

PHP Build Version
Package Version
Requires everzet/persisted-objects Version ~1.0
carlosv2/communism Version ^1.2
php Version ~5.3 || ~7.0
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 carlosv2/dumbsmart-repositories contains the following files

Loading the files please wait ....