Download the PHP package fourcoders/latch-bundle without Composer

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

SensioLabsInsight

Build Status Scrutinizer Code Quality Code Coverage

LatchBundle

Easy integration of Latch in your symfony2 project. You can visit the official website: http://fourcoders.github.io/LatchBundle/

Prerequisites

Translations

If you wish to use default texts provided in this bundle, you have to make sure you have translator enabled in your config.

For more information about translations, check Symfony documentation.

Installation

  1. Download LatchBundle using composer
  2. Enable the Bundle
  3. Update your User class
  4. Configure the LatchBundle
  5. Import LatchBundle routing
  6. Update your database schema
  7. Setup your latch operations

Step 1: Download LatchBundle using composer

Add LatchBundle in your composer.json.

First option: You can install the official Latch PHP SDK by ElevenPaths. Composer can not load repositories recursively .You need to add this dependency in your composer.json or You can manage it by satis or toran proxy.

After install libraries, You must put eleven_paths as a your latch_driver in your config.yml:

Second Option: You can install unofficial fourcoders/latch-sdk-php. Its very similar to the official Latch PHP SDK by ElevenPaths , however we use composer for managing the dependencies and Guzzle for the HTTP Request.

After install libraries, You must put fourcorders as a your latch_driver in your config.yml:

Step 2: Enable the bundle

Enable the bundle in the kernel:

Step 3: Update your User class

Insert a new field in the User entity, or whatever you are using with your security provider.

If you are using FOSUserBundle this a example:

For a stardard register, check Symfony documentation, after you can override the User.php.

Step 4: Configure the LatchBundle

How to setup latch_driver

Step 5: Import LatchBundle routing files

Step 6: Update your database schema

For ORM run the following command.

Step 7: Setup your latch operations

You can securize any http resource with your Latch operations. Begin the setup process of your operations with your operation name and pattern in the config.yml

Finally your operations must be defined in the access control params:

Now that you have completed the basic installation and configuration of the LatchBundle, you are ready to learn about more advanced features and usages of the bundle.

The following documents are available:


All versions of latch-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.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 fourcoders/latch-bundle contains the following files

Loading the files please wait ....