• Stars
    star
    128
  • Rank 272,470 (Top 6 %)
  • Language
    PHP
  • Created about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Shopware 5 Developers Website

Shopware Development Documentation

Install

This site is generated with Sculpin, a PHP based static site generator.

First you have to install Sculpin and run the installation command in the project directory. This can be done via the init.sh shell script in the project root.

./init.sh

This will download Sculpin and install the required dependencies.

Running the website locally

./watch.sh

This will start a local webserver at http://localhost:8000/. You can use a different port like so:

./watch.sh 8001

Automatic Plugin Packaging

Foreach Plugin in the exampleplugins directory a corresponding ZIP package will be created that can be installed via the shopware plugin manager. It is important to put the plugin into the proper Frontend/Backend/Core subdirectory.

Example

exampleplugins/Frontend/SwagSloganOfTheDay/ will result in exampleplugins/SwagSloganOfTheDay.zip in the generated output directory. Please note that the subdirectory is not part of the resulting directory/filename.

Table of contents in your Markdown documents

You have the ability to generate a table of content list for your document. Simply place the following code into your document and a table of contents will appear there magically:

<div class="toc-list"></div>

If you want, you can customize the behavior of the toc list as well. You can define the text of the headline using the attribute data-headline and you can define the max depth of headlines you want to include into the list with the attribute data-depth:

<div class="toc-list" data-depth="1" data-headline="Awesome table of contents"></div>

Hiding blog posts from search engines

To add a <meta name="robots" content="noindex, nofollow" /> to your blog post, you have to add the following frontmatter entry to your blog post:

robots:
    hide: true

Version History

To create a version history table, you simply have to add a history array to your metadata.

Example:

---
layout: default
indexed: true
...
history:
  2015-11-16: creation
  2015-11-23: added frontend documentation
  2016-01-01: documented millenium bug
---

Algolia Search Configuration

The search is powered by Algolia. Configuration is done via kernel Parameters in app/config/sculpin_kernel.yml:

# app/config/sculpin_kernel.yml
sculpin_algolia:
  application_id: 'MYAPPLICATION'
  index_name:     'developers.shopware.com_prod'

The API Key should be provided via the environment variable SYMFONY__ALGOLIA_API_KEY. To enable the search, the environment variable SYMFONY__ALGOLIA_ENABLED also must exist.

SYMFONY__ALGOLIA_ENABLED=1 SYMFONY__ALGOLIA_API_KEY=MYAPIKEY ./vendor/bin/sculpin generate

These variables are automatically exported during the build for every merge/commit on the main branch.

CSS helper classes

We added a bunch of CSS helper classes which should help you to build simple layouts.

Warning box

<div class="alert alert-warning">
This is a warning
</div>

Centering of content

<div class="center">
</div>

Alternative:

<div class="is--center">
</div>

Floating images

<div class="is-float-left">
    <img src="sample.png" alt="Sample image" />
</div>
<div class="is-float-right">
    <img src="sample.png" alt="Sample image" />
</div>

More Repositories

1

shopware

Shopware 6 is an open commerce platform based on Symfony Framework and Vue and supported by a worldwide community and more than 1.500 community extensions
PHP
2,551
star
2

development

PHP
187
star
3

production

Shopware 6 production template
Nushell
174
star
4

frontends

Shopware Frontends is a framework for building custom, headless storefronts with Shopware 6.
TypeScript
151
star
5

composer-project

Skeleton for Shopware projects with composer
PHP
73
star
6

storefront

PHP
48
star
7

docs

Shopware 6 developer docs
Mermaid
46
star
8

admin-extension-sdk

The Admin Extension SDK can be used by Shopware 6 apps and plugins. This library allows them to extend the administration with custom functionality.
TypeScript
44
star
9

core

PHP
40
star
10

SwagShopwarePwa

This extension adds additional endpoints to your Shopware 6 platform to let it integrate with Shopware PWA.
PHP
36
star
11

administration

JavaScript
33
star
12

swag-docs-bundle-example

Example plugin for Shopware platform
PHP
29
star
13

SwagPayPal

PayPal integration for shopware/platform
PHP
23
star
14

meteor-component-library

Shopware's design system to build empowering and delightful experiences for all of Shopware’s merchants.
Vue
21
star
15

e2e-testsuite-platform

This package contains the e2e platform test suite for Shopware 6 using Cypress
JavaScript
19
star
16

recipes

Flex Recipes
PHP
18
star
17

SwagMigrationMagento

Magento 1.9.x and 2.x profiles for the Shopware Migration Assistant
PHP
15
star
18

SwagMigrationAssistant

PHP
15
star
19

AppTemplate

PHP
14
star
20

shopware-benchmark

Shopware Benchmark
Go
11
star
21

paas

PaaS template based on production template
PHP
10
star
22

swag-docs-custom-cms-element

JavaScript
10
star
23

elasticsearch

Elasticsearch implementation for Shopware 6
PHP
10
star
24

app-system

PHP
10
star
25

admin-api-reference

Shopware Admin API Reference Documentation
Nix
10
star
26

SwagConnect

PHP
10
star
27

proposal

Proposals for Shopware 6.5.0.0
10
star
28

store-api-reference

Shopware Store API Reference Documentation
Nix
9
star
29

swag-docs-custom-cms-block

JavaScript
9
star
30

meteor-icon-kit

An icon library and toolkit that follows a minimal, yet highly expressive style perfectly aligned with Shopware's product language.
SCSS
9
star
31

developer-documentation-vitepress

This is a new template for the frontend of our developer documentation.
TypeScript
9
star
32

meteor

Meteor is Shopware’s open-source design system that drives our commerce solutions. Extend and customise every aspect of Shopware – create elegant, delightful, and accessible experiences. There are no limits to your imagination.
TypeScript
9
star
33

conflicts

Shopware 6 conflicting packages
8
star
34

app-bundle-symfony

Symfony Bundle for Shopware App Backend
PHP
8
star
35

swag-docs-rest-api-handling

PHP
8
star
36

app-php-sdk

Shopware APP SDK Independent of Frameworks
PHP
7
star
37

developer-portal

Home page for developers
TypeScript
7
star
38

web-installer

The new updater for Shopware
5
star
39

swag-docs-entity-extension

Shopware Platform example plugin from the documentation.
PHP
4
star
40

SwagMigrationConnector

PHP
3
star
41

shopware-cart-poc

PHP
3
star
42

dev-tools

3
star
43

admin-extension-sdk-example-app

An example app for demonstration of some Admin Extension SDK capabilties
Vue
3
star
44

jest-preset-sw6-admin

Jest Test preset for Shopware 6 administration unit tests
JavaScript
3
star
45

swag-docs-storefront-controller

PHP
2
star
46

swag-docs-plugin-quick-start

Shopware Platform example plugin from the documentation.
PHP
2
star
47

knowledge-index

A backend to manage document representations in vector stores and make them queryable
Python
2
star
48

swag-docs-create-migration-profile

PHP
2
star
49

design-portal

TypeScript
2
star
50

swag-docs-custom-entity

Shopware Platform example plugin from the documentation.
PHP
2
star
51

swag-docs-payment-plugin

Shopware Platform example plugin from the documentation.
PHP
2
star
52

swag-docs-js-plugin

JavaScript
2
star
53

swag-docs-custom-component

PHP
2
star
54

swag-docs-custom-module

PHP
2
star
55

SwagLanguagePack

The Shopware language pack combines all translations offered by Shopware, as well as associated country flags for a language selection in our storefront.
SCSS
2
star
56

docs-ci

This Repository contains the workflows for all docs related repos
Nix
2
star
57

recovery

PHP
1
star
58

swag-docs-plugin-cypress-tests

JavaScript
1
star
59

paas-meta

Meta Package for Shopware PaaS
PHP
1
star
60

Connect-SDK

Contains all the releases for the Shopware Connect SDK as downloadable
PHP
1
star
61

phpstan-extension

1
star
62

webpack-plugin-injector

Injects Shopware Plugins into a Webpack config
JavaScript
1
star
63

swag-docs-reading-plugin-config

PHP
1
star
64

swag-docs-custom-rule

PHP
1
star
65

swag-docs-cart-change-price

PHP
1
star
66

swag-docs-administration-new-field

Shopware Platform example plugin from the documentation.
PHP
1
star
67

swag-docs-base-class

Shopware Platform example plugin from the documentation.
PHP
1
star