|
1 | 1 | # Password Toggle Bundle |
2 | 2 |
|
3 | | -[](https://github.com/nowo-tech/PasswordToggleBundle/actions/workflows/ci.yml) [](https://packagist.org/packages/nowo-tech/password-toggle-bundle) [](https://packagist.org/packages/nowo-tech/password-toggle-bundle) [](LICENSE) [](https://php.net) [](https://symfony.com) |
| 3 | +[](https://github.com/nowo-tech/PasswordToggleBundle/actions/workflows/ci.yml) [](https://packagist.org/packages/nowo-tech/password-toggle-bundle) [](https://packagist.org/packages/nowo-tech/password-toggle-bundle) [](LICENSE) [](https://php.net) [](https://symfony.com) |
4 | 4 |
|
5 | 5 | > ⭐ **Found this useful?** Give it a star on GitHub! It helps us maintain and improve the project. |
6 | 6 |
|
@@ -141,8 +141,8 @@ When `toggle` is `false`, the field renders as a standard password input without |
141 | 141 |
|
142 | 142 | ## Requirements |
143 | 143 |
|
144 | | -- PHP >= 8.1, < 8.6 |
145 | | -- Symfony >= 6.0 || >= 7.0 || >= 8.0 |
| 144 | +- PHP >= 8.2, < 8.6 |
| 145 | +- Symfony >= 7.0 || >= 8.0 |
146 | 146 | - **Symfony UX Icons** `^2.0 || ^3.0` and **symfony/http-client** (same Symfony major) — **required for the default Twig template** (`ux_icon()`). Listed as `composer suggest` on the bundle; Symfony Flex adds both via the recipe. Without Flex: |
147 | 147 |
|
148 | 148 | ```bash |
@@ -203,9 +203,8 @@ Example custom styles: |
203 | 203 |
|
204 | 204 | ## Demo Projects |
205 | 205 |
|
206 | | -The bundle includes four demo projects demonstrating usage with different Symfony and PHP versions: |
| 206 | +The bundle includes three demo projects demonstrating usage with different Symfony and PHP versions: |
207 | 207 |
|
208 | | -- **Symfony 6.4 Demo** (PHP 8.2) - Port 8001 (default, configurable via `.env`) |
209 | 208 | - **Symfony 7.0 Demo** (PHP 8.2) - Port 8001 (default, configurable via `.env`) |
210 | 209 | - **Symfony 8.0 Demo** (PHP 8.4) - Port 8001 (default, configurable via `.env`) |
211 | 210 | - **Symfony 8.0 Demo with PHP 8.5** - Port 8001 (default, configurable via `.env`) |
@@ -233,12 +232,10 @@ Or start any other demo: |
233 | 232 |
|
234 | 233 | ```bash |
235 | 234 | # Using specific commands |
236 | | -make up-symfony6 # Symfony 6.4 |
237 | 235 | make up-symfony8 # Symfony 8.0 |
238 | 236 | make up-symfony8-php85 # Symfony 8.0 with PHP 8.5 |
239 | 237 |
|
240 | 238 | # Or using generic commands with demo name |
241 | | -make up symfony6 # Symfony 6.4 |
242 | 239 | make up symfony8 # Symfony 8.0 |
243 | 240 | make up symfony8-php85 # Symfony 8.0 with PHP 8.5 |
244 | 241 | ``` |
@@ -315,10 +312,9 @@ composer cs-fix |
315 | 312 |
|
316 | 313 | The bundle uses GitHub Actions for continuous integration: |
317 | 314 |
|
318 | | -- **Tests**: Runs on PHP 8.1, 8.2, 8.3, 8.4, and 8.5 with Symfony 6.4, 7.0, and 8.0 |
319 | | - - PHP 8.1: Symfony 6.4 only (Symfony 7.0+ requires PHP 8.2+, Symfony 8.0 requires PHP 8.4+) |
320 | | - - PHP 8.2 and 8.3: Symfony 6.4 and 7.0 (Symfony 8.0 requires PHP 8.4+) |
321 | | - - PHP 8.4 and 8.5: All Symfony versions (6.4, 7.0, 8.0) |
| 315 | +- **Tests**: Runs on PHP 8.2, 8.3, 8.4, and 8.5 with Symfony 7.0, 7.4, 8.0, and 8.1 |
| 316 | + - PHP 8.2 and 8.3: Symfony 7.0 and 7.4 (Symfony 8.0+ requires PHP 8.4+) |
| 317 | + - PHP 8.4 and 8.5: All supported Symfony versions (7.0, 7.4, 8.0, 8.1) |
322 | 318 | - **Code Style**: Automatically fixes code style on push to main/master |
323 | 319 | - **Code Style Check**: Validates code style on pull requests |
324 | 320 | - **Coverage**: Validates ≥95% code coverage (see `MIN_COVERAGE` in CI) |
|
0 commit comments