Download the PHP package shopsys/read-model without Composer

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

Shopsys Read Model

Downloads

This bundle for Shopsys Framework separates templates from model using read model concept. The bundle is dedicated for projects based on Shopsys Framework (i.e. created from shopsys/project-base) exclusively.

This repository is maintained by monorepo CHANGELOG.md.

Installation

The plugin is a Symfony bundle and is installed in the same way:

Download

First, you download the package using Composer:

Register

For the bundle to be loaded in your application you need to register it in registerBundles() method in the app/AppKernel.php file of your project:

Usage

If you want to leverage the advantages of read model concept, you need to use the particular implementation of ListedProductViewFacadeInterface in your controllers (there is already prepared one implementation in the bundle). The facade provides you the view objects for product lists that can be then used in the templates.

Available View Objects

Available Twig functions

Contributing

Thank you for your contributions to Shopsys Read Model package. Together we are making Shopsys Framework better.

This repository is READ-ONLY. If you want to report issues and/or send pull requests, please use the main Shopsys repository.

Please, check our Contribution Guide before contributing.

Support

What to do when you are in troubles or need some help? The best way is to join our Slack.

If you want to report issues, please use the main Shopsys repository.


All versions of read-model with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
shopsys/form-types-bundle Version 13.0.0
shopsys/framework Version 13.0.0
shopsys/migrations Version 13.0.0
shopsys/plugin-interface Version 13.0.0
symfony/config Version ^5.4
symfony/dependency-injection Version ^5.4
symfony/http-kernel Version ^5.4
webmozart/assert Version ^1.4
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 shopsys/read-model contains the following files

Loading the files please wait ....