Download the PHP package keyteq/cloudinary-metaindexer without Composer

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

cloudinary-metaindexer

Indexes cloudinary account to a mongodb database, and makes it available to list items in the frontend based on configured tags AND/OR a folder prefix.

This way you can create custom eZ pages that only lists cloudinary resources tagged with certain tags or within a cloudinary folder.

Prerequisites

INSTALL

Step 1

If you are running PHP 5.6+ / 7+ you don't have the old ext-mongo installed. Doctrine ODM 1.X requires ext-mongo, but there is a adapter available for this case.

You need to install this adapter for mongodb (PHP 5.6+ / 7+):

Note: If you have PHP version less then PHP 5.6 - skip this step.

Step 2

Install this bundle (stable):

Step 3 - (if you have doctrine mongodb installed from before)

If you have configured doctrine mongodb in your project for some other tasks you will need to disable the auto mapping for the cloudianry meta indexer bundle. That is ONLY if you have auto_mapping set to true.

Update your config.yml where doctrine_mongodb is configured:

CONFIGURE

Add to the app kernel to enable the bundle (app/AppKernel.php):

Add required configuration (remember to change the database to something unique for your project).

app/config/config.yml:

And update parameters.yml.dist:

Run composer install to add your secret parameters.

Test cloudinary sync

Setup a cron job to run mongodb sync

Setup a new cronjob to run the synchronization job:

NOTE: change app/console toezpublish/console` depending on your eZ publish/platform version.

The below cron specification will run this job at 2:30 every night.

Import the cloudinary_page package

See Resources/ezcontentclass/ folder in this bundle, there is a content class that you can import via ez administration ui. That package includes a new content class named cloudinary_page and contains some mandatory attributes. You are free to add your own after you import the content class.

After imported, create a new content object of that specific class.

Extending the template with a pagelayout (required for 5.x of eZ)

Step 1 is required for 5.X of ezpublish.

Step 1

By default, we don't extend any template, so the layout will be empty ( no header and footer ).

Create your own override in yourezbundleconfig.yml:

Customization of controller

Changing default 12 resources per page.

To set 24 resources per page for siteaccess YOUR_FRONT_SITEACCESS:

parameters.yml:

Step 2

And create a new template for the cloudinary_page: AcmeDemoBundle/Resources/views/full/cloudinary_page.html.twig:

If you dont want the built in markup you can look inside the KeyteqCloudinaryMetaIndexerBundle:content/full:cloudinary_page.html.twig template and use certain parts of the template for your needs.


All versions of cloudinary-metaindexer with dependencies

PHP Build Version
Package Version
Requires ezsystems/ezpublish-kernel Version *
doctrine/orm Version ~2.4
doctrine/mongodb-odm Version ^1.0
cloudinary/cloudinary_php Version ^1.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 keyteq/cloudinary-metaindexer contains the following files

Loading the files please wait ....