Download the PHP package commercetools/sunrise without Composer

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

commercetools-sunrise-php

:warning: The Sunrise php shopfront implementation is now deprecated and will be decommissioned in 2020. If you would nevertheless like to use it for your own developments you should fork this repository under the given license and continue developing your version, but please be aware that there will be no more updates and no support provided to this framework.

SUNRISE PHP is a template shopfront implementation that implements a complete online shop on the commercetools eCommerce platform using the following components:

It aims to focus on being slim, easy to understand and fast, delegating reusabilty into the commons and symfony-components libraries.

Please read the Changelog before updating in any case.

Prerequisites

Run

To run, you need a project on the commercetools platform that contains some minimum necessary content (e.g. the sample data). Then get your project key, client ID and client secret from the merchant center and provide them in one of the following ways:

  1. create a file app/config/parameters.yml with the following format:

For local development purposes you can run the application in the php built-in web server. The web folder contains static assets and index.php as the only PHP file.

Production Site:

Development Site:

Open http://localhost:8000/

Develop

To improve the template, we are happily receiving pull requests with improvements and bug fixes. If you'd like to change bigger things or add features it's a good idea to discuss the idea in a github issue first.

IMPORTANT: The composer configuration clones the PHP commons library and the sunrise designs inside the vendor directory. So pay attention when doing git operations with changes in these files.

Using the command line

Available console commands

Cache warm up

Deployment

Heroku

For an easy and fast deployment of your application we recommend heroku:

Deploy

Docker

The Sunrise app is delivered with a docker compose configuration.

This starts a nginx and a php-fpm docker container serving the application.

Create your own shop

Fork and forge your own eCommerce solution from it.

More specifically:


All versions of sunrise with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
commercetools/php-sdk Version ^1.5 || ^2.0
guzzlehttp/guzzle Version ^6.3
commercetools/sunrise-theme Version ^0.63
commercetools/symfony-bundle Version ^0.2@dev
jays-de/handlebars-bundle Version ^1.0.1
monolog/monolog Version ^1.7
symfony/symfony Version ^3.1
symfony/monolog-bundle Version ^3.0
symfony/psr-http-message-bridge Version ^0.2.0
sensio/framework-extra-bundle Version ^3.0
sensio/distribution-bundle Version ^5.0
incenteev/composer-parameter-handler Version ^2.0
particle/validator Version ^2.1
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 commercetools/sunrise contains the following files

Loading the files please wait ....