Skip to content

Commit aa49117

Browse files
committed
Merge branch 'master' into feature/op-291-code-style
2 parents 2808fdf + bf96258 commit aa49117

File tree

3 files changed

+166
-74
lines changed

3 files changed

+166
-74
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: Coding standard
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- 'dependabot/**'
7+
pull_request: ~
8+
release:
9+
types: [ created ]
10+
workflow_dispatch: ~
11+
12+
jobs:
13+
tests:
14+
runs-on: ubuntu-latest
15+
16+
name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}"
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
php: [ "8.1", "8.2", "8.3" ]
22+
symfony: [ "^5.4", "^6.4" ]
23+
sylius: [ "^1.12", "^1.13" ]
24+
node: [ "18.x", "20.x" ]
25+
26+
steps:
27+
- uses: actions/checkout@v3
28+
29+
- name: Setup PHP
30+
uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: "${{ matrix.php }}"
33+
extensions: intl
34+
tools: symfony
35+
coverage: none
36+
37+
- name: Get Composer cache directory
38+
id: composer-cache
39+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
40+
41+
- name: Cache Composer
42+
uses: actions/cache@v4
43+
with:
44+
path: ${{ steps.composer-cache.outputs.dir }}
45+
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json', '**/composer.lock') }}
46+
restore-keys: |
47+
${{ runner.os }}-php-${{ matrix.php }}-composer-
48+
49+
- name: Restrict Symfony version
50+
if: matrix.symfony != ''
51+
run: |
52+
composer global config --no-plugins allow-plugins.symfony/flex true
53+
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10"
54+
composer config extra.symfony.require "${{ matrix.symfony }}"
55+
56+
- name: Restrict Sylius version
57+
if: matrix.sylius != ''
58+
run: composer require "sylius/sylius:${{ matrix.sylius }}" --no-update --no-scripts --no-interaction
59+
60+
- name: Install PHP dependencies
61+
run: composer install --no-interaction
62+
env:
63+
SYMFONY_REQUIRE: ${{ matrix.symfony }}
64+
65+
- name: Run PHPStan
66+
run: vendor/bin/phpstan analyse -c phpstan.neon -l 8 src/
67+
68+
- name: Run ECS
69+
run: vendor/bin/ecs
70+
71+
- name: Failed build Slack notification
72+
uses: rtCamp/action-slack-notify@v2
73+
if: ${{ failure() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') }}
74+
env:
75+
SLACK_CHANNEL: ${{ secrets.FAILED_BUILD_SLACK_CHANNEL }}
76+
SLACK_COLOR: ${{ job.status }}
77+
SLACK_ICON: https://github.com/rtCamp.png?size=48
78+
SLACK_MESSAGE: ':x:'
79+
SLACK_TITLE: Failed build on ${{ github.event.repository.name }} repository
80+
SLACK_USERNAME: ${{ secrets.FAILED_BUILD_SLACK_USERNAME }}
81+
SLACK_WEBHOOK: ${{ secrets.FAILED_BUILD_SLACK_WEBHOOK }}

README.md

Lines changed: 82 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -16,125 +16,133 @@
1616
<img align="left" src="https://sylius.com/assets/badge-approved-by-sylius.png" width="85">
1717
</p>
1818

19-
At BitBag we do believe in open source. However, we are able to do it just because of our awesome clients, who are kind enough to share some parts of our work with the community. Therefore, if you feel like there is a possibility for us to work together, feel free to reach out. You will find out more about our professional services, technologies, and contact details at [https://bitbag.io/](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_wishlist).
19+
We want to impact many unique eCommerce projects and build our brand recognition worldwide, so we are heavily involved in creating open-source solutions, especially for Sylius. We have already created over **35 extensions, which have been downloaded almost 2 million times.**
2020

21-
Like what we do? Want to join us? Check out our job listings on our [career page](https://bitbag.io/career/?utm_source=github&utm_medium=referral&utm_campaign=career). Not familiar with Symfony & Sylius yet, but still want to start with us? Join our [academy](https://bitbag.io/pl/akademia?utm_source=github&utm_medium=url&utm_campaign=akademia)!
21+
You can find more information about our eCommerce services and technologies on our website: https://bitbag.io/. We have also created a **unique service dedicated to creating plugins:** https://bitbag.io/services/sylius-plugin-development.
2222

23-
## Table of Content
24-
25-
***
26-
27-
* [Overview](#overview)
28-
* [Support](#we-are-here-to-help)
29-
* [About us](#about-us)
30-
* [Community](#community)
31-
* [Demo](#demo-sylius-shop)
32-
* [License](#license)
33-
* [Contact](#contact)
23+
Do you like our work? Would you like to join us? Check out the **“Career” tab**: https://bitbag.io/pl/kariera.
3424

35-
# Overview
25+
# About Us
3626

37-
----
38-
This plugin allows you to integrate wishlist features with Sylius platform app.
27+
BitBag is a software house that implements tailor-made eCommerce platforms with the entire infrastructure—from creating eCommerce platforms to implementing PIM and CMS systems to developing custom eCommerce applications, specialist B2B solutions, and migrations from other platforms.
3928

40-
- [Installation](./doc/01-installation.md)
41-
- [Usage](./doc/02-usage.md)
42-
- [Customization](./doc/03-customization.md)
43-
- [Development](./doc/04-development.md)
44-
- [Testing](./doc/05-testing.md)
45-
- [Functionalities](https://github.com/BitBagCommerce/SyliusWishlistPlugin/blob/master/doc/functionalities.md)
29+
We actively participate in Sylius's development. We have already completed **over 150 projects**, cooperating with clients from all over the world, including smaller enterprises and large international companies. We have completed projects for such important brands as **Mytheresa, Foodspring, Planeta Huerto (Carrefour Group), Albeco, Mollie, and ArtNight.**
4630

47-
## We are here to help
48-
This **open-source plugin was developed to help the Sylius community**. If you have any additional questions, would like help with installing or configuring the plugin, or need any assistance with your Sylius project - let us know!
31+
We have a 70-person team of experts: business analysts and eCommerce consultants, developers, project managers, and QA testers.
4932

50-
[![](https://bitbag.io/wp-content/uploads/2020/10/button-contact.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_wishlist)
33+
**Our services:**
34+
* B2B and B2C eCommerce platform implementations
35+
* Multi-vendor marketplace platform implementations
36+
* eCommerce migrations
37+
* Sylius plugin development
38+
* Sylius consulting
39+
* Project maintenance and long-term support
40+
* PIM and CMS implementations
5141

42+
**Some numbers from BitBag regarding Sylius:**
43+
* 70 experts on board
44+
* +150 projects delivered on top of Sylius,
45+
* 30 countries of BitBag’s customers,
46+
* 7 years in the Sylius ecosystem.
47+
* +35 plugins created for Sylius
5248

53-
# About us
49+
---
50+
[![](https://bitbag.io/wp-content/uploads/2024/09/badges-sylius.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_wishlist)
5451

5552
---
5653

57-
BitBag is a company of people who **love what they do** and do it right. We fulfill the eCommerce technology stack with **Sylius**, Shopware, Akeneo, and Pimcore for PIM, eZ Platform for CMS, and VueStorefront for PWA. Our goal is to provide real digital transformation with an agile solution that scales with the **clients’ needs**. Our main area of expertise includes eCommerce consulting and development for B2C, B2B, and Multi-vendor Marketplaces.</br>
58-
We are advisers in the first place. We start each project with a diagnosis of problems, and an analysis of the needs and **goals** that the client wants to achieve.</br>
59-
We build **unforgettable**, consistent digital customer journeys on top of the **best technologies**. Based on a detailed analysis of the goals and needs of a given organization, we create dedicated systems and applications that let businesses grow.<br>
60-
Our team is fluent in **Polish, English, German and, French**. That is why our cooperation with clients from all over the world is smooth.
6154

62-
**Some numbers from BitBag regarding Sylius:**
63-
- 50+ **experts** including consultants, UI/UX designers, Sylius trained front-end and back-end developers,
64-
- 120+ projects **delivered** on top of Sylius,
65-
- 25+ **countries** of BitBag’s customers,
66-
- 4+ **years** in the Sylius ecosystem.
6755

68-
**Our services:**
69-
- Business audit/Consulting in the field of **strategy** development,
70-
- Data/shop **migration**,
71-
- Headless **eCommerce**,
72-
- Personalized **software** development,
73-
- **Project** maintenance and long term support,
74-
- Technical **support**.
75-
76-
**Key clients:** Mollie, Guave, P24, Folkstar, i-LUNCH, Elvi Project, WestCoast Gifts.
56+
## Table of Content
7757

78-
---
58+
* [Overview](#overview)
59+
* [Installation](#installation)
60+
* [Customization](#customization)
61+
* [Development](#development)
62+
* [Testing](#testing)
63+
* [Usage](#usage)
64+
* [Functionalities](#functionalities)
65+
* [Demo](#demo)
66+
* [License](#license)
67+
* [Contact and Support](#contact-and-support)
68+
* [Community](#community)
7969

80-
If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on [this site](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_wishlist) or send us an e-mail at [email protected]!
70+
# Overview
71+
----
72+
The Wishlist Plugin is meticulously designed to seamlessly integrate wishlist features with any Sylius platform app, allowing users to curate and manage a list of their desired products effortlessly. This plugin serves as a functional enhancement to the Sylius ecosystem, ensuring users can smoothly browse, save, and revisit their preferred items without hassle.
8173

82-
---
74+
# Installation
75+
----
76+
The SyliusWishlistPlugin **installation process** can be found [here](./doc/01-installation.md).
8377

84-
[![](https://bitbag.io/wp-content/uploads/2021/08/sylius-badges-transparent-wide.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_wishlist)
78+
## Customization
79+
----
80+
The SyliusWishlistPlugin **customization process** can be found [here](./doc/03-customization.md).
8581

86-
## Community
82+
## Development
83+
----
84+
The SyliusWishlistPlugin **development process** can be found [here](./doc/04-development.md).
8785

86+
## Testing
8887
----
88+
The SyliusWishlistPlugin **testing process** can be found [here](./doc/05-testing.md).
8989

90-
For online communication, we invite you to chat with us & other users on [Sylius Slack](https://sylius-devs.slack.com/).
90+
## Usage
91+
----
92+
The SyliusWishlistPlugin **usage** can be found [here](./doc/02-usage.md).
9193

92-
# Demo Sylius Shop
94+
# Functionalities
95+
----
96+
All main functionalities of the plugin are described [here](https://github.com/BitBagCommerce/SyliusWishlistPlugin/blob/master/doc/functionalities.md).
9397

98+
# Demo
9499
---
95-
96-
We created a demo app with some useful use-cases of plugins!
97-
Visit [sylius-demo.bitbag.io](https://sylius-demo.bitbag.io/) to take a look at it. The admin can be accessed under
98-
[sylius-demo.bitbag.io/admin/login](https://sylius-demo.bitbag.io/admin/login) link and `bitbag: bitbag` credentials.
99-
Plugins that we have used in the demo:
100-
101-
| BitBag's Plugin | GitHub | Sylius' Store|
102-
| ------ | ------ | ------|
103-
| ACL Plugin | *Private. Available after the purchasing.*| https://plugins.sylius.com/plugin/access-control-layer-plugin/|
104-
| Braintree Plugin | https://github.com/BitBagCommerce/SyliusBraintreePlugin |https://plugins.sylius.com/plugin/braintree-plugin/|
105-
| CMS Plugin | https://github.com/BitBagCommerce/SyliusCmsPlugin | https://plugins.sylius.com/plugin/cmsplugin/|
106-
| Elasticsearch Plugin | https://github.com/BitBagCommerce/SyliusElasticsearchPlugin | https://plugins.sylius.com/plugin/2004/|
107-
| Mailchimp Plugin | https://github.com/BitBagCommerce/SyliusMailChimpPlugin | https://plugins.sylius.com/plugin/mailchimp/ |
108-
| Multisafepay Plugin | https://github.com/BitBagCommerce/SyliusMultiSafepayPlugin |
109-
| Wishlist Plugin | https://github.com/BitBagCommerce/SyliusWishlistPlugin | https://plugins.sylius.com/plugin/wishlist-plugin/|
110-
| **Sylius' Plugin** | **GitHub** | **Sylius' Store** |
111-
| Admin Order Creation Plugin | https://github.com/Sylius/AdminOrderCreationPlugin | https://plugins.sylius.com/plugin/admin-order-creation-plugin/ |
112-
| Invoicing Plugin | https://github.com/Sylius/InvoicingPlugin | https://plugins.sylius.com/plugin/invoicing-plugin/ |
113-
| Refund Plugin | https://github.com/Sylius/RefundPlugin | https://plugins.sylius.com/plugin/refund-plugin/ |
100+
We created a demo app with some useful use-cases of plugins! Visit http://demo.sylius.com/ to take a look at it.
114101

115102
**If you need an overview of Sylius' capabilities, schedule a consultation with our expert.**
116103

117104
[![](https://bitbag.io/wp-content/uploads/2020/10/button_free_consulatation-1.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_wishlist)
118105

119-
## Additional resources for developers
106+
107+
# Additional resources for developers
120108

121109
---
122110
To learn more about our contribution workflow and more, we encourage you to use the following resources:
123111
* [Sylius Documentation](https://docs.sylius.com/en/latest/)
124112
* [Sylius Contribution Guide](https://docs.sylius.com/en/latest/contributing/)
125113
* [Sylius Online Course](https://sylius.com/online-course/)
114+
* [Sylius Wishlist Plugin Blog](https://bitbag.io/blog/sylius-wishlist-plugin)
126115

127-
## License
116+
---
117+
118+
If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on [this site](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_wishlist) or send us an e-mail at [email protected]!
119+
120+
---
121+
122+
# Community
123+
124+
----
125+
126+
For online communication, we invite you to chat with us & other users on [Sylius Slack](https://sylius-devs.slack.com/).
127+
128+
# License
128129

129130
---
130131

131132
This plugin's source code is completely free and released under the terms of the MIT license.
132133

133134
[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen.)
134135

135-
## Contact
136+
# Contact and Support
136137

137138
---
138139
If you want to contact us, the best way is to fill the form on [our website](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_wishlist) or send us an e-mail to [email protected] with your question(s). We guarantee that we answer as soon as we can!
139140

140-
[![](https://bitbag.io/wp-content/uploads/2021/08/badges-bitbag.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_wishlist)
141+
142+
# Community
143+
144+
----
145+
146+
For online communication, we invite you to chat with us & other users on [Sylius Slack](https://sylius-devs.slack.com/).
147+
148+
[![](https://bitbag.io/wp-content/uploads/2024/09/badges-partners.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_wishlist)

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
"lchrusciel/api-test-case": "^4.1 || ^5.0",
3838
"nelmio/alice": "^3.10"
3939
},
40+
"conflict": {
41+
"symfony/validator": "^6.4.7"
42+
},
4043
"prefer-stable": true,
4144
"autoload": {
4245
"psr-4": {

0 commit comments

Comments
 (0)