more initial commits.

This commit is contained in:
Paweł Jędrzejewski 2011-12-27 14:11:16 +01:00
parent 7629816ff5
commit 2d01407fd2
12 changed files with 1413 additions and 8 deletions

View file

@ -0,0 +1,159 @@
SyliusAddressingBundle
======================
Highly flexible Addressing engine.
Installation
------------
Installing dependencies
~~~~~~~~~~~~~~~~~~~~~~~
This bundle uses **Pagerfanta library** and **PagerfantaBundle**.
The installation guide can be found `here <https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle>`_.
Downloading the bundle
~~~~~~~~~~~~~~~~~~~~~~
The good practice is to download it to `vendor/bundles/Sylius/Bundle/AddressingBundle`.
This can be done in several ways, depending on your preference.
The first method is the standard Symfony2 method.
Using the vendors script
************************
Add the following lines in your `deps` file. ::
[SyliusAddressingBundle]
git=git://github.com/Sylius/SyliusAddressingBundle.git
target=bundles/Sylius/Bundle/AddressingBundle
Now, run the vendors script to download the bundle.
.. code-block:: bash
$ php bin/vendors install
Using submodules
****************
If you prefer instead to use git submodules, then run the following lines.
.. code-block:: bash
$ git submodule add git://github.com/Sylius/SyliusAddressingBundle.git vendor/bundles/Sylius/Bundle/AddressingBundle
$ git submodule update --init
Autoloader configuration
~~~~~~~~~~~~~~~~~~~~~~~~
Add the `Sylius\\Bundle` namespace to your autoloader.
.. code-block:: php
<?php
// app/autoload.php
$loader->registerNamespaces(array(
'Sylius\\Bundle' => __DIR__.'/../vendor/bundles'
));
Adding bundle to kernel
~~~~~~~~~~~~~~~~~~~~~~~
Finally, enable the bundle in the kernel...
.. code-block:: php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Sylius\Bundle\AddressingBundle\SyliusAddressingBundle(),
);
}
Importing routing configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Container configuration
~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Updating database schema
~~~~~~~~~~~~~~~~~~~~~~~~
The last thing you need to do is updating the database schema.
For "**ORM**" driver run the following command.
.. code-block:: bash
$ php app/console doctrine:schema:update --force
Usage guide
-----------
.. note::
This part is not written yet.
Configuration reference
-----------------------
.. note::
This part is not written yet.
Testing and continous integration
----------------------------------
.. image:: http://travis-ci.org/Sylius/SyliusAddressingBundle.png
This bundle uses `travis-ci.org <http://travis-ci.org/Sylius/SyliusAddressingBundle>`_ for CI.
Before running tests, load the dependencies using `Composer <http://packagist.org>`_.
.. code-block:: bash
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
Now you can test by simply using this command.
.. code-block:: bash
$ phpunit
Working examples
----------------
If you want to see this and other bundles in action, try out the `Sylius sandbox application <http://github.com/Sylius/Sylius-Sandbox>`_.
It's open sourced github project.
Dependencies
------------
This bundle uses the awesome `Pagerfanta library <https://github.com/whiteoctober/Pagerfanta>`_ and `Pagerfanta bundle <https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle>`_.
Bug tracking
------------
This bundle uses `GitHub issues <https://github.com/Sylius/SyliusAddressingBundle/issues>`_.
If you have found bug, please create an issue.

View file

@ -1,6 +1,3 @@
.. index::
single: Bundles
SyliusAssortmentBundle
======================

View file

@ -0,0 +1,159 @@
SyliusBloggerBundle
======================
Highly flexible Blogger engine.
Installation
------------
Installing dependencies
~~~~~~~~~~~~~~~~~~~~~~~
This bundle uses **Pagerfanta library** and **PagerfantaBundle**.
The installation guide can be found `here <https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle>`_.
Downloading the bundle
~~~~~~~~~~~~~~~~~~~~~~
The good practice is to download it to `vendor/bundles/Sylius/Bundle/BloggerBundle`.
This can be done in several ways, depending on your preference.
The first method is the standard Symfony2 method.
Using the vendors script
************************
Add the following lines in your `deps` file. ::
[SyliusBloggerBundle]
git=git://github.com/Sylius/SyliusBloggerBundle.git
target=bundles/Sylius/Bundle/BloggerBundle
Now, run the vendors script to download the bundle.
.. code-block:: bash
$ php bin/vendors install
Using submodules
****************
If you prefer instead to use git submodules, then run the following lines.
.. code-block:: bash
$ git submodule add git://github.com/Sylius/SyliusBloggerBundle.git vendor/bundles/Sylius/Bundle/BloggerBundle
$ git submodule update --init
Autoloader configuration
~~~~~~~~~~~~~~~~~~~~~~~~
Add the `Sylius\\Bundle` namespace to your autoloader.
.. code-block:: php
<?php
// app/autoload.php
$loader->registerNamespaces(array(
'Sylius\\Bundle' => __DIR__.'/../vendor/bundles'
));
Adding bundle to kernel
~~~~~~~~~~~~~~~~~~~~~~~
Finally, enable the bundle in the kernel...
.. code-block:: php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Sylius\Bundle\BloggerBundle\SyliusBloggerBundle(),
);
}
Importing routing configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Container configuration
~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Updating database schema
~~~~~~~~~~~~~~~~~~~~~~~~
The last thing you need to do is updating the database schema.
For "**ORM**" driver run the following command.
.. code-block:: bash
$ php app/console doctrine:schema:update --force
Usage guide
-----------
.. note::
This part is not written yet.
Configuration reference
-----------------------
.. note::
This part is not written yet.
Testing and continous integration
----------------------------------
.. image:: http://travis-ci.org/Sylius/SyliusBloggerBundle.png
This bundle uses `travis-ci.org <http://travis-ci.org/Sylius/SyliusBloggerBundle>`_ for CI.
Before running tests, load the dependencies using `Composer <http://packagist.org>`_.
.. code-block:: bash
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
Now you can test by simply using this command.
.. code-block:: bash
$ phpunit
Working examples
----------------
If you want to see this and other bundles in action, try out the `Sylius sandbox application <http://github.com/Sylius/Sylius-Sandbox>`_.
It's open sourced github project.
Dependencies
------------
This bundle uses the awesome `Pagerfanta library <https://github.com/whiteoctober/Pagerfanta>`_ and `Pagerfanta bundle <https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle>`_.
Bug tracking
------------
This bundle uses `GitHub issues <https://github.com/Sylius/SyliusBloggerBundle/issues>`_.
If you have found bug, please create an issue.

View file

@ -0,0 +1,147 @@
SyliusCartBundle
======================
Highly flexible cart engine.
Installation
------------
Downloading the bundle
~~~~~~~~~~~~~~~~~~~~~~
The good practice is to download it to `vendor/bundles/Sylius/Bundle/CartBundle`.
This can be done in several ways, depending on your preference.
The first method is the standard Symfony2 method.
Using the vendors script
************************
Add the following lines in your `deps` file. ::
[SyliusCartBundle]
git=git://github.com/Sylius/SyliusCartBundle.git
target=bundles/Sylius/Bundle/CartBundle
Now, run the vendors script to download the bundle.
.. code-block:: bash
$ php bin/vendors install
Using submodules
****************
If you prefer instead to use git submodules, then run the following lines.
.. code-block:: bash
$ git submodule add git://github.com/Sylius/SyliusCartBundle.git vendor/bundles/Sylius/Bundle/CartBundle
$ git submodule update --init
Autoloader configuration
~~~~~~~~~~~~~~~~~~~~~~~~
Add the `Sylius\\Bundle` namespace to your autoloader.
.. code-block:: php
<?php
// app/autoload.php
$loader->registerNamespaces(array(
'Sylius\\Bundle' => __DIR__.'/../vendor/bundles'
));
Adding bundle to kernel
~~~~~~~~~~~~~~~~~~~~~~~
Finally, enable the bundle in the kernel...
.. code-block:: php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Sylius\Bundle\CartBundle\SyliusCartBundle(),
);
}
Importing routing configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Container configuration
~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Updating database schema
~~~~~~~~~~~~~~~~~~~~~~~~
The last thing you need to do is updating the database schema.
For "**ORM**" driver run the following command.
.. code-block:: bash
$ php app/console doctrine:schema:update --force
Usage guide
-----------
.. note::
This part is not written yet.
Configuration reference
-----------------------
.. note::
This part is not written yet.
Testing and continous integration
----------------------------------
.. image:: http://travis-ci.org/Sylius/SyliusCartBundle.png
This bundle uses `travis-ci.org <http://travis-ci.org/Sylius/SyliusCartBundle>`_ for CI.
Before running tests, load the dependencies using `Composer <http://packagist.org>`_.
.. code-block:: bash
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
Now you can test by simply using this command.
.. code-block:: bash
$ phpunit
Working examples
----------------
If you want to see this and other bundles in action, try out the `Sylius sandbox application <http://github.com/Sylius/Sylius-Sandbox>`_.
It's open sourced github project.
Bug tracking
------------
This bundle uses `GitHub issues <https://github.com/Sylius/SyliusCartBundle/issues>`_.
If you have found bug, please create an issue.

View file

@ -1,6 +1,3 @@
.. index::
single: Bundles
SyliusCatalogBundle
===================
@ -32,7 +29,7 @@ Using the vendors script
Add the following lines in your `deps` file. ::
[SyliusAssortmentBundle]
[SyliusCatalogBundle]
git=git://github.com/Sylius/SyliusCatalogBundle.git
target=bundles/Sylius/Bundle/CatalogBundle
@ -102,6 +99,59 @@ Customize the prefixes or whatever you want.
resource: @SyliusCatalogBundle/Resources/config/routing/backend/category.yml
prefix: /administration
.. note::
The bundle requires at least one catalog created.
Usage guide
-----------
`Sylius sandbox application <http://github.com/Sylius/Sylius-Sandbox>`_ is a great example of this bundle usage.
There are two confiured catalogs, one simple categories set for blog posts and one nested set of product categories.
Catalogs configuration
~~~~~~~~~~~~~~~~~~~~~~
By **catalog** we understand a categorized set of objects.
This is confiuguration used in sandbox app.
.. code-block:: yaml
sylius_catalog:
driver: ORM
catalogs:
blog:
property: "posts"
classes:
model: Sylius\Sandbox\Bundle\BloggerBundle\Entity\Category
templates:
backend:
list: SandboxBloggerBundle:Backend/Category:list.html.twig
show: SandboxBloggerBundle:Backend/Category:show.html.twig
create: SandboxBloggerBundle:Backend/Category:create.html.twig
update: SandboxBloggerBundle:Backend/Category:update.html.twig
frontend:
list: SandboxBloggerBundle:Frontend/Category:list.html.twig
show: SandboxBloggerBundle:Frontend/Category:show.html.twig
assortment:
property: "products"
nested: true
sorter: sylius_assortment.sorter.product
classes:
model: Sylius\Sandbox\Bundle\AssortmentBundle\Entity\Category
form: Sylius\Sandbox\Bundle\AssortmentBundle\Form\Type\CategoryFormType
templates:
backend:
list: SandboxAssortmentBundle:Backend/Category:list.html.twig
show: SandboxAssortmentBundle:Backend/Category:show.html.twig
create: SandboxAssortmentBundle:Backend/Category:create.html.twig
update: SandboxAssortmentBundle:Backend/Category:update.html.twig
frontend:
list: SandboxAssortmentBundle:Frontend/Category:list.html.twig
show: SandboxAssortmentBundle:Frontend/Category:show.html.twig
Testing and continous integration
----------------------------------

View file

@ -0,0 +1,159 @@
SyliusGuardBundle
======================
Highly flexible Guard engine.
Installation
------------
Installing dependencies
~~~~~~~~~~~~~~~~~~~~~~~
This bundle uses **Pagerfanta library** and **PagerfantaBundle**.
The installation guide can be found `here <https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle>`_.
Downloading the bundle
~~~~~~~~~~~~~~~~~~~~~~
The good practice is to download it to `vendor/bundles/Sylius/Bundle/GuardBundle`.
This can be done in several ways, depending on your preference.
The first method is the standard Symfony2 method.
Using the vendors script
************************
Add the following lines in your `deps` file. ::
[SyliusGuardBundle]
git=git://github.com/Sylius/SyliusGuardBundle.git
target=bundles/Sylius/Bundle/GuardBundle
Now, run the vendors script to download the bundle.
.. code-block:: bash
$ php bin/vendors install
Using submodules
****************
If you prefer instead to use git submodules, then run the following lines.
.. code-block:: bash
$ git submodule add git://github.com/Sylius/SyliusGuardBundle.git vendor/bundles/Sylius/Bundle/GuardBundle
$ git submodule update --init
Autoloader configuration
~~~~~~~~~~~~~~~~~~~~~~~~
Add the `Sylius\\Bundle` namespace to your autoloader.
.. code-block:: php
<?php
// app/autoload.php
$loader->registerNamespaces(array(
'Sylius\\Bundle' => __DIR__.'/../vendor/bundles'
));
Adding bundle to kernel
~~~~~~~~~~~~~~~~~~~~~~~
Finally, enable the bundle in the kernel...
.. code-block:: php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Sylius\Bundle\GuardBundle\SyliusGuardBundle(),
);
}
Importing routing configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Container configuration
~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Updating database schema
~~~~~~~~~~~~~~~~~~~~~~~~
The last thing you need to do is updating the database schema.
For "**ORM**" driver run the following command.
.. code-block:: bash
$ php app/console doctrine:schema:update --force
Usage guide
-----------
.. note::
This part is not written yet.
Configuration reference
-----------------------
.. note::
This part is not written yet.
Testing and continous integration
----------------------------------
.. image:: http://travis-ci.org/Sylius/SyliusGuardBundle.png
This bundle uses `travis-ci.org <http://travis-ci.org/Sylius/SyliusGuardBundle>`_ for CI.
Before running tests, load the dependencies using `Composer <http://packagist.org>`_.
.. code-block:: bash
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
Now you can test by simply using this command.
.. code-block:: bash
$ phpunit
Working examples
----------------
If you want to see this and other bundles in action, try out the `Sylius sandbox application <http://github.com/Sylius/Sylius-Sandbox>`_.
It's open sourced github project.
Dependencies
------------
This bundle uses the awesome `Pagerfanta library <https://github.com/whiteoctober/Pagerfanta>`_ and `Pagerfanta bundle <https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle>`_.
Bug tracking
------------
This bundle uses `GitHub issues <https://github.com/Sylius/SyliusGuardBundle/issues>`_.
If you have found bug, please create an issue.

View file

@ -0,0 +1,136 @@
SyliusInstallerBundle
======================
Highly flexible Installer engine.
Installation
------------
Downloading the bundle
~~~~~~~~~~~~~~~~~~~~~~
The good practice is to download it to `vendor/bundles/Sylius/Bundle/InstallerBundle`.
This can be done in several ways, depending on your preference.
The first method is the standard Symfony2 method.
Using the vendors script
************************
Add the following lines in your `deps` file. ::
[SyliusInstallerBundle]
git=git://github.com/Sylius/SyliusInstallerBundle.git
target=bundles/Sylius/Bundle/InstallerBundle
Now, run the vendors script to download the bundle.
.. code-block:: bash
$ php bin/vendors install
Using submodules
****************
If you prefer instead to use git submodules, then run the following lines.
.. code-block:: bash
$ git submodule add git://github.com/Sylius/SyliusInstallerBundle.git vendor/bundles/Sylius/Bundle/InstallerBundle
$ git submodule update --init
Autoloader configuration
~~~~~~~~~~~~~~~~~~~~~~~~
Add the `Sylius\\Bundle` namespace to your autoloader.
.. code-block:: php
<?php
// app/autoload.php
$loader->registerNamespaces(array(
'Sylius\\Bundle' => __DIR__.'/../vendor/bundles'
));
Adding bundle to kernel
~~~~~~~~~~~~~~~~~~~~~~~
Finally, enable the bundle in the kernel...
.. code-block:: php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Sylius\Bundle\InstallerBundle\SyliusInstallerBundle(),
);
}
Importing routing configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Container configuration
~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Usage guide
-----------
.. note::
This part is not written yet.
Configuration reference
-----------------------
.. note::
This part is not written yet.
Testing and continous integration
----------------------------------
.. image:: http://travis-ci.org/Sylius/SyliusInstallerBundle.png
This bundle uses `travis-ci.org <http://travis-ci.org/Sylius/SyliusInstallerBundle>`_ for CI.
Before running tests, load the dependencies using `Composer <http://packagist.org>`_.
.. code-block:: bash
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
Now you can test by simply using this command.
.. code-block:: bash
$ phpunit
Working examples
----------------
If you want to see this and other bundles in action, try out the `Sylius sandbox application <http://github.com/Sylius/Sylius-Sandbox>`_.
It's open sourced github project.
Bug tracking
------------
This bundle uses `GitHub issues <https://github.com/Sylius/SyliusInstallerBundle/issues>`_.
If you have found bug, please create an issue.

View file

@ -0,0 +1,159 @@
SyliusNewsletterBundle
======================
Highly flexible Newsletter engine.
Installation
------------
Installing dependencies
~~~~~~~~~~~~~~~~~~~~~~~
This bundle uses **Pagerfanta library** and **PagerfantaBundle**.
The installation guide can be found `here <https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle>`_.
Downloading the bundle
~~~~~~~~~~~~~~~~~~~~~~
The good practice is to download it to `vendor/bundles/Sylius/Bundle/NewsletterBundle`.
This can be done in several ways, depending on your preference.
The first method is the standard Symfony2 method.
Using the vendors script
************************
Add the following lines in your `deps` file. ::
[SyliusNewsletterBundle]
git=git://github.com/Sylius/SyliusNewsletterBundle.git
target=bundles/Sylius/Bundle/NewsletterBundle
Now, run the vendors script to download the bundle.
.. code-block:: bash
$ php bin/vendors install
Using submodules
****************
If you prefer instead to use git submodules, then run the following lines.
.. code-block:: bash
$ git submodule add git://github.com/Sylius/SyliusNewsletterBundle.git vendor/bundles/Sylius/Bundle/NewsletterBundle
$ git submodule update --init
Autoloader configuration
~~~~~~~~~~~~~~~~~~~~~~~~
Add the `Sylius\\Bundle` namespace to your autoloader.
.. code-block:: php
<?php
// app/autoload.php
$loader->registerNamespaces(array(
'Sylius\\Bundle' => __DIR__.'/../vendor/bundles'
));
Adding bundle to kernel
~~~~~~~~~~~~~~~~~~~~~~~
Finally, enable the bundle in the kernel...
.. code-block:: php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Sylius\Bundle\NewsletterBundle\SyliusNewsletterBundle(),
);
}
Importing routing configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Container configuration
~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Updating database schema
~~~~~~~~~~~~~~~~~~~~~~~~
The last thing you need to do is updating the database schema.
For "**ORM**" driver run the following command.
.. code-block:: bash
$ php app/console doctrine:schema:update --force
Usage guide
-----------
.. note::
This part is not written yet.
Configuration reference
-----------------------
.. note::
This part is not written yet.
Testing and continous integration
----------------------------------
.. image:: http://travis-ci.org/Sylius/SyliusNewsletterBundle.png
This bundle uses `travis-ci.org <http://travis-ci.org/Sylius/SyliusNewsletterBundle>`_ for CI.
Before running tests, load the dependencies using `Composer <http://packagist.org>`_.
.. code-block:: bash
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
Now you can test by simply using this command.
.. code-block:: bash
$ phpunit
Working examples
----------------
If you want to see this and other bundles in action, try out the `Sylius sandbox application <http://github.com/Sylius/Sylius-Sandbox>`_.
It's open sourced github project.
Dependencies
------------
This bundle uses the awesome `Pagerfanta library <https://github.com/whiteoctober/Pagerfanta>`_ and `Pagerfanta bundle <https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle>`_.
Bug tracking
------------
This bundle uses `GitHub issues <https://github.com/Sylius/SyliusNewsletterBundle/issues>`_.
If you have found bug, please create an issue.

View file

@ -0,0 +1,136 @@
SyliusPluginsBundle
======================
Highly flexible Plugins engine.
Installation
------------
Downloading the bundle
~~~~~~~~~~~~~~~~~~~~~~
The good practice is to download it to `vendor/bundles/Sylius/Bundle/PluginsBundle`.
This can be done in several ways, depending on your preference.
The first method is the standard Symfony2 method.
Using the vendors script
************************
Add the following lines in your `deps` file. ::
[SyliusPluginsBundle]
git=git://github.com/Sylius/SyliusPluginsBundle.git
target=bundles/Sylius/Bundle/PluginsBundle
Now, run the vendors script to download the bundle.
.. code-block:: bash
$ php bin/vendors install
Using submodules
****************
If you prefer instead to use git submodules, then run the following lines.
.. code-block:: bash
$ git submodule add git://github.com/Sylius/SyliusPluginsBundle.git vendor/bundles/Sylius/Bundle/PluginsBundle
$ git submodule update --init
Autoloader configuration
~~~~~~~~~~~~~~~~~~~~~~~~
Add the `Sylius\\Bundle` namespace to your autoloader.
.. code-block:: php
<?php
// app/autoload.php
$loader->registerNamespaces(array(
'Sylius\\Bundle' => __DIR__.'/../vendor/bundles'
));
Adding bundle to kernel
~~~~~~~~~~~~~~~~~~~~~~~
Finally, enable the bundle in the kernel...
.. code-block:: php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Sylius\Bundle\PluginsBundle\SyliusPluginsBundle(),
);
}
Importing routing configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Container configuration
~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Usage guide
-----------
.. note::
This part is not written yet.
Configuration reference
-----------------------
.. note::
This part is not written yet.
Testing and continous integration
----------------------------------
.. image:: http://travis-ci.org/Sylius/SyliusPluginsBundle.png
This bundle uses `travis-ci.org <http://travis-ci.org/Sylius/SyliusPluginsBundle>`_ for CI.
Before running tests, load the dependencies using `Composer <http://packagist.org>`_.
.. code-block:: bash
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
Now you can test by simply using this command.
.. code-block:: bash
$ phpunit
Working examples
----------------
If you want to see this and other bundles in action, try out the `Sylius sandbox application <http://github.com/Sylius/Sylius-Sandbox>`_.
It's open sourced github project.
Bug tracking
------------
This bundle uses `GitHub issues <https://github.com/Sylius/SyliusPluginsBundle/issues>`_.
If you have found bug, please create an issue.

View file

@ -0,0 +1,159 @@
SyliusSalesBundle
======================
Highly flexible Sales engine.
Installation
------------
Installing dependencies
~~~~~~~~~~~~~~~~~~~~~~~
This bundle uses **Pagerfanta library** and **PagerfantaBundle**.
The installation guide can be found `here <https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle>`_.
Downloading the bundle
~~~~~~~~~~~~~~~~~~~~~~
The good practice is to download it to `vendor/bundles/Sylius/Bundle/SalesBundle`.
This can be done in several ways, depending on your preference.
The first method is the standard Symfony2 method.
Using the vendors script
************************
Add the following lines in your `deps` file. ::
[SyliusSalesBundle]
git=git://github.com/Sylius/SyliusSalesBundle.git
target=bundles/Sylius/Bundle/SalesBundle
Now, run the vendors script to download the bundle.
.. code-block:: bash
$ php bin/vendors install
Using submodules
****************
If you prefer instead to use git submodules, then run the following lines.
.. code-block:: bash
$ git submodule add git://github.com/Sylius/SyliusSalesBundle.git vendor/bundles/Sylius/Bundle/SalesBundle
$ git submodule update --init
Autoloader configuration
~~~~~~~~~~~~~~~~~~~~~~~~
Add the `Sylius\\Bundle` namespace to your autoloader.
.. code-block:: php
<?php
// app/autoload.php
$loader->registerNamespaces(array(
'Sylius\\Bundle' => __DIR__.'/../vendor/bundles'
));
Adding bundle to kernel
~~~~~~~~~~~~~~~~~~~~~~~
Finally, enable the bundle in the kernel...
.. code-block:: php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Sylius\Bundle\SalesBundle\SyliusSalesBundle(),
);
}
Importing routing configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Container configuration
~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Updating database schema
~~~~~~~~~~~~~~~~~~~~~~~~
The last thing you need to do is updating the database schema.
For "**ORM**" driver run the following command.
.. code-block:: bash
$ php app/console doctrine:schema:update --force
Usage guide
-----------
.. note::
This part is not written yet.
Configuration reference
-----------------------
.. note::
This part is not written yet.
Testing and continous integration
----------------------------------
.. image:: http://travis-ci.org/Sylius/SyliusSalesBundle.png
This bundle uses `travis-ci.org <http://travis-ci.org/Sylius/SyliusSalesBundle>`_ for CI.
Before running tests, load the dependencies using `Composer <http://packagist.org>`_.
.. code-block:: bash
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
Now you can test by simply using this command.
.. code-block:: bash
$ phpunit
Working examples
----------------
If you want to see this and other bundles in action, try out the `Sylius sandbox application <http://github.com/Sylius/Sylius-Sandbox>`_.
It's open sourced github project.
Dependencies
------------
This bundle uses the awesome `Pagerfanta library <https://github.com/whiteoctober/Pagerfanta>`_ and `Pagerfanta bundle <https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle>`_.
Bug tracking
------------
This bundle uses `GitHub issues <https://github.com/Sylius/SyliusSalesBundle/issues>`_.
If you have found bug, please create an issue.

View file

@ -0,0 +1,136 @@
SyliusThemingBundle
======================
Highly flexible Theming engine.
Installation
------------
Downloading the bundle
~~~~~~~~~~~~~~~~~~~~~~
The good practice is to download it to `vendor/bundles/Sylius/Bundle/ThemingBundle`.
This can be done in several ways, depending on your preference.
The first method is the standard Symfony2 method.
Using the vendors script
************************
Add the following lines in your `deps` file. ::
[SyliusThemingBundle]
git=git://github.com/Sylius/SyliusThemingBundle.git
target=bundles/Sylius/Bundle/ThemingBundle
Now, run the vendors script to download the bundle.
.. code-block:: bash
$ php bin/vendors install
Using submodules
****************
If you prefer instead to use git submodules, then run the following lines.
.. code-block:: bash
$ git submodule add git://github.com/Sylius/SyliusThemingBundle.git vendor/bundles/Sylius/Bundle/ThemingBundle
$ git submodule update --init
Autoloader configuration
~~~~~~~~~~~~~~~~~~~~~~~~
Add the `Sylius\\Bundle` namespace to your autoloader.
.. code-block:: php
<?php
// app/autoload.php
$loader->registerNamespaces(array(
'Sylius\\Bundle' => __DIR__.'/../vendor/bundles'
));
Adding bundle to kernel
~~~~~~~~~~~~~~~~~~~~~~~
Finally, enable the bundle in the kernel...
.. code-block:: php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Sylius\Bundle\ThemingBundle\SyliusThemingBundle(),
);
}
Importing routing configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Container configuration
~~~~~~~~~~~~~~~~~~~~~~~
.. note::
This part is not written yet.
Usage guide
-----------
.. note::
This part is not written yet.
Configuration reference
-----------------------
.. note::
This part is not written yet.
Testing and continous integration
----------------------------------
.. image:: http://travis-ci.org/Sylius/SyliusThemingBundle.png
This bundle uses `travis-ci.org <http://travis-ci.org/Sylius/SyliusThemingBundle>`_ for CI.
Before running tests, load the dependencies using `Composer <http://packagist.org>`_.
.. code-block:: bash
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
Now you can test by simply using this command.
.. code-block:: bash
$ phpunit
Working examples
----------------
If you want to see this and other bundles in action, try out the `Sylius sandbox application <http://github.com/Sylius/Sylius-Sandbox>`_.
It's open sourced github project.
Bug tracking
------------
This bundle uses `GitHub issues <https://github.com/Sylius/SyliusThemingBundle/issues>`_.
If you have found bug, please create an issue.

View file

@ -10,6 +10,14 @@ Bundles reference
:maxdepth: 2
:numbered:
bundles/SyliusAssortmentBundle
bundles/SyliusCatalogBundle
bundles/SyliusAssortmentBundle
bundles/SyliusCartBundle
bundles/SyliusInstallerBundle
bundles/SyliusSalesBundle
bundles/SyliusThemingBundle
bundles/SyliusGuardBundle
bundles/SyliusNewsletterBundle
bundles/SyliusBloggerBundle
bundles/SyliusAddressingBundle