wikimedia/cssjanus
Convert CSS stylesheets between left-to-right and right-to-left.
v2.3.1
1.6M downloads/mo
#2116 most downloaded on Packagist
wikimedia/php-cssjanus
What this package is like to depend on
Last release 26 days ago
28 Jul 2026
Ships fairly regularly
a new release about every 1.2 years
Nearly every release is documented
notes for 13 of 13 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
13 releases · first in 2014
1 release in the last 12 months
see the full history below
Release timeline
13 releases · Sep 2014 to Jul 2026Releases
latest 13-
v2.3.128 Jul 2026Release notes
Open source →- Port upstream changes v2.3.1:
- Fix unexpected flipping of percentages in functions in background shorthand (Aidan O'Brien). T333273
- Port upstream changes v2.3.1:
-
v2.3.006 Aug 2024Release notes
Open source →- Port upstream changes v2.3.0:
- Don't change
:dir()pseudo-selector target (Ebrahim Byagowi). T371466
- Don't change
- Port upstream changes v2.3.0:
-
v2.2.023 Jul 2024Release notes
Open source →- Port upstream changes v2.2.0:
- Flip
calc()in four value notation (Moh'd Khier Abualruz). T369553
- Flip
- Port upstream changes v2.2.0:
-
v2.1.108 Jan 2023 -
v2.1.009 Sep 2021Release notes
Open source →- Port upstream changes v2.1.0:
- Fix unexpected flipping in selectors with the general sibling combinator (Mainframe98). T400635).
- Port upstream changes v2.1.0:
-
v2.0.010 May 2021Release notes
Open source →- This release requires PHP 7.2 or higher.
- Port upstream changes v2.0.0:
- Fix unexpected flipping in certain cases involving double quotes or comments in selectors (YairRand). T400634
-
v1.3.010 May 2019Release notes
Open source →- This release requires PHP 5.6 or higher, tested up until PHP 7.3.
- Fix transformation breakage on PHP 7.0+ with PCRE 8.39+ (Brad Jorsch). T215746
- Port upstream changes v1.2.1...v1.3.2:
- Fix unintended flipping of selectors containing a backslash (YairRand).
- Fix bug where
transformdidn't flip on lines without semicolon (YairRand).
-
v1.2.116 Feb 2018 -
v1.2.014 Mar 2017Release notes
Open source →- This release requires PHP 5.4 or later.
- Add options parameter, boolean arguments remain supported (Timo Tijhof).
- Port upstream changes v1.2.0:
- Flip
translate(x[,y,z])andtranslateX(x)(Ed Sanders).
- Flip
-
v1.1.324 Dec 2016Release notes
Open source →- Port upstream changes v1.1.3:
- Do not flip offset-y in text-shadow, even when color isn't as first value (Ed Sanders).
- Port upstream changes v1.1.3:
-
v1.1.215 Jun 2015Release notes
Open source →- Port upstream changes v1.1.2:
- Support !important and slash in border-radius values (Dominik Schilling).
- Port upstream changes v1.1.2:
-
v1.1.114 Nov 2014Release notes
Open source →- Port upstream changes v1.1.1:
- Support !important in four-value declarations (Matthew Flaschen).
- Port upstream changes v1.1.1:
-
v1.1.025 Sep 2014Release notes
Open source →Starting with the v1.1.0 release, php-cssjanus is considered a port of node-cssjanus with a shared specification and shared semantic versioning to ensure feature parity.
- Support
/*!syntax for@noflip. - Flip
border-style. - Improve flipping of
background-position. - Restrict
four_notation_quantityto margin, padding and border-width. - Flip two values in
border-radiusrul, in addition to four values.
- Support