Skip to content

Commit ce7e955

Browse files
committed
chore: rename the package, and add support for symfony 7
Signed-off-by: azjezz <[email protected]>
1 parent 488e827 commit ce7e955

File tree

10 files changed

+993
-1897
lines changed

10 files changed

+993
-1897
lines changed

CODE_OF_CONDUCT.md

Lines changed: 107 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,75 +2,130 @@
22

33
## Our Pledge
44

5-
In the interest of fostering an open and welcoming environment, we as
6-
contributors and maintainers pledge to making participation in our project and
7-
our community a harassment-free experience for everyone, regardless of age, body
8-
size, disability, ethnicity, sex characteristics, gender identity and expression,
9-
level of experience, education, socio-economic status, nationality, personal
10-
appearance, race, religion, or sexual identity and orientation.
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, caste, color, religion, or sexual
10+
identity and orientation.
1111

12-
## Our Standards
13-
14-
Examples of behavior that contributes to creating a positive environment
15-
include:
16-
17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
2214

23-
Examples of unacceptable behavior by participants include:
15+
## Our Standards
2416

25-
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
- Focusing on what is best not just for us as individuals, but for the overall
26+
community
27+
28+
Examples of unacceptable behavior include:
29+
30+
- The use of sexualized language or imagery, and sexual attention or advances of
31+
any kind
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email address,
35+
without their explicit permission
36+
- Other conduct which could reasonably be considered inappropriate in a
3237
professional setting
3338

34-
## Our Responsibilities
39+
## Enforcement Responsibilities
3540

36-
Project maintainers are responsible for clarifying the standards of acceptable
37-
behavior and are expected to take appropriate and fair corrective action in
38-
response to any instances of unacceptable behavior.
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
3945

40-
Project maintainers have the right and responsibility to remove, edit, or
41-
reject comments, commits, code, wiki edits, issues, and other contributions
42-
that are not aligned to this Code of Conduct, or to ban temporarily or
43-
permanently any contributor for other behaviors that they deem inappropriate,
44-
threatening, offensive, or harmful.
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
4550

4651
## Scope
4752

48-
This Code of Conduct applies both within project spaces and in public spaces
49-
when an individual is representing the project or its community. Examples of
50-
representing a project or community include using an official project e-mail
51-
address, posting via an official social media account, or acting as an appointed
52-
representative at an online or offline event. Representation of a project may be
53-
further defined and clarified by project maintainers.
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official email address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
5458

5559
## Enforcement
5660

5761
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at [email protected]. All
59-
complaints will be reviewed and investigated and will result in a response that
60-
is deemed necessary and appropriate to the circumstances. The project team is
61-
obligated to maintain confidentiality with regard to the reporter of an incident.
62-
Further details of specific enforcement policies may be posted separately.
62+
reported to the community leaders responsible for enforcement at [[email protected]](mailto://[email protected]).
63+
All complaints will be reviewed and investigated promptly and fairly.
64+
65+
All community leaders are obligated to respect the privacy and security of the
66+
reporter of any incident.
67+
68+
## Enforcement Guidelines
69+
70+
Community leaders will follow these Community Impact Guidelines in determining
71+
the consequences for any action they deem in violation of this Code of Conduct:
72+
73+
### 1. Correction
74+
75+
**Community Impact**: Use of inappropriate language or other behavior deemed
76+
unprofessional or unwelcome in the community.
77+
78+
**Consequence**: A private, written warning from community leaders, providing
79+
clarity around the nature of the violation and an explanation of why the
80+
behavior was inappropriate. A public apology may be requested.
6381

64-
Project maintainers who do not follow or enforce the Code of Conduct in good
65-
faith may face temporary or permanent repercussions as determined by other
66-
members of the project's leadership.
82+
### 2. Warning
83+
84+
**Community Impact**: A violation through a single incident or series of
85+
actions.
86+
87+
**Consequence**: A warning with consequences for continued behavior. No
88+
interaction with the people involved, including unsolicited interaction with
89+
those enforcing the Code of Conduct, for a specified period of time. This
90+
includes avoiding interactions in community spaces as well as external channels
91+
like social media. Violating these terms may lead to a temporary or permanent
92+
ban.
93+
94+
### 3. Temporary Ban
95+
96+
**Community Impact**: A serious violation of community standards, including
97+
sustained inappropriate behavior.
98+
99+
**Consequence**: A temporary ban from any sort of interaction or public
100+
communication with the community for a specified period of time. No public or
101+
private interaction with the people involved, including unsolicited interaction
102+
with those enforcing the Code of Conduct, is allowed during this period.
103+
Violating these terms may lead to a permanent ban.
104+
105+
### 4. Permanent Ban
106+
107+
**Community Impact**: Demonstrating a pattern of violation of community
108+
standards, including sustained inappropriate behavior, harassment of an
109+
individual, or aggression toward or disparagement of classes of individuals.
110+
111+
**Consequence**: A permanent ban from any sort of public interaction within the
112+
community.
67113

68114
## Attribution
69115

70-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
116+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
117+
version 2.1, available at
118+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
119+
120+
Community Impact Guidelines were inspired by
121+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
72122

73-
[homepage]: [https://www.contributor-covenant.org](https://www.contributor-covenant.org)
123+
For answers to common questions about this code of conduct, see the FAQ at
124+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
125+
[https://www.contributor-covenant.org/translations][translations].
74126

75-
For answers to common questions about this code of conduct, see
76-
[https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq)
127+
[homepage]: https://www.contributor-covenant.org
128+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
129+
[Mozilla CoC]: https://github.com/mozilla/diversity
130+
[FAQ]: https://www.contributor-covenant.org/faq
131+
[translations]: https://www.contributor-covenant.org/translations

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023-present Saif Eddin Gmati <azjezz@protonmail.com>
3+
Copyright (c) 2023-present Seifeddine Gmati <azjezz@carthage.software>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Elissa Bundle - PSR-7 & PSR-15 Made Easy!
22

3-
Elissa Bundle by Carthage brings out-of-the-box PSR-7 and PSR-15 support to your Symfony project.
3+
Elissa Bundle by Carthage Software brings out-of-the-box PSR-7 and PSR-15 support to your Symfony project.
44

55
The package allows developers to write PSR-15 handlers and middleware, which are auto-tagged and ready to use as controllers.
66

@@ -11,7 +11,7 @@ It also provides ready access to all PSR-7 factories, and enables seamless integ
1111
Install the Elissa Bundle using Composer with the following command:
1212

1313
```bash
14-
composer require carthage/elissa-bundle
14+
composer require carthage-software/elissa-bundle
1515
```
1616

1717
## Enabling the Bundle 🎚
@@ -21,7 +21,7 @@ To enable the bundle in your Symfony project, add the following line in the `con
2121
```php
2222
return [
2323
//...
24-
Carthage\ElissaBundle\ElissaBundle::class => ['all' => true],
24+
CarthageSoftware\ElissaBundle\ElissaBundle::class => ['all' => true],
2525
//...
2626
];
2727
```

composer.json

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
11
{
2-
"name": "carthage/elissa-bundle",
2+
"name": "carthage-software/elissa-bundle",
33
"description": "Symfony bundle providing out-of-the-box support for PSR-7 and PSR-15.",
4+
"license": "MIT",
45
"type": "symfony-bundle",
6+
"authors": [
7+
{
8+
"name": "azjezz",
9+
"email": "[email protected]"
10+
}
11+
],
512
"require": {
6-
"php": "^8.1|^8.2",
7-
"symfony/http-kernel": "^6.0",
8-
"symfony/config": "^6.0",
9-
"symfony/dependency-injection": "^6.0",
10-
"symfony/psr-http-message-bridge": "^2.3",
11-
"laminas/laminas-diactoros": "^2.0|^3.0",
13+
"php": "^8.1",
14+
"laminas/laminas-diactoros": "^2.0 || ^3.0",
1215
"psr/http-factory": "^1.0",
1316
"psr/http-message": "^2.0",
1417
"psr/http-server-handler": "^1.0",
15-
"psr/http-server-middleware": "^1.0"
18+
"psr/http-server-middleware": "^1.0",
19+
"symfony/config": "^6.0 || ^7.0",
20+
"symfony/dependency-injection": "^6.0 || ^7.0",
21+
"symfony/http-kernel": "^6.0 || ^7.0",
22+
"symfony/psr-http-message-bridge": "^2.3"
1623
},
1724
"require-dev": {
18-
"friendsofphp/php-cs-fixer": "^3.22",
1925
"roave/security-advisories": "dev-latest"
2026
},
21-
"license": "MIT",
27+
"minimum-stability": "stable",
2228
"autoload": {
2329
"psr-4": {
24-
"Carthage\\ElissaBundle\\": "src/"
30+
"CarthageSoftware\\ElissaBundle\\": "src/"
2531
}
26-
},
27-
"authors": [
28-
{
29-
"name": "azjezz",
30-
"email": "[email protected]"
31-
}
32-
],
33-
"minimum-stability": "stable"
32+
}
3433
}

0 commit comments

Comments
 (0)