Commit Graph

1794 Commits

Author SHA1 Message Date
Younes ENNAJI 9239063159 Simplify PHPDoc comments in Stamp classes and PhpStorm meta files
Removes verbose documentation and comments from:
- Stamp classes (PriorityStamp, HopsStamp, DelayStamp, etc.)
- .phpstorm.meta.php files (Prime, Noty, Notyf, SweetAlert, Toastr)
- Factory and EventDispatcher classes
2026-01-16 00:23:16 +01:00
Younes ENNAJI 2e61a0539f Simplify PHPDoc comments in core Prime classes
Removes verbose documentation while preserving type annotations
for array parameters and PHPStan type definitions.
2026-01-16 00:20:39 +01:00
Younes ENNAJI 548044bd7f Simplify PHPDoc comments in Notification builder classes
Removes verbose documentation while preserving type annotations
for array parameters.
2026-01-16 00:17:52 +01:00
Younes ENNAJI 3f920f2c01 Simplify PHPDoc comments in Plugin, HTTP, Stamp, and Test constraint classes
Removes verbose documentation while preserving type annotations.
2026-01-16 00:07:42 +01:00
Younes ENNAJI 65e9125539 Simplify PHPDoc comments in helper functions and translation files
This commit simplifies PHPDoc comments in helper functions and Laravel
translation files by removing verbose documentation and keeping only
essential type annotations.

Changes include:
- Removed "Design pattern" mentions and example usage blocks
- Kept all @param and @phpstan-return type annotations
- Added missing @return annotations for PHPStan

Files modified:
- src/Prime/functions.php - Namespaced helper function
- src/Prime/helpers.php - Global helper function
- src/Laravel/Translation/lang/*/messages.php - 8 translation files (ar, de, en, es, fr, pt, ru, zh)
- src/Prime/Http/RequestInterface.php - Added @return annotation
- src/Prime/Http/ResponseInterface.php - Added @param annotation
- src/Prime/Notification/NotificationBuilderInterface.php - Added @param annotation

All changes pass PHPStan analysis and tests.
2026-01-15 23:48:33 +01:00
Younes ENNAJI a0873c0082 Simplify PHPDoc comments in Prime interfaces and traits
This commit simplifies PHPDoc comments across 26 files in the src/Prime/
directory by removing verbose documentation and keeping only essential type
annotations.

Changes include:
- Removed "Design pattern" mentions and redundant explanations
- Kept all @param and @return type annotations for PHPStan
- Maintained @phpstan-* annotations for type safety

Files modified:
- Exception classes (4 files)
- Http interfaces (5 files)
- Notification builders and interfaces (3 files)
- Plugin, Response, Storage, Template, Translation, and Test interfaces (14 files)

All changes pass PHPStan analysis and tests.
2026-01-15 23:40:19 +01:00
Younes ENNAJI 1c5b533126 Refactors Toastr implementation as a plugin 2026-01-15 23:26:32 +01:00
Younes ENNAJI f78824b8d9 Downgrades dependencies for broader compatibility 2026-01-15 23:15:58 +01:00
Younes ENNAJI e212c0157e Simplify PHPDoc comments in SweetAlert integration
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 23:12:29 +01:00
Younes ENNAJI fcf5c63f58 Improves documentation with parameter types 2026-01-15 22:56:11 +01:00
Younes ENNAJI ea164fde17 Simplify PHPDoc comments in Notyf integration
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 22:51:25 +01:00
Younes ENNAJI 611fda9c61 Simplify PHPDoc comments in Noty integration
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 22:35:01 +01:00
Younes ENNAJI 21348f384d Simplify PHPDoc comments in Laravel and Symfony integrations
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 22:22:20 +01:00
Younes ENNAJI 8f594698c7 Simplify PHPDoc comments in Prime classes
Remove verbose documentation pattern references and redundant
explanations, keeping only essential type annotations.
2026-01-15 21:21:11 +01:00
Younes ENNAJI d65300a0e9 Fix PHPStan errors and test failures, improve PHPDoc documentation ordering 2026-01-10 04:36:16 +01:00
Younes ENNAJI a002590d56 Fix incorrect examples in src/Prime/README.md
- Replace non-existent static Flasher:: calls with flash() helper function
2026-01-10 04:21:03 +01:00
Younes ENNAJI 5a4d46b46b Fix incorrect code examples in Prime adapter READMEs
- Replace non-existent static method calls with correct helper functions
- Update examples to use sweetalert(), notyf(), noty(), toastr() helpers
- Pass options as arrays instead of invalid fluent chaining
2026-01-10 04:19:17 +01:00
Younes ENNAJI 0232edc9bd Adds documentation files and improves package READMEs 2026-01-10 03:54:56 +01:00
Younes ENNAJI 1c5fbbba9a Refactors and improves documentation clarity 2026-01-10 02:16:28 +01:00
Younes ENNAJI 15da40c582 Updates flasher dependencies to version 2.4.0 2025-12-31 11:43:34 +01:00
Younes ENNAJI 8c77e96eb6 Upgrade yoeunes/regex-parser to v1.0 2025-12-31 11:38:59 +01:00
Younes ENNAJI 91ab4fa0f4 Updates Flasher dependencies to version 2.3.0
Updates all flasher dependencies in composer.json files and the main Flasher version constant to the new version 2.3.0.

This ensures that all packages are using the latest compatible version of Flasher.
v2.3.0
2025-12-09 11:23:28 +01:00
Younes ENNAJI b08117853a Merge pull request #295 from php-flasher/regex-parser
Adds regex-parser library
2025-12-09 11:22:15 +01:00
Younes ENNAJI 2417333107 Adds regex-parser library
Adds the `yoeunes/regex-parser` library as a dependency.

This library will be used for advanced regular expression
validation and analysis within the application.

Also updates the .gitignore to ignore vendor directories
within the `src` directory, and adds `composer.lock` to it.
2025-12-09 11:20:01 +01:00
Younes ENNAJI 358ad11c4d Updates flasher dependencies to v2.2.2
Bumps all flasher dependencies to the latest version 2.2.2.

This ensures all packages are aligned with the latest features and bug fixes.
2025-12-08 12:53:33 +01:00
Younes ENNAJI a7823205ce chore: Bump @flasher package versions to 2.2.1 2025-11-10 17:00:32 +01:00
Younes ENNAJI 50d6acfa94 Merge pull request #294 from php-flasher/dev
add support for Symfony v8.0
2025-11-10 15:47:02 +01:00
Younes ENNAJI dd3c9f74f0 add support for Symfony v8.0
Bumps the php-flasher dependencies in composer.json and package.json files
to version 2.2.1 across all relevant packages.

This ensures the project utilizes the latest features,
bug fixes, and improvements available in the php-flasher library.
2025-11-10 15:43:32 +01:00
Younes ENNAJI fac5ca638a Merge pull request #293 from php-flasher/dev
dev
2025-11-10 15:42:44 +01:00
Younes ENNAJI 09199d8b56 Makes notification library default optional
Makes the 'default' option for the notification library optional.

This allows the system to function without a default library being explicitly set, providing more flexibility in configurations.
2025-11-10 15:41:13 +01:00
Younes ENNAJI d9c65d274b Enhances test workflow for dev Symfony versions
Updates the test workflow to correctly handle "-dev" Symfony versions.

Sets the composer minimum-stability to "dev" and prefers stable dependencies
when testing against development versions of Symfony. This ensures that the
latest dependencies are used during testing of development versions and also
runs update with --prefer-lowest only when not on a dev branch.
2025-11-10 15:38:04 +01:00
Younes ENNAJI bde270a483 Adds new test configurations
Introduces new test configurations for Symfony 8.0 with PHP 8.4 and Symfony 7.4 with PHP 8.2, ensuring broader compatibility and comprehensive testing coverage.
2025-11-10 15:35:22 +01:00
Younes ENNAJI c454fbc768 Updates flasher library dependencies.
Updates composer.lock and package-lock.json files to include latest versions of dependencies.
This change ensures compatibility with the latest features and security patches.
It also synchronizes front-end and back-end dependencies.
2025-11-10 15:32:54 +01:00
Younes ENNAJI 17a0e756d9 Updates devDependencies
Increases the versions of various development dependencies.

This change ensures the project benefits from the latest
features, bug fixes, and performance improvements offered by
these tools.
2025-11-10 15:32:45 +01:00
Younes ENNAJI 5ee7d58d7c Updates test matrix for PHP and Symfony
Updates the test matrix in the workflow configuration.

Adds PHP 8.5 support and adjusts Symfony versions to 7.3.
Also includes Laravel 12 support with corresponding PHP versions.
2025-11-10 15:32:31 +01:00
Younes ENNAJI e0b93784bd Allows Symfony 8 compatibility
Updates Symfony dependencies to allow compatibility
with version 8.

This ensures the application can be upgraded to
the latest Symfony version without breaking changes.
2025-11-10 15:32:24 +01:00
Younes ENNAJI 18663b3214 Updates Flasher to v2.2.0
Updates the flasher dependencies in composer.json files and package.json files to version 2.2.0.

Updates the Flasher version constant in the Prime Flasher class.
v2.2.0
2025-11-10 15:20:21 +01:00
Younes ENNAJI 7cf3de856e Merge pull request #286 from php-flasher/dev
add phpflasher configuration article
2025-03-30 07:41:23 +00:00
Younes ENNAJI e0cbc53c76 add phpflasher configuration article 2025-03-30 07:39:24 +00:00
Younes ENNAJI b5bf2325be Merge pull request #285 from php-flasher/dev
add common phpflasher implementation mistakes blog post
2025-03-30 07:18:22 +00:00
Younes ENNAJI e3158290f3 add common phpflasher implementation mistakes blog post 2025-03-30 07:15:03 +00:00
Younes ENNAJI 4070978256 Merge pull request #284 from php-flasher/dev
add blog section
2025-03-30 06:42:07 +00:00
Younes ENNAJI d96a953488 update blog icon 2025-03-30 06:39:58 +00:00
Younes ENNAJI ea8391eb6b update laravel first blog article 2025-03-30 06:03:55 +00:00
Younes ENNAJI 3fc0d83dd6 improve laravel first blog article 2025-03-30 05:22:04 +00:00
Younes ENNAJI 1cb12c819b add blog articles 2025-03-30 04:10:13 +00:00
Younes ENNAJI f9d79f4589 Merge pull request #283 from php-flasher/dev
update themes documentataion
2025-03-30 03:11:35 +00:00
Younes ENNAJI a3ce6a5262 update themes documentataion 2025-03-30 02:56:43 +00:00
Younes ENNAJI ff2cc1dc65 Merge pull request #282 from php-flasher/dev
update docs home page
2025-03-30 02:33:13 +00:00
Younes ENNAJI 2cef5b98b2 fix phpstan errors 2025-03-30 02:27:41 +00:00