Compare commits

..

1359 Commits

Author SHA1 Message Date
Younes ENNAJI 7d338eb831 chore: update the bin/split script 2024-10-27 15:42:06 +01:00
Younes ENNAJI c06624768d chore: bump flasher dependency to v1.15.14 2024-03-16 15:25:14 +00:00
Younes ENNAJI 8106db5ed6 fix: laravel flasher install command namespace typo 2024-03-16 15:24:33 +00:00
Younes ENNAJI 7fbcc2b0a6 chore: bump flasher dependency to v1.15.13 2024-03-16 15:16:31 +00:00
Younes ENNAJI 176d88511e fix: laravel 11 installation 2024-03-16 15:15:18 +00:00
Younes ENNAJI 8b29c02151 chore: bump flasher dependency to v1.15.12 2024-03-14 00:15:01 +00:00
Younes ENNAJI ceab28a79c chore: format GitHub test workflow 2024-03-07 09:22:37 +01:00
Younes ENNAJI d2bf8dcfb4 Merge pull request #172 from php-flasher/laravel-11
chore: add Laravel 11 support
2024-03-07 02:17:27 +01:00
Younes ENNAJI f946a907be chore: add Laravel 11 support 2024-03-07 02:15:58 +01:00
Younes ENNAJI 72cf218a2e Merge pull request #171 from robiinho/main
Update config.yaml  # after a line blocked the flasher.yaml to be parsed by symfony7
2024-02-29 13:42:47 +01:00
robiinho 26f0e7c487 Update config.yaml , # after a line blocked the flasher.yaml to be parsed by symfony7
Cause trouble in symfony7 where flasher.yaml wasn't interpreted due to the # comment after limit: 5
2024-02-29 11:31:13 +00:00
Younes ENNAJI f5233d34bc chore: bump flasher interdepency to v1.15.9 2024-01-21 18:30:21 +01:00
Younes ENNAJI 89b072a442 Merge pull request #169 from php-flasher/issue-toastr-42
fix: Preserve original response content when injecting Flasher assets
2024-01-21 18:28:07 +01:00
Younes ENNAJI d3f81d51cf fix: Preserve original response content when injecting Flasher assets 2024-01-21 18:26:32 +01:00
Younes ENNAJI b0239e679c chore: bump flasher interdepency to v1.15.8 2023-12-16 18:16:08 +01:00
Younes ENNAJI 7a891ade1a Merge pull request #168 from php-flasher/issue-161
feat(livewire): Remove .fl-no-cache elements before caching snapshot
2023-12-16 18:13:28 +01:00
Younes ENNAJI 117b4815c7 chore: use php v5.3 syntax 2023-12-16 18:11:36 +01:00
Younes ENNAJI c2a013d1e9 chore: fix unit tests 2023-12-16 18:07:27 +01:00
Younes ENNAJI 39201b888f chore: bump flasher assets to v1.3.2 2023-12-16 17:58:59 +01:00
Younes ENNAJI a9e4c6aead feat(livewire): Remove .fl-no-cache elements before caching snapshot 2023-12-16 17:54:05 +01:00
Younes ENNAJI 153cb40ad0 Merge pull request #166 from php-flasher/issue-161
fix: append dispatches and not override them
2023-12-12 00:17:17 +01:00
Younes ENNAJI 411ada6d3b fix: append dispatches and not override them 2023-12-12 00:15:40 +01:00
Younes ENNAJI 8dc1c39727 Merge pull request #165 from php-flasher/issue-157
fix(symfony): allow symfony to use session even if it's not started yet
2023-12-10 01:20:06 +01:00
Younes ENNAJI 25ebe37eeb fix(symfony): check if the request if stateless 2023-12-10 01:17:56 +01:00
Younes ENNAJI b69dc4e834 fix(symfony): allow symfony to use session even if it's not started yet 2023-12-10 00:57:57 +01:00
Younes ENNAJI f8e0445b0d chore: bump flasher interdepency to v1.15.5 2023-12-09 21:04:59 +01:00
Younes ENNAJI 342e920b8e Merge pull request #164 from php-flasher/feat/livewire-3
feat(laravel): add livewire v3 support
2023-12-09 21:03:37 +01:00
Younes ENNAJI 643eb47afd feat(laravel): add livewire v3 support 2023-12-09 21:01:54 +01:00
Younes ENNAJI 2e24ecddd4 chore: upgrade split script 2023-12-09 19:19:21 +01:00
Younes ENNAJI 2112110f77 Merge pull request #163 from php-flasher/feat/symfony-70
chore(symfony): add symfony v7.0 support
2023-12-09 18:33:25 +01:00
Younes ENNAJI 91bfffac85 chore(ci): upgrade to actions/checkout@v4 and actions/cache@v3 2023-12-09 18:31:39 +01:00
Younes ENNAJI 353f8f3875 chore(ci): upgrade to actions/checkout@v4 and actions/cache@v3 2023-12-09 18:29:54 +01:00
Younes ENNAJI 908a98ee08 chore(ci): update github actions to test on specific symfony v7.0 install method 2023-12-09 18:25:30 +01:00
Younes ENNAJI 08157f6b00 chore(ci): change bridge condition 2023-12-06 19:40:08 +01:00
Younes ENNAJI 402642377d chore(symfony): add symfony v7.0 types 2023-12-06 19:35:27 +01:00
Younes ENNAJI 5dc49598e0 chore(ci): test symfony v7.0 with phpunit 10.5 2023-12-06 19:08:32 +01:00
Younes ENNAJI 2c6027650f chore(ci): require symfony/twig-bundle 2023-12-06 19:04:34 +01:00
Younes ENNAJI 8a8dcb5ff2 chore(ci): require symfony/framework bundle 2023-12-06 19:01:49 +01:00
Younes ENNAJI 24494c7b76 chore(ci): require symfony standalone packages instead symfony/symfony 2023-12-06 18:56:30 +01:00
Younes ENNAJI 434def4433 chore: bump flasher interdepency to v1.15.4 2023-12-06 18:51:47 +01:00
Younes ENNAJI fe7af7ffcb chore(symfony): add symfony v7.0 support 2023-12-06 18:47:23 +01:00
Younes KHOUBZA cc7ea4c93d Merge pull request #153 from php-flasher/chore/v1.15.3
chore: bump flasher interdepency to v1.15.3
2023-06-19 09:31:09 +02:00
Khoubza Younes 72fadf4e9b chore: bump flasher interdepency to v1.15.3 2023-06-19 08:29:13 +01:00
Younes KHOUBZA fa7ee6c575 Merge pull request #152 from php-flasher/fix/config-cache
chore: bump flasher interdepency to v1.15.2
2023-06-19 09:28:13 +02:00
Khoubza Younes 97cc8b9639 chore: bump flasher interdepency to v1.15.2 2023-06-19 08:26:33 +01:00
Khoubza Younes 99e204fcbb fix: laravel config:cache Undefined array key cdn 2023-06-19 08:24:07 +01:00
Khoubza Younes fd147fd7de add ImJustToNy to code contributors 2023-06-06 23:39:10 +01:00
Younes KHOUBZA be14bb96b4 Merge pull request #148 from ImJustToNy/patch-1
Fix: </head> tag being removed
2023-06-07 00:32:21 +02:00
Antoni Siek 32460e451a fix: </head> tag being removed 2023-06-06 23:25:47 +01:00
Antoni Siek b37fe49e4c Update ResponseExtension.php 2023-06-06 19:08:41 +02:00
Younes KHOUBZA d4b4af89b7 Merge pull request #147 from php-flasher/fix/flasher-styles
fix: loading flasher styles correctly
2023-06-06 12:28:07 +02:00
Khoubza Younes eb0244ae37 fix: loading flasher styles correctly 2023-06-06 11:26:33 +01:00
Younes KHOUBZA f2b426c669 Merge pull request #146 from php-flasher/feat/assets-top
feat: set flasher scripts and styles on top level config
2023-06-06 02:40:45 +02:00
Khoubza Younes 4d62fa3548 feat: set flasher scripts and styles on top level config 2023-06-06 01:36:57 +01:00
Younes KHOUBZA 185e0ffd54 Merge pull request #145 from php-flasher/stateless-routes
fix: fallback to array storage if session is not started
2023-06-04 22:19:17 +02:00
Khoubza Younes 269e0ab73e fix: fallback to array storage if session is not started 2023-06-04 21:16:15 +01:00
Younes KHOUBZA c0fbf53777 Merge pull request #144 from php-flasher/configure-session-services
fix: use array bag when session is disabled
2023-06-04 03:41:41 +02:00
Khoubza Younes e90e2c9445 fix: use array bag when session is disabled 2023-06-04 02:11:12 +01:00
Younes KHOUBZA 9524e40ae6 Merge pull request #137 from php-flasher/test/filter-criteria
test: add criteria builder tests
2023-02-05 19:48:01 +01:00
Khoubza Younes 8ca1c6fd8e test: add criteria builder tests 2023-02-05 18:52:19 +01:00
Younes KHOUBZA 6ac210d129 Merge pull request #136 from php-flasher/test/response
test: add more responses tests
2023-02-05 18:13:45 +01:00
Khoubza Younes 3d82aff3dc test: fix tests 2023-02-05 18:11:04 +01:00
Khoubza Younes 590d39b37f test: fix response envelopes order 2023-02-05 17:41:22 +01:00
Khoubza Younes 5f27d239ad test: fix array_merge parameters order 2023-02-05 17:24:51 +01:00
Khoubza Younes 781e045155 test: add resource manager tests 2023-02-05 17:22:42 +01:00
Khoubza Younes 2faedb15c9 test: add response manager tests 2023-02-05 17:22:24 +01:00
Khoubza Younes e084ac1102 test: add response class tests 2023-02-05 17:22:00 +01:00
Khoubza Younes fab8a9ecb6 test: test html renderer it retruen only envelopes as json object 2023-02-05 12:41:59 +01:00
Younes KHOUBZA 48607bc58d Merge pull request #135 from php-flasher/test/response-presenters
test response presenters
2023-02-01 23:53:36 +01:00
Khoubza Younes ffb839e8e1 test: add html presenter tests 2023-02-01 23:51:31 +01:00
Khoubza Younes 10d647199b test: add array presenter tests 2023-02-01 23:51:31 +01:00
Younes KHOUBZA 409ac70e2a Merge pull request #134 from php-flasher/test/storage-manager
Test/storage manager
2023-02-01 23:07:07 +01:00
Khoubza Younes 0579964afc style: update notification factory base phpunit class 2023-02-01 23:03:47 +01:00
Khoubza Younes 9f426f0b8c test: add storage manager tests 2023-02-01 23:03:12 +01:00
Khoubza Younes ccbeb568c4 test: add Language helper tests 2023-02-01 23:03:00 +01:00
Khoubza Younes afd5fc33e4 test: add echo translator tests 2023-02-01 23:02:43 +01:00
Younes KHOUBZA b2a6571f8c Merge pull request #133 from php-flasher/test/storagebag
Test/storagebag
2023-02-01 00:25:31 +01:00
Khoubza Younes a7420e15aa test: add storage bag tests 2023-02-01 00:20:22 +01:00
Khoubza Younes 9b8e3ffa01 test: add StaticBag tests 2023-02-01 00:20:22 +01:00
Khoubza Younes 6c2baa8d01 test: add ArrayBag tests 2023-02-01 00:20:22 +01:00
Younes KHOUBZA 0db8811db8 Merge pull request #132 from php-flasher/test/envelope
test: add more envelope tests
2023-02-01 00:20:14 +01:00
Khoubza Younes 17112a0bd0 test: add more envelope tests 2023-01-31 23:07:21 +01:00
Younes KHOUBZA 35f6353d9d Merge pull request #131 from php-flasher/test/event_listener
test: add event listener tests
2023-01-31 22:48:00 +01:00
Khoubza Younes 238eb063a4 test: add testDynamicCallToNotificationBuilder test 2023-01-31 22:46:21 +01:00
Khoubza Younes 7097a59cad test: add TranslationListener tests 2023-01-31 22:41:39 +01:00
Khoubza Younes 426bc17001 test: add StampsListener tests 2023-01-31 22:21:20 +01:00
Khoubza Younes 1007c8536c test: add RemoveListener tests 2023-01-31 22:16:47 +01:00
Khoubza Younes 5f51aef458 test: add PresetListener tests 2023-01-31 22:16:33 +01:00
Khoubza Younes 4fcf78fbda test: add AddToStorageListener tests 2023-01-31 22:16:14 +01:00
Younes KHOUBZA d0b75996dc Merge pull request #130 from php-flasher/style/psalm
style: add psalm
2023-01-31 02:06:15 +01:00
Khoubza Younes 55919df70d style: add psalm 2023-01-31 02:04:29 +01:00
Younes KHOUBZA 1fd079e49d Merge pull request #129 from php-flasher/test/events
test: add events tests
2023-01-31 01:52:20 +01:00
Khoubza Younes 5bb9ac2fc7 test: add events tests 2023-01-31 01:48:30 +01:00
Younes KHOUBZA fc8ff924d8 Merge pull request #128 from php-flasher/test/stamps
test: add stamps tests
2023-01-31 01:06:01 +01:00
Khoubza Younes 02733b0d92 test: add stamps tests 2023-01-31 01:02:50 +01:00
Younes KHOUBZA 42c267aa53 Merge pull request #127 from php-flasher/test/notification
test: add notification tests
2023-01-31 01:02:42 +01:00
Khoubza Younes 6b2066854f test: add notification tests 2023-01-31 00:24:10 +01:00
Younes KHOUBZA 6310c521ea Merge pull request #126 from php-flasher/test/envelope
test: add more envelope tests
2023-01-30 23:54:26 +01:00
Khoubza Younes d13e299022 test: add more envelope tests 2023-01-30 23:52:40 +01:00
Younes KHOUBZA 67883323fb Merge pull request #125 from php-flasher/test/add-notification-builder-tests
test: add notification builder tests
2023-01-30 01:32:14 +01:00
Khoubza Younes a83aec01fe test: add notification builder tests 2023-01-30 01:29:35 +01:00
Younes KHOUBZA 1f3a1e136f Merge pull request #124 from php-flasher/chore/tests
add more unit tests
2023-01-23 01:18:35 +01:00
Khoubza Younes 48177d6a9c test: rename getMock() to mock() 2023-01-23 00:20:15 +01:00
Khoubza Younes 366787eb80 test: add FlasherContainer tests 2023-01-22 21:49:31 +01:00
Khoubza Younes df7c886abd style: update grumphp config 2023-01-22 21:49:13 +01:00
Khoubza Younes d9ddb381ed test: add FlasherPlugin tests 2023-01-22 21:48:20 +01:00
Khoubza Younes af79946599 test: update config tests 2023-01-22 21:43:42 +01:00
Khoubza Younes a5292eae45 chore: add setProperty, getProperty, invokeMethod and getMock helper methods 2023-01-22 21:42:29 +01:00
Khoubza Younes 3dfe475282 chore: update test coverage settings 2023-01-22 21:40:49 +01:00
Younes KHOUBZA 1d0afe0e78 Merge pull request #123 from php-flasher/feat/validate-commit-messages
style: use commitizen for conventional commit messages
2023-01-22 02:44:44 +01:00
Khoubza Younes c916496ebc style: use commitizen for conventional commit messages 2023-01-22 02:42:12 +01:00
Younes KHOUBZA 53265d69a4 Merge pull request #122 from php-flasher/feat/validate-commit-messages
style: update contributors file commit convention from atom to angular
2023-01-22 00:42:21 +01:00
Khoubza Younes dcef8c3543 style: update contributors file commit convention from atom to angular 2023-01-21 23:09:09 +01:00
Younes KHOUBZA 0c58e0dd9e Merge pull request #121 from php-flasher/feat/validate-commit-messages
style: validate commit messages
2023-01-21 23:06:02 +01:00
Khoubza Younes fd8fe09577 style: validate commit messages 2023-01-21 23:03:19 +01:00
Younes KHOUBZA 01bcdda4d3 Merge pull request #120 from php-flasher/feat/composer-scripts
feat: replace maker with composer script
2023-01-21 21:27:23 +01:00
Khoubza Younes 3baa546c8a feat: replace maker with composer script
feat: replace maker with composer script
2023-01-21 21:21:41 +01:00
Younes KHOUBZA 0969a6cf95 Merge pull request #119 from php-flasher/feat/grumpphp
add GrumPHP
2023-01-21 20:52:05 +01:00
Khoubza Younes 66f85dc944 add GrumPHP 2023-01-21 20:48:51 +01:00
Younes KHOUBZA 096a5ec2b3 Merge pull request #118 from php-flasher/feat/all-contributors
Feat/all contributors
2023-01-21 16:19:30 +01:00
Khoubza Younes a22df9eb10 feat: update all README.md files 2023-01-21 16:16:28 +01:00
Khoubza Younes 6523f639fb feat: maintain contributors using all contributors specification 2023-01-21 16:15:46 +01:00
Younes KHOUBZA 59e60c1ed8 Merge pull request #117 from php-flasher/fix/symfony-dependencies
move twig and translator to composer suggest section
2023-01-21 14:27:07 +01:00
Khoubza Younes 2838e42832 move twig and translator to composer suggest section 2023-01-21 14:25:13 +01:00
Younes KHOUBZA d8b02440b6 Merge pull request #116 from php-flasher/feat/add-symfony-tests
feat: symplify symfony tests
2023-01-17 03:52:03 +01:00
Khoubza Younes 469e826007 feat: symplify symfony tests
wip

wip
2023-01-17 03:48:41 +01:00
Khoubza Younes ca9a653cfa bump phpflasher dependencies to v1.13 2023-01-15 23:30:32 +01:00
Younes KHOUBZA 5814b53085 Merge pull request #115 from php-flasher/feat/publish-resources
feat: add command to publish PHPFlasher resources
2023-01-15 23:26:47 +01:00
Khoubza Younes fb75a4f2bd fix: symfony configuration 2023-01-15 23:24:30 +01:00
Khoubza Younes 8c23cf9108 feat: add command to publish PHPFlasher resources 2023-01-15 22:21:36 +01:00
Khoubza Younes 2d5e683237 add auto_closer.yaml file 2023-01-15 16:34:34 +01:00
Younes KHOUBZA 774402cc3e Merge pull request #114 from php-flasher/feat/composer
update composer files
2023-01-15 16:17:56 +01:00
Khoubza Younes 8aee5cec8f update composer files 2023-01-15 16:15:56 +01:00
Younes KHOUBZA 19a5de983d Merge pull request #113 from php-flasher/feat/simplyfi-flasher-config-options
move flasher options to config top level
2023-01-15 14:00:42 +01:00
Khoubza Younes 2cc2fa469d move flasher options to config top level 2023-01-15 13:57:01 +01:00
Khoubza Younes 7ccaa28451 update composer files description 2023-01-14 20:30:56 +01:00
Younes KHOUBZA 916b7dde4d Merge pull request #112 from php-flasher/format
update phpstorm autocomplete files
2023-01-14 20:22:13 +01:00
Khoubza Younes 391bd816c9 update toastr phpstorm autocomplete files 2023-01-14 20:18:35 +01:00
Khoubza Younes 5a01973d28 remove packs auto_closer github workflows 2023-01-14 20:16:06 +01:00
Khoubza Younes 545a475b53 normalize packs composer files 2023-01-14 20:15:50 +01:00
Khoubza Younes 056b4cc27a update phpstorm autocomplete files 2023-01-14 20:15:27 +01:00
Khoubza Younes 4b165869d5 format Ash Allen book and blog section 2023-01-13 16:40:46 +01:00
Khoubza Younes 97d1f512ca add Ash Allen blog 2023-01-13 16:39:19 +01:00
Khoubza Younes 7eae96549b add Lucas Maciel to the list of contributors 2023-01-13 14:50:51 +01:00
Khoubza Younes 9ad5d33af0 add Mr. Nashwan youtube channel and Ash Allen Battle Ready Laravel book 2023-01-13 14:31:32 +01:00
Younes KHOUBZA 79a1c63965 Merge pull request #111 from php-flasher/feat/github-health-files
update GitHub Community Health Files
2023-01-13 06:10:36 +01:00
Khoubza Younes 2a4918f4c1 update GitHub Community Health Files 2023-01-13 06:06:50 +01:00
Younes KHOUBZA a33e564da1 Merge pull request #110 from php-flasher/feat/deprecations
Add notification builder methods deprecations
2023-01-11 22:13:43 +01:00
Khoubza Younes 71d0d29796 update github workflows 2023-01-11 19:16:11 +01:00
Khoubza Younes e8b1428f19 update github workflows 2023-01-11 18:02:54 +01:00
Khoubza Younes 53821a3560 add preset(), operation(), created(), updated(), saved() and deleted() methods deprecations 2023-01-11 15:35:03 +01:00
Khoubza Younes b370c898b9 add push() method and depracate flash() method 2023-01-11 15:21:30 +01:00
Khoubza Younes ec3305e75c add success(), error(), info() and warning() methods deprecations 2023-01-11 15:15:19 +01:00
Khoubza Younes 5d40ac008d use a simple README.md on all repositories 2023-01-11 04:53:34 +01:00
Khoubza Younes b8c5e6f13f update composer.json keywords 2023-01-11 04:44:50 +01:00
Khoubza Younes 3f4b51889c bump phpflasher dependencies to v1.12 2023-01-10 12:33:34 +01:00
Younes KHOUBZA ffc685ff1d Merge pull request #109 from php-flasher/feat/add-laravel-10-support
add Laravel 10 support
2023-01-10 10:22:56 +01:00
Khoubza Younes d9f578416c add Laravel 10 support 2023-01-10 10:13:52 +01:00
Younes KHOUBZA 4b833522f1 Merge pull request #108 from php-flasher/feat/add-builder-methods
Toastr and Sweetalert builder methods
2023-01-09 00:41:56 +01:00
KHOUBZA Younes b880f62284 feat: bump phpflasher dependencies to v1.11 2023-01-09 00:34:01 +01:00
KHOUBZA Younes 4c31e36fe9 sweetalert: add animation and persistent builder methods 2023-01-09 00:31:04 +01:00
KHOUBZA Younes 0949ec15dd toastr: show close button when calling closeClass method 2023-01-09 00:30:23 +01:00
Younes KHOUBZA b03d3f2364 Merge pull request #105 from php-flasher/feat/symplify-monorepo-builder
feat: use symplify/monorepo-builder
2023-01-07 04:33:54 +01:00
Khoubza Younes 17a81d3012 feat: use symplify/monorepo-builder 2023-01-07 04:26:37 +01:00
Younes KHOUBZA a565446aa4 Merge pull request #107 from php-flasher/fix/pest-tests
fix laravel container class
2023-01-05 17:08:37 +01:00
Khoubza Younes ddb1100eb5 fix laravel container class 2023-01-05 16:54:46 +01:00
Younes KHOUBZA fb214b1372 Merge pull request #104 from php-flasher/chore/split-script
chore: refactor bin/split script
2022-12-30 20:01:30 +01:00
KHOUBZA Younes 9c7077d6ab chore: refactor bin/split script 2022-12-30 18:37:07 +01:00
Younes KHOUBZA 6f16aaa7fb Merge pull request #103 from php-flasher/fix/update-laravel-config
add more description to laravel config file
2022-12-30 13:04:41 +01:00
Khoubza Younes 22e664f416 add more description to laravel config file 2022-12-30 12:58:54 +01:00
Khoubza Younes d88536be0b fix: show PHPFlasher ascii in blue color 2022-12-27 05:58:09 +01:00
Khoubza Younes 9df86f43f7 fix: git remote already exists 2022-12-27 02:05:24 +01:00
Khoubza Younes 9ffca7fcc1 fix: git remote already exists 2022-12-27 02:01:46 +01:00
Khoubza Younes c2c6d5464e fix: composer typo in bin/build file 2022-12-27 01:53:52 +01:00
Younes KHOUBZA 113895cca7 Merge pull request #102 from php-flasher/feat/ascii-art
Add PHPFlasher ascii art to laravel and symfony install commands
2022-12-27 01:51:55 +01:00
Khoubza Younes caa1c24487 fix: test selectAssets() method return 2022-12-27 01:42:21 +01:00
Khoubza Younes 4464af6a23 fix: make flasher.notify service public 2022-12-27 01:41:34 +01:00
Khoubza Younes 2350bd8e92 add PHPFlasher asci art to laravel and symfony install commands 2022-12-27 01:41:11 +01:00
Younes Khoubza 3ef933384b Merge pull request #101 from php-flasher/feat/github-actions-os
feat: test github actions on multiple windows and ubuntu
2022-12-26 13:06:20 +01:00
Khoubza Younes dcec9cef39 fix: add fileinfo extension to github action 2022-12-26 13:00:58 +01:00
Khoubza Younes 72dcf69f46 feat: test github actions on multiple windows and ubuntu 2022-12-26 12:54:00 +01:00
Younes Khoubza 7bb256bfd3 Merge pull request #100 from php-flasher/fix/helpers
fix: rename all helper files to helpers.php
2022-12-26 12:24:46 +01:00
Khoubza Younes 398de5d74e fix: rename all helper files to helpers.php 2022-12-26 12:22:42 +01:00
Khoubza Younes e18507241d feat: bump phpflasher dependencies to v1.10 2022-12-25 23:21:10 +01:00
Younes Khoubza 5e5c62e9f9 Merge pull request #98 from php-flasher/feat/global-helpers
feat: use global helpers for Laravel and Symfony
2022-12-25 23:15:16 +01:00
Khoubza Younes 46d14b8bc8 feat: auto inject flasher with flasher aware interface 2022-12-25 23:10:39 +01:00
Khoubza Younes 5892518868 feat: use global helpers for Laravel and Symfony 2022-12-25 22:39:57 +01:00
Khoubza Younes 6f30808c4f fix: add more entries to FUNDING.yml 2022-12-25 20:25:25 +01:00
Khoubza Younes 2b50c47235 feat: Bump @flasher js assets from v1.2.3 to v1.2.4 2022-12-25 16:47:11 +01:00
Younes Khoubza 5d61ed90b9 Merge pull request #97 from php-flasher/feat/vendor-assets
Publish Laravel and Symfony assets to public directory
2022-12-24 16:46:22 +01:00
Khoubza Younes 1b302cfc0b composer config --no-plugins allow-plugins.kylekatarnls/update-helper true 2022-12-24 16:44:36 +01:00
Khoubza Younes 3688f157cd fix: remove ergebnis/composer-normalize from composer.json before running github actions 2022-12-24 16:42:24 +01:00
Khoubza Younes 17ea7a008a fix: rename bin/normalize to bin/build 2022-12-24 16:40:11 +01:00
Khoubza Younes 207795e0e9 fix: normalize composer.json files 2022-12-24 16:36:11 +01:00
Khoubza Younes ca30ca32ce fix: remove public/flasher.js file from flasher symfony 2022-12-24 16:18:14 +01:00
Khoubza Younes 460d92f0a6 feat: bump phpflasher dependencies to v1.9 2022-12-24 16:16:50 +01:00
Khoubza Younes f637a7fa49 feat: publish assets and use them locally 2022-12-24 16:09:14 +01:00
Khoubza Younes adf39cd915 feat: normalize composer.json files 2022-12-09 06:21:57 +01:00
Younes Khoubza 428e16e900 Merge pull request #96 from php-flasher/fix/php-cs-fixer
fix: update php-cs-fixer rules
2022-12-07 23:12:24 +01:00
Khoubza Younes 89d656a5dc fix: update php-cs-fixer rules 2022-12-07 23:10:03 +01:00
Younes Khoubza 19c09ee857 Merge pull request #95 from php-flasher/fix/livewire-sweetalert
fix: sweetalert custom event
2022-12-07 23:00:25 +01:00
Khoubza Younes 2aa9f7ca73 fix: sweetalert custom event 2022-12-07 22:57:14 +01:00
Younes Khoubza 4a7e84676f Merge pull request #87 from php-flasher/feat/php-8.2-support
add PHP 8.2 supports
2022-11-30 21:34:03 +01:00
Younes Khoubza ac4b24c052 Merge branch 'main' into feat/php-8.2-support 2022-11-30 21:24:50 +01:00
Younes Khoubza 7a549fe830 Merge pull request #94 from php-flasher/feat/symfony-6-support
feat: upgrade dependencies and test symfony 6.2 support
2022-11-30 21:24:06 +01:00
KHOUBZA Younes 8eb49c5d23 feat: upgrade dependencies and test symfony 6.2 support 2022-11-30 21:18:15 +01:00
KHOUBZA Younes 3c68fd5b01 fix: bump phpflasher dependencies to v1.8 2022-11-21 21:31:08 +01:00
KHOUBZA Younes 8029e611d2 feat: add PHP 8.2 supports 2022-11-20 19:55:47 +01:00
Younes Khoubza e5ab8085da Merge pull request #93 from php-flasher/feat/hotwired-turbo-support
Add hotwired turbo support
2022-11-20 19:36:03 +01:00
KHOUBZA Younes 172488662d feat: Bump @flasher js assets from v1.1.1 to v1.2.3 2022-11-20 19:31:59 +01:00
KHOUBZA Younes fa142897fd feat: add hotwire/turbo support 2022-11-20 18:39:04 +01:00
KHOUBZA Younes d71f24861e update README 2022-11-06 12:33:41 +01:00
Younes Khoubza 3b4ee6dce0 Merge pull request #90 from php-flasher/feat/update-logo
update README
2022-10-31 11:00:45 +01:00
KHOUBZA Younes 0343fede47 update Prime README 2022-10-31 11:00:06 +01:00
KHOUBZA Younes 4393673c04 update Laravel README 2022-10-30 17:53:01 +01:00
KHOUBZA Younes 4005654efa update README 2022-10-30 13:00:06 +01:00
KHOUBZA Younes e8b384f911 use PHPFlasher instead of PHP Flasher 2022-10-29 18:51:51 +01:00
KHOUBZA Younes 316d8e3f0d update README 2022-10-27 14:28:05 +01:00
KHOUBZA Younes e24f64a808 update README 2022-10-27 14:25:09 +01:00
KHOUBZA Younes 62debc22ba update main README 2022-10-25 13:29:54 +01:00
KHOUBZA Younes 7d47fef0c0 update laravel and php packs readme 2022-09-25 17:40:54 +01:00
KHOUBZA Younes e57143582b update symfony pack readme 2022-09-25 17:40:20 +01:00
KHOUBZA Younes ea2df71fd1 update github sponsor button 2022-07-31 16:13:01 +01:00
Younes Khoubza 193f2c73b7 Merge pull request #83 from php-flasher/fix/composer-plugins-ci
allow composer plugins in CI
2022-07-06 09:20:47 +01:00
KHOUBZA Younes 208660c3a9 allow composer plugins in CI 2022-07-06 09:18:11 +01:00
Younes Khoubza 1edaabbc1d Merge pull request #82 from php-flasher/feat/bump-js-assets
Bump @flasher js assets from v1.1.0 to v1.1.1
2022-07-05 20:57:34 +01:00
KHOUBZA Younes 6b9c2e861b update github action workflow files 2022-07-05 20:55:55 +01:00
KHOUBZA Younes 86bb91368a Bump php-flasher from v1.6 to v1.7 2022-07-05 20:36:36 +01:00
KHOUBZA Younes 62f5ea8e57 Bump @flasher js assets from v1.1.0 to v1.1.1 2022-07-05 20:33:26 +01:00
Younes Khoubza b4e2f1b023 Merge pull request #81 from php-flasher/feat/laravel-symfony-readme
update Laravel and Symfony github readme
2022-07-05 20:29:46 +01:00
KHOUBZA Younes a23024013b update Laravel and Symfony github readme 2022-07-05 20:29:20 +01:00
Younes Khoubza d73b36cddf Merge pull request #80 from php-flasher/add-deprecations
Deprecate Blade directive and component and twig extension
2022-07-03 12:30:52 +01:00
KHOUBZA Younes 8e5ced4d76 fix Directive names must only contain alphanumeric characters and underscores. 2022-07-03 12:25:21 +01:00
KHOUBZA Younes babb9120f7 Run php-cs-fixer 2022-07-03 12:20:44 +01:00
KHOUBZA Younes f7b91f4985 add Symfony search_criteria configuration key 2022-07-03 12:18:18 +01:00
KHOUBZA Younes c5d8679993 Fix phpstan errors 2022-07-03 12:11:06 +01:00
KHOUBZA Younes 29c32a6e7f update unit tests 2022-07-03 12:10:11 +01:00
KHOUBZA Younes 496727e2bf add global configuration search criteria 2022-07-03 12:09:02 +01:00
KHOUBZA Younes ed17eff0b3 update symfony service configuration 2022-07-03 12:08:40 +01:00
KHOUBZA Younes 74d1e53e28 deprecate laravel flasher component 2022-07-03 12:07:56 +01:00
KHOUBZA Younes c7e2f857c4 update laravel service provider 2022-07-03 12:07:42 +01:00
KHOUBZA Younes 27ea53174f add ConfigType phpstan type to configInterface instead of config class 2022-07-03 12:07:14 +01:00
KHOUBZA Younes a67836b40d refactor response extension 2022-07-03 12:06:36 +01:00
KHOUBZA Younes 16b630d3c8 RequestExtension role is to only store message and not display them 2022-07-03 12:06:12 +01:00
KHOUBZA Younes 669e609ffe deprecate Flasher Twig extension 2022-07-03 12:04:48 +01:00
KHOUBZA Younes 8912555ae4 move CODE_OF_CONDUTCT.md to .github folder 2022-07-03 12:03:10 +01:00
KHOUBZA Younes fd855cae70 remove dependabot.yaml file 2022-07-03 12:02:38 +01:00
Younes Khoubza 7745af8703 Merge pull request #72 from php-flasher/feat/valid-html-response
Only inject flasher scripts on valid html response
2022-06-17 02:50:55 +01:00
KHOUBZA Younes 59a508bb24 remove new lines from flasher scripts 2022-06-17 02:48:40 +01:00
KHOUBZA Younes 5a61f95e76 prefer injecting flasher scripts in head tag 2022-06-17 02:43:23 +01:00
KHOUBZA Younes 567186f769 update inject flash scripts conditions 2022-06-17 02:42:48 +01:00
KHOUBZA Younes 1dd22a4adb add isHtml and isAttachment methods to response interface 2022-06-17 02:41:51 +01:00
KHOUBZA Younes 183a1739da add isHtmlRequestFormat method to request interface 2022-06-17 02:41:20 +01:00
KHOUBZA Younes cd664abc63 Bump @flasher js assets from v1.0.18 to v1.1.0 2022-06-12 15:00:21 +01:00
Younes Khoubza c8978a9a38 Merge pull request #71 from php-flasher/fix/handler-null
fix: handler null after variable collision
2022-06-12 12:35:01 +01:00
KHOUBZA Younes c803cb54b1 fix: handler theme options 2022-06-12 12:33:18 +01:00
KHOUBZA Younes 5498964348 fix: handler null after variable collision 2022-06-12 12:32:54 +01:00
KHOUBZA Younes 7a0c5ea93f Bump php-flasher packages from v1.5 to v1.6 2022-06-11 14:46:17 +01:00
Younes Khoubza 0af0108cb0 Merge pull request #70 from php-flasher/feat/http-extensions
Add Flasher http extensions
2022-06-11 14:42:30 +01:00
KHOUBZA Younes 98975b1504 register http extensions in symfony service container 2022-06-11 14:39:28 +01:00
KHOUBZA Younes 6eff3ad8a9 use response extension in symfony flasher listener 2022-06-11 14:39:10 +01:00
KHOUBZA Younes 90583b65e6 use request extension in symfony session listener 2022-06-11 14:38:48 +01:00
KHOUBZA Younes bca04569ea register http extension in laravel service provider 2022-06-11 14:38:28 +01:00
KHOUBZA Younes abd4b8058c use response extension in laravel flasher middleware 2022-06-11 14:38:00 +01:00
KHOUBZA Younes 0467ebb4e7 use request extension in laravel session middleware 2022-06-11 14:37:42 +01:00
KHOUBZA Younes f35af36a86 add auto_render to symfony configuration 2022-06-11 14:37:16 +01:00
KHOUBZA Younes 7cfd1bd737 add auto_render to laravel configuration 2022-06-11 14:37:00 +01:00
KHOUBZA Younes 33bedfb325 add request extension class 2022-06-11 14:36:22 +01:00
KHOUBZA Younes a209cf68b2 add response extension class 2022-06-11 14:36:10 +01:00
KHOUBZA Younes ee489b1cec add symfony http response 2022-06-11 14:35:20 +01:00
KHOUBZA Younes 13247d93c4 add laravel http response 2022-06-11 14:35:08 +01:00
KHOUBZA Younes 398ef1ac12 add http response interface 2022-06-11 14:34:56 +01:00
KHOUBZA Younes 326186f3dc add symfony http request 2022-06-11 14:34:36 +01:00
KHOUBZA Younes ef8d355077 add laravel http request 2022-06-11 14:34:22 +01:00
KHOUBZA Younes 67c44149a9 add http request interface 2022-06-11 14:33:58 +01:00
Younes Khoubza 2356e8c9ce Merge pull request #69 from php-flasher/fix-middleware-redirect
Fix middleware redirect
2022-06-09 01:52:03 +01:00
KHOUBZA Younes de4a06d0e4 symfony : if the response is redirection dont append flasher data to it 2022-06-09 01:49:38 +01:00
KHOUBZA Younes cedcb2e171 laravel : if the response is redirection dont append flasher data to it 2022-06-09 01:49:28 +01:00
Younes Khoubza 173c5eeb5e Merge pull request #67 from php-flasher/flasher-js-v1.0.18
Bump @flasher js assets from v1.0.17 to v1.0.18
2022-06-08 00:01:24 +01:00
KHOUBZA Younes 0b342cb035 Bump @flasher js assets from v1.0.17 to v1.0.18 2022-06-07 23:58:35 +01:00
KHOUBZA Younes 3f5a250aef Bump php-flasher packages from v1.4 to v1.5 2022-06-06 10:50:13 +01:00
Younes Khoubza 56929778ff Merge pull request #66 from php-flasher/preset-crud
Add crud presets and their translations
2022-06-06 10:48:16 +01:00
KHOUBZA Younes d07c5238a8 translate flasher resources 2022-06-06 10:43:05 +01:00
KHOUBZA Younes 3947c2c33a fix deleted typo 2022-06-06 10:16:52 +01:00
KHOUBZA Younes 755952b1f9 add presets shortcut methods with flash action 2022-06-06 10:15:17 +01:00
KHOUBZA Younes 0c872ff03a fix symfony prefixed params 2022-06-06 10:04:47 +01:00
KHOUBZA Younes a22fa69858 move preset default config to normalizeConfig method 2022-06-06 10:03:09 +01:00
KHOUBZA Younes bf66c4857e fix default preset message 2022-06-06 09:29:49 +01:00
KHOUBZA Younes 4ae46d030c update default preset messages 2022-06-06 09:29:31 +01:00
KHOUBZA Younes 74a7f95f11 update arabic translations 2022-06-06 09:23:11 +01:00
KHOUBZA Younes 291343b6f5 add deleted shortcut method to notification builder 2022-06-06 09:17:36 +01:00
KHOUBZA Younes 41c0805810 add saved shortcut method to notification builder 2022-06-06 09:17:36 +01:00
KHOUBZA Younes f0dea6deb1 add updated shortcut method to notification builder 2022-06-06 09:17:36 +01:00
KHOUBZA Younes 962f59bbee add created shortcut method to notification builder 2022-06-06 09:17:36 +01:00
KHOUBZA Younes 2567ab4bc1 add operation method to notification builder 2022-06-06 09:17:36 +01:00
KHOUBZA Younes 66bed76ba9 translate preset parameters 2022-06-06 09:13:25 +01:00
KHOUBZA Younes 4513e63e4c add parameters property to preset stamp 2022-06-06 09:12:53 +01:00
KHOUBZA Younes 722f05a641 update preset builder method: pass params array instead of boolean flash 2022-06-06 09:12:01 +01:00
KHOUBZA Younes 5a73198e66 update french translations 2022-06-06 09:10:39 +01:00
KHOUBZA Younes bde86e1a5f add crud preset ar translation 2022-06-06 09:02:57 +01:00
KHOUBZA Younes c1eab3dc8b add crud preset fr translation 2022-06-06 09:02:45 +01:00
KHOUBZA Younes 4a43827ffa add crud presets en translation (lol) 2022-06-06 09:02:21 +01:00
KHOUBZA Younes f51e52404c add crud presets with default messages 2022-06-06 09:01:39 +01:00
KHOUBZA Younes efaf702d8b use static properties for message translations instead of constant 2022-06-06 09:01:01 +01:00
Younes Khoubza e2f40c520c Merge pull request #65 from php-flasher/laravel-translator-remove-parameters
Remove parameters from has method on laravel translator
2022-06-06 08:38:14 +01:00
KHOUBZA Younes 5e8f8ac613 remove parameters from has method on laravel translator 2022-06-06 08:34:45 +01:00
Younes Khoubza fb2f4057e9 Merge pull request #64 from php-flasher/translation-catalogue
Translate message only if it exists in message catalogue
2022-06-06 07:20:35 +01:00
KHOUBZA Younes 36b9264f07 translate message only if it exists in message catalogue 2022-06-06 07:18:17 +01:00
KHOUBZA Younes 1ff21687bd Bump php-flasher packages from v1.3 to v1.4 2022-06-06 05:18:12 +01:00
Younes Khoubza 2ba529ac88 Merge pull request #63 from php-flasher/when-unless-closure
Allow when and unless builder methods to accept \Closure as a parameter
2022-06-06 05:05:25 +01:00
KHOUBZA Younes adca8d9f2b format code by running php-cs-fixer 2022-06-06 05:03:31 +01:00
KHOUBZA Younes 43a417bda2 allow unless builder method to accept \Closure as a parameter 2022-06-06 05:02:59 +01:00
KHOUBZA Younes 61a2c95960 allow when builder method to accept \Closure as a parameter 2022-06-06 05:02:17 +01:00
Younes Khoubza dbddd1333d Merge pull request #62 from php-flasher/translation-parameters
Allow translation parameters to be passed from translate builder method
2022-06-06 04:29:12 +01:00
KHOUBZA Younes d05ab770ad fix Laravel translation domain 2022-06-06 04:26:31 +01:00
KHOUBZA Younes e9bf49284e pass translation parameters from translation listener to translators 2022-06-06 04:26:09 +01:00
KHOUBZA Younes 9b1f6341de add translation parameters to Echo translator 2022-06-06 04:25:47 +01:00
KHOUBZA Younes 7593218908 add translation parameters to Laravel translator 2022-06-06 04:25:33 +01:00
KHOUBZA Younes cb88fc5d12 add translation parameters to Symfony translator 2022-06-06 04:25:11 +01:00
KHOUBZA Younes 91a77b42cf add translation parameters to TranslatorInterface 2022-06-06 04:24:53 +01:00
KHOUBZA Younes 4183cb2333 allow translation parameters to be passed from translate builder method 2022-06-06 04:23:55 +01:00
KHOUBZA Younes b36d1523ad add translation parameters to translation stamp class 2022-06-06 04:23:09 +01:00
Younes Khoubza 11228d1c4e Merge pull request #61 from php-flasher/when-unless-multiple
Add the possibility to call when and unless methods multiple times
2022-06-06 03:33:00 +01:00
KHOUBZA Younes 32ad600fc6 call unless method multiple times 2022-06-06 03:30:35 +01:00
KHOUBZA Younes 3a84cdbcd1 call when method multiple times 2022-06-06 03:30:35 +01:00
Younes Khoubza 9ee6729749 Merge pull request #60 from php-flasher/handler-change
Handler cannot be changed once it has been set
2022-06-06 03:23:06 +01:00
KHOUBZA Younes f89e689251 Handler cannot be changed once it has been set 2022-06-06 03:20:23 +01:00
Younes Khoubza e436a6fffb Merge pull request #59 from php-flasher/when-unless
Add support for when and unless methods to notification builder
2022-06-06 03:16:12 +01:00
KHOUBZA Younes 6e181b5a21 add AddToStorageListener and apply when and unless logic 2022-06-06 03:14:03 +01:00
KHOUBZA Younes 9d5591d8cd add unless method to notification builder 2022-06-06 03:13:36 +01:00
KHOUBZA Younes 2f060e39cb add when method to notification builder 2022-06-06 03:13:36 +01:00
Younes Khoubza 96c049e480 Merge pull request #58 from php-flasher/flash-bag
fix flasher bag for Laravel and Symfony
2022-06-05 01:40:33 +01:00
KHOUBZA Younes 07da136c6e test if flash bag contains type before remove it from flash bag 2022-06-05 01:38:34 +01:00
KHOUBZA Younes 803ef763e3 laravel remove flash message from the session after process 2022-06-05 01:37:48 +01:00
KHOUBZA Younes d8a9642276 update laravel flasher middleware priority 2022-06-05 01:37:26 +01:00
KHOUBZA Younes d85e009842 Bump php-flasher from v1.2 to v1.3 2022-06-04 22:37:52 +01:00
Younes Khoubza 8181cedb7a Merge pull request #57 from php-flasher/auto-flasher-render
Auto flasher render
2022-06-04 22:36:16 +01:00
KHOUBZA Younes e6756f2c91 register symfony flasher listener in the container 2022-06-04 22:34:08 +01:00
KHOUBZA Younes 0520418789 remove duplicate content from session listener 2022-06-04 22:33:48 +01:00
KHOUBZA Younes 5c591b083f add symfony flasher listener 2022-06-04 22:33:32 +01:00
KHOUBZA Younes d07eee93a1 register laravel flasher middleware in the container 2022-06-04 22:33:14 +01:00
KHOUBZA Younes 9655f31bf5 remove duplicate content from laravel session middleware 2022-06-04 22:32:32 +01:00
KHOUBZA Younes 556cdfd387 fix flasher middleware for laravel 4 2022-06-04 22:31:55 +01:00
KHOUBZA Younes eb1d24a9a2 render flash message automatically 2022-06-04 22:31:38 +01:00
KHOUBZA Younes 6b42aed31c Merge branch 'flasher-component'
* flasher-component:
  Bump php-flasher from v1.1 to v1.2
2022-06-04 21:16:12 +01:00
KHOUBZA Younes 674803fe8d Bump php-flasher from v1.1 to v1.2 2022-06-04 21:15:30 +01:00
Younes Khoubza 40227fb5df Merge pull request #56 from php-flasher/flasher-component
Flasher blade component
2022-06-04 21:13:33 +01:00
KHOUBZA Younes 452fa8667e register flasher component only for laravel version >= 7.0 2022-06-04 21:11:39 +01:00
KHOUBZA Younes df92df5f22 run php-cs-fixer 2022-06-04 20:57:53 +01:00
KHOUBZA Younes 033ab86bb9 fix session middleware for laravel 4 2022-06-04 20:57:20 +01:00
KHOUBZA Younes 108d63b284 append SessionMiddleware to web group middleware 2022-06-04 20:56:48 +01:00
KHOUBZA Younes 84cfae0adc rename registerBladeDirectives to registerBladeDirective 2022-06-04 20:55:56 +01:00
KHOUBZA Younes 3be43d6849 register laravel flasher component 2022-06-04 20:55:28 +01:00
KHOUBZA Younes cc6fee4b6c add laravel flasher component 2022-06-04 20:54:14 +01:00
KHOUBZA Younes 269848e07c force pushing tags 2022-06-04 15:03:05 +01:00
Younes Khoubza 83e3b73d5e Merge pull request #55 from php-flasher/themeoptions
Override theme options
2022-06-04 14:57:31 +01:00
KHOUBZA Younes bf6336bd35 fix override theme options 2022-06-04 14:55:23 +01:00
KHOUBZA Younes cef916dfd9 bump @flasher js assets from v1.0.16 to v1.0.17 2022-06-04 14:54:55 +01:00
KHOUBZA Younes 6ace3ec50f bump php-flasher package to v1.1.0 2022-05-28 17:33:08 +01:00
Younes Khoubza 8971e20077 Merge pull request #54 from php-flasher/auto-translate-by-default
activate auto translation by default for laravel
2022-05-28 17:23:03 +01:00
KHOUBZA Younes 994102d09b activate auto translation by default for laravel 2022-05-28 17:21:19 +01:00
Younes Khoubza 6b4cbb67bb Merge pull request #53 from php-flasher/fix-translation-listner
fix translation listener
2022-05-28 17:11:20 +01:00
KHOUBZA Younes a18f6dcd03 run php-cs-fixer 2022-05-28 17:06:16 +01:00
KHOUBZA Younes 86d4cd5973 extract ConfigType phpstan-type 2022-05-28 17:06:02 +01:00
KHOUBZA Younes 84372b3816 split symfony configuration into multiple sections 2022-05-28 17:05:30 +01:00
KHOUBZA Younes c95ad104ed rename translate_by_default config key to auto_translate 2022-05-28 17:05:00 +01:00
KHOUBZA Younes f7ef84a072 normalize symfony configuration 2022-05-28 17:03:30 +01:00
KHOUBZA Younes f89cadc6a3 throw exception if present does not exists 2022-05-28 17:02:04 +01:00
KHOUBZA Younes 6839affa41 register preset listener in symfony container 2022-05-28 17:01:38 +01:00
KHOUBZA Younes efc887c1c5 fix error when symfony translator not exists or disabled 2022-05-28 16:22:52 +01:00
KHOUBZA Younes 7c65dffe0c fix translation listener 2022-05-28 11:56:47 +01:00
Younes Khoubza 92a1b86e49 Merge pull request #52 from php-flasher/add-preset-support
Add preset support
2022-05-28 11:56:03 +01:00
KHOUBZA Younes 78325538b5 add preset subsriber to laravel service provider 2022-05-28 11:54:25 +01:00
KHOUBZA Younes 0be681699c add preset support to enable shortcut messages 2022-05-28 11:52:10 +01:00
Younes Khoubza 6992432f88 Merge pull request #51 from php-flasher/title-shortcut
add title shortcut for messages
2022-05-28 11:51:49 +01:00
KHOUBZA Younes 2b172850aa add title shortcut for messages 2022-05-28 11:48:54 +01:00
Younes Khoubza 249893a0e0 Merge pull request #50 from php-flasher/github-actions
update github action workflow files
2022-05-27 16:31:10 +01:00
KHOUBZA Younes e34eb68da5 update github action workflow files 2022-05-27 16:29:23 +01:00
KHOUBZA Younes 198464692f rename laravel and symfony jobs 2022-05-27 16:26:03 +01:00
Younes Khoubza abc74177ca Merge pull request #49 from php-flasher/fix-translation-service
add translation tests
2022-05-27 15:51:47 +01:00
KHOUBZA Younes ac0a0953fd add transtion tests 2022-05-27 15:49:32 +01:00
Younes Khoubza 051485c79c Merge pull request #48 from php-flasher/fix-translation-service
only register flasher translation service if symfony translation serv…
2022-05-27 10:14:18 +01:00
KHOUBZA Younes 50050c6865 only register flasher translation service if symfony translation service exists 2022-05-27 10:12:39 +01:00
Younes Khoubza 8edc36a144 Merge pull request #47 from php-flasher/symfony-6.1
test support for symfony 6.1
2022-05-27 10:09:53 +01:00
KHOUBZA Younes bc1f683187 test support for symfony 6.1 2022-05-27 09:10:10 +01:00
Younes Khoubza 3b3969b860 Merge pull request #46 from php-flasher/bump-flasher-js
bump @flasher js dependencies to v1.0.16
2022-05-26 08:19:18 +01:00
KHOUBZA Younes 0f8333ee56 bump @flasher js dependencies to v1.0.16 2022-05-26 08:17:06 +01:00
Younes Khoubza 3eb86efc55 Merge pull request #45 from php-flasher/translation
Add Translation and RTL support
2022-05-26 08:15:24 +01:00
KHOUBZA Younes c3d47a825c fix php-cs errors 2022-05-26 08:09:12 +01:00
KHOUBZA Younes 50b629f0ce remove unused Echo translator class 2022-05-26 08:03:50 +01:00
KHOUBZA Younes 0353d08e32 fix symfony translation domain 2022-05-26 08:03:25 +01:00
KHOUBZA Younes 1febcab2f2 update symfony flasher config 2022-05-26 08:02:56 +01:00
KHOUBZA Younes 181223a59d register symfony flasher translator and translation linstener 2022-05-26 08:02:40 +01:00
KHOUBZA Younes 045a300315 add symfony translation messages 2022-05-26 08:01:34 +01:00
KHOUBZA Younes 78dbb6c54a update translation messages to use message constants 2022-05-26 08:01:34 +01:00
KHOUBZA Younes 1ced0ce141 symfony response manager service definition 2022-05-26 08:01:34 +01:00
KHOUBZA Younes 7358a3c8b6 add translation constants 2022-05-26 08:01:34 +01:00
KHOUBZA Younes 6321bee506 support laravel 4 translation loading 2022-05-25 02:49:17 +01:00
KHOUBZA Younes f3c06eabae add translation by defaut config 2022-05-25 02:27:07 +01:00
KHOUBZA Younes 8de202843f fix envelope title setter 2022-05-25 02:26:49 +01:00
KHOUBZA Younes 4751e95f67 add default title based on notification type 2022-05-25 02:26:23 +01:00
KHOUBZA Younes 2ed5160545 add support for arabic, english and french translations 2022-05-25 02:25:39 +01:00
KHOUBZA Younes 72fcea455f register translation listener inside event dispatcher 2022-05-25 02:24:53 +01:00
KHOUBZA Younes bc01337af6 add translation listener 2022-05-25 02:23:55 +01:00
KHOUBZA Younes 0f9f43049a add Language helper to check locale direction 2022-05-25 02:23:35 +01:00
KHOUBZA Younes 1b430b6b38 add translate method in notification builder 2022-05-25 02:21:57 +01:00
KHOUBZA Younes e8aec48bc5 add translation stamp 2022-05-25 02:21:33 +01:00
KHOUBZA Younes a0d10e1cfc add symfony translation adapter 2022-05-25 02:20:01 +01:00
KHOUBZA Younes e70178723d add laravel translation adapter 2022-05-25 02:19:41 +01:00
KHOUBZA Younes cc01750283 add basic translation interface and default translator 2022-05-25 02:18:57 +01:00
KHOUBZA Younes b41327dfa2 dispatch presentation event before creating a response 2022-05-25 02:17:33 +01:00
KHOUBZA Younes 65fb7bc928 upgrade flasher js scripts to v1.0.10 2022-05-22 13:07:55 +01:00
KHOUBZA Younes aaa3d7fb8d upgrade flasher js scripts to v1.0.9 2022-05-22 12:50:45 +01:00
Younes Khoubza e2c30f06fd Merge pull request #44 from php-flasher/load-root-script
Load root script
2022-05-20 14:35:07 +01:00
Younes Khoubza 41eb52113d Merge pull request #42 from php-flasher/upgrade-js
upgrade flasher js scripts to v1.0.8
2022-05-20 14:33:50 +01:00
KHOUBZA Younes 820c9f62a0 check if window.flasher exists before loading root_script 2022-05-20 14:33:14 +01:00
KHOUBZA Younes d13b19ab67 upgrade flasher js scripts to v1.0.8 2022-05-20 14:30:41 +01:00
Younes Khoubza eaa1be1a7a Merge pull request #41 from php-flasher/livewire-redirect
Show notification after a livewire url rediction
2022-05-19 08:22:21 +01:00
KHOUBZA Younes 7978edf929 Show notification after a livewire url rediction 2022-05-19 08:19:15 +01:00
KHOUBZA Younes 5cf246ed36 add deprecation messages for v1.0 2022-05-18 05:23:34 +01:00
KHOUBZA Younes ef0375a1a7 update sweetalert github repository 2022-05-17 06:49:14 +01:00
KHOUBZA Younes 7420c7146c add cli folder for split 2022-05-16 13:48:18 +01:00
KHOUBZA Younes d3a95a5b2d handle mono-repo with splitsh-lite 2022-05-16 08:34:23 +01:00
Younes Khoubza a9a0c1c36b Merge pull request #37 from php-flasher/1.0
1.0
2022-05-16 08:21:10 +01:00
KHOUBZA Younes ac6d046c63 Prepare v1.0 release
rename template adapter to flasher, and add title to base notification class

Wip
2022-05-16 08:18:15 +01:00
Younes Khoubza cceaa9d814 Merge pull request #35 from php-flasher/feat/packs
groups packages into packs
2022-03-09 09:26:23 +01:00
Khoubza Younes 4f728976f7 groups packages into packs 2022-03-09 09:21:16 +01:00
Younes Khoubza d20363595a Merge pull request #34 from php-flasher/fix/execute-js-callback-from-string
Upgrade flasher js to v0.7.1 to fix executing js callback function fr…
2022-03-09 08:49:16 +01:00
Khoubza Younes c30a9824af Upgrade flasher js to v0.7.1 to fix executing js callback function from string 2022-03-09 08:43:55 +01:00
Younes Khoubza ffe80cadd4 Merge pull request #33 from php-flasher/fix/single-quotes-escape
Fix single quotes are escaped by the `addslashes` function
2022-03-08 16:24:05 +01:00
Khoubza Younes 1db8a5d432 Fix single quotes are escaped by the addslashes function 2022-03-08 16:15:29 +01:00
Younes Khoubza 2ba79b0653 Merge pull request #27 from php-flasher/fix/session-storage
fix symfony session storage
2021-12-05 15:46:02 +01:00
KHOUBZA Younes f77e452f70 fix symfony session storage
Trigger CI

Wip
2021-12-05 16:44:44 +01:00
Younes Khoubza 57d4c78ab1 Merge pull request #22 from php-flasher/feat/desktop-macro
add desktop macros to NotificationBuilder
2021-10-30 14:00:45 +02:00
Khoubza Younes bc385f3396 add desktop macros to NotificationBuilder 2021-10-30 12:59:40 +01:00
Khoubza Younes e37cb9bb1f add persistent template notifications -> bump flasher-js to v0.6.1 2021-10-27 20:21:05 +01:00
Younes Khoubza 5642506be0 Merge pull request #20 from php-flasher/feat/phpstorm-autocomplete
add phpstorm autocomplete
2021-10-25 00:19:29 +02:00
Khoubza Younes 07ee497c29 add phpstorm autocomplete 2021-10-24 23:18:23 +01:00
Younes Khoubza dc74735ebc Merge pull request #19 from php-flasher/fix/bundle-discovery
fix symfony auto bundle discovery
2021-10-24 19:47:28 +02:00
Khoubza Younes d985dff582 fix symfony auto bundle discovery 2021-10-24 18:45:37 +01:00
Younes Khoubza 65d890cf70 Merge pull request #18 from php-flasher/feat/phpstan-prime
feat/phpstan prime
2021-10-24 16:46:45 +02:00
Khoubza Younes d77632d11e fix phpstan magic methods errors 2021-10-24 14:57:23 +01:00
Khoubza Younes 83534afe93 fix all phpstan warning for src/Laravel folder 2021-10-24 13:10:24 +01:00
Younes Khoubza b66ea81564 Merge pull request #17 from php-flasher/feat/phpstan-prime
fix all phpstan warning for src/Prime folder
2021-10-24 03:20:09 +02:00
Khoubza Younes 2063dc1095 fix all phpstan warning for src/Prime folder 2021-10-24 02:05:02 +01:00
Khoubza Younes 417828ebdb Trigger CI 2021-10-23 17:30:17 +01:00
Khoubza Younes f6b0c5ffff bump v0.9 2021-10-23 17:20:51 +01:00
Younes Khoubza bfa0d8de4d Merge pull request #16 from php-flasher/feat/options-override
allow users to override template factory options and styles
2021-10-23 18:17:06 +02:00
Khoubza Younes e07dee31bb allow users to override template factory options and styles 2021-10-23 17:08:27 +01:00
Khoubza Younes cc7bc74255 Auto close pull requests on Read Only sub split packages 2021-10-23 11:49:56 +01:00
Khoubza Younes f3d0e27970 bump v0.8 2021-10-23 11:29:49 +01:00
Younes Khoubza ebeba62de8 Merge pull request #15 from php-flasher/feat/template-with-using
add using alias to create factories + shortcut for template factories
2021-10-23 12:27:51 +02:00
Khoubza Younes c8d65284d1 bump flasher js to v0.4.0 2021-10-23 10:52:51 +01:00
Khoubza Younes a064626fc0 add templates factories aliases 2021-10-23 10:28:30 +01:00
Khoubza Younes 93ede1b03a add using method as alias for create factory method 2021-10-23 10:10:49 +01:00
Khoubza Younes 55c08b02d9 make flash a shortcut for flasher 2021-10-22 23:26:33 +01:00
Khoubza Younes f9330057a3 add flash helper method for template factory 2021-10-22 23:19:33 +01:00
Khoubza Younes e7ca499d12 bump v0.7 2021-10-22 22:45:44 +01:00
Younes Khoubza 106e9ffb7b Merge pull request #14 from php-flasher/feat/upgrade-flasher-js-version
Upgrade flasher js to v0.3.0
2021-10-22 23:43:18 +02:00
Khoubza Younes e80126fa4f upgrade flasher js to v0.3.0 2021-10-22 22:22:47 +01:00
Younes Khoubza df2a1ff699 Merge pull request #13 from php-flasher/feat/template-adapter-title
add title to template adapter
2021-10-22 23:21:45 +02:00
Khoubza Younes 0c55cf0e2b add default titles to template adapter 2021-10-22 22:05:08 +01:00
Khoubza Younes 5ecc96a8bf fix phpstorm meta file 2021-10-22 21:54:43 +01:00
Khoubza Younes 2f11f988df remove abstract comment from NotificationFactory class
make the NotificationFactory class abstract in v1.0.0
2021-10-22 21:49:57 +01:00
Khoubza Younes 6a00897ce6 add title to template adapter
fix tests

Trigger CI
2021-10-22 21:26:13 +01:00
Khoubza Younes 759bb0b1ff rename symfony config.php to services.php 2021-10-20 07:27:33 +01:00
Khoubza Younes 61b7e3f2ed Wip 2021-10-17 00:28:23 +01:00
Khoubza Younes 56e0408884 Wip 2021-10-16 23:36:57 +01:00
Khoubza Younes 9052068de3 Wip 2021-10-16 12:52:52 +01:00
Khoubza Younes f90a0ca5d4 test on multiple OS 2021-10-16 12:48:15 +01:00
Khoubza Younes ba1f4cc8e4 Wip 2021-10-12 22:59:58 +01:00
Khoubza Younes 624b6c5050 Wip 2021-10-12 22:57:20 +01:00
Khoubza Younes 7e2524fe6b Wip 2021-10-12 22:56:25 +01:00
Khoubza Younes c683a01c7d Wip 2021-10-12 22:51:46 +01:00
Khoubza Younes d2c55384b2 Wip 2021-10-12 22:45:29 +01:00
Khoubza Younes d7ae9a8164 Wip 2021-10-12 22:38:43 +01:00
Khoubza Younes ad775e2569 Wip 2021-10-12 22:37:02 +01:00
Khoubza Younes 9b02b804cb Wip 2021-10-12 22:33:11 +01:00
Khoubza Younes b68a5a9a13 Wip 2021-10-12 22:29:21 +01:00
Khoubza Younes 385988b902 update github workflows 2021-10-12 22:26:41 +01:00
Khoubza Younes 4cb4bc7768 add apple script notifier with osascript binary 2021-10-12 22:20:27 +01:00
Khoubza Younes 23c4e5677b Fix windows path 2021-10-12 20:23:44 +01:00
Khoubza Younes 92069fe278 only render if response contains envelopes 2021-10-04 02:35:49 +01:00
Khoubza Younes 3a0bd065ec fix symfony version compare 2021-10-04 02:17:51 +01:00
Khoubza Younes 10a62a7ba2 update composer dependencies 2021-10-04 01:55:54 +01:00
Khoubza Younes 51c2001bca Merge branch 'feat/tests'
* feat/tests:
  add github cli to split.sh and release.sh
2021-10-04 01:44:32 +01:00
Khoubza Younes a8ccace0c1 remove unused file 2021-10-04 01:42:20 +01:00
Khoubza Younes 4c3afe7892 add github cli to split.sh and release.sh 2021-10-04 01:26:27 +01:00
Younes Khoubza 73370d9b82 Merge pull request #6 from php-flasher/feat/console
Add Flasher CLI supports
2021-10-04 01:40:36 +02:00
Younes Khoubza 009ca50638 Merge pull request #9 from php-flasher/feat/tests
feat/tests
2021-10-04 01:27:42 +02:00
Khoubza Younes 3cb737fc0d Wip 2021-10-03 23:39:12 +01:00
Khoubza Younes 702322006f Wip 2021-10-03 23:25:01 +01:00
Khoubza Younes 1cf71d8cb4 Wip 2021-10-03 23:19:22 +01:00
Khoubza Younes bf30312523 Wip 2021-10-03 23:15:24 +01:00
Khoubza Younes d3c7b6689c Wip 2021-10-03 23:12:52 +01:00
Khoubza Younes 3d31936102 Wip 2021-10-03 23:12:02 +01:00
Khoubza Younes 07d0700740 fix tests 2021-10-03 22:57:51 +01:00
Khoubza Younes d5b57a5342 Wip 2021-10-03 22:50:12 +01:00
Khoubza Younes b990766392 Wip 2021-10-03 22:28:12 +01:00
Khoubza Younes 115be33042 remove static from anonymous function 2021-10-03 22:22:14 +01:00
Khoubza Younes 7a20e00587 remove static from anonymous function 2021-10-03 22:16:45 +01:00
Khoubza Younes 5c946b7d28 Wip 2021-10-03 22:12:19 +01:00
Khoubza Younes 0f151f7b37 call_user_func 2021-10-03 22:08:13 +01:00
Khoubza Younes f99e63f9bc wip 2021-10-03 22:03:22 +01:00
Khoubza Younes 103b0fdfea move tests to tests files 2021-10-03 21:39:04 +01:00
Khoubza Younes 4ab09ede26 add cliFlasher laravel helper method 2021-10-02 01:08:08 +01:00
Khoubza Younes 742e457800 add render and stamps listeners in boot method of the service provider 2021-10-02 01:01:03 +01:00
Khoubza Younes 894f74fa7f add zenity notifier 2021-10-01 13:06:19 +01:00
Khoubza Younes ecd57943bc fix options 2021-10-01 00:13:13 +01:00
Khoubza Younes 7fb7056ff8 update laravel config 2021-09-30 12:14:18 +01:00
Khoubza Younes 61466a30df filter notifications from CLI 2021-09-29 19:26:48 +01:00
Khoubza Younes 5a4a909359 allow users to set icon for every notification 2021-09-29 18:44:29 +01:00
Khoubza Younes 257b37de81 add CliFlasherInterface for CliNotificationFactory 2021-09-29 17:23:41 +01:00
Khoubza Younes 6d52a98206 fix symfony configuration and sort by priority 2021-09-29 16:10:39 +01:00
Khoubza Younes 3f845a4137 add Desktop stamp and callback specification and events 2021-09-28 16:39:38 +01:00
Khoubza Younes f879237ab5 add cli presenter 2021-09-24 08:40:44 +01:00
Khoubza Younes 2e8302b7f5 use cli namespace instead of console 2021-09-24 08:40:06 +01:00
Khoubza Younes 07b06e4c3f update command options 2021-09-23 00:39:31 +01:00
Khoubza Younes 73bcf79b3d add more notifiers 2021-09-22 21:37:48 +01:00
Khoubza Younes d7772fa297 update flasher console config 2021-09-20 06:10:04 +01:00
Khoubza Younes c665401248 add flasher console component 2021-09-20 05:30:06 +01:00
Younes Khoubza 8f12aebbbb Merge pull request #8 from php-flasher/feat/php-config
use php configuration instead of yaml
2021-09-20 06:29:17 +02:00
Khoubza Younes 5e7aa16b2c use php configuration for all bundles 2021-09-20 05:28:16 +01:00
Khoubza Younes 0ccfbf56bf use php configuration instead of yaml 2021-09-19 22:50:04 +01:00
Younes Khoubza d165f1056c Merge pull request #7 from php-flasher/fix/notyf-js-version
upgrade notyf js version
2021-09-19 17:42:59 +02:00
Khoubza Younes e8b21a6bca upgrade notyf js version 2021-09-19 16:42:20 +01:00
Younes Khoubza 4d2a5c9434 Merge pull request #5 from php-flasher/feat/symfony-6-support
fix legacy symfony supports
2021-09-19 17:24:56 +02:00
Khoubza Younes 402953f2ff fix legacy symfony supports 2021-09-19 16:24:19 +01:00
Younes Khoubza b619fe413d Merge pull request #4 from php-flasher/feat/livewire-autocomplete
add livewire autocomplete for phpstorm
2021-09-19 17:19:10 +02:00
Khoubza Younes 3a3bcf559d add livewire autocomplete for phpstorm 2021-09-19 16:18:20 +01:00
Younes Khoubza 1514e72a2b Merge pull request #3 from php-flasher/feat/symfony-6-support
add Symfony 6 support
2021-09-19 17:16:29 +02:00
Khoubza Younes a2e03c575e add Symfony 6 support 2021-09-19 16:12:41 +01:00
Khoubza Younes 2c0a31690c update bootstrap template to v5 2021-09-08 09:07:04 +01:00
Khoubza Younes fe83e1fd19 upgrade flasher dependencies 2021-09-08 08:28:21 +01:00
Khoubza Younes 28bb4e22b8 add context to livewire Stamp 2021-09-08 08:28:01 +01:00
Khoubza Younes f6b2b386b3 upgrade tailwind and boostrap version 2021-09-08 08:26:01 +01:00
Khoubza Younes 42ad0ec2ba upgrade flasher and sweet alert js libraries 2021-09-08 08:26:01 +01:00
Khoubza Younes 0384f9ff35 add phpstorm autocomplete for livewire macro 2021-09-08 08:24:29 +01:00
Khoubza Younes bafe70abab emit livewire events on sweet alert promise 2021-09-08 08:23:43 +01:00
Khoubza Younes 255722f579 add context to livewire macro 2021-09-08 08:22:45 +01:00
Khoubza Younes 23316deb42 fix template notification not showing with z-index 2021-08-31 03:00:41 +01:00
Khoubza Younes 77e43642b9 update livewire php version 2021-08-29 19:55:45 +01:00
Khoubza Younes 1e94cb64a5 add livewire 2 support 2021-08-29 19:21:14 +01:00
Khoubza Younes b4566ce527 add type library to all composer packages except symfony 2021-08-29 19:14:45 +01:00
Khoubza Younes 6588b7e5c5 update laravel configuration to use root_script instead of root_scripts 2021-08-29 19:13:50 +01:00
Khoubza Younes 971b3ab89d add stamp criteria to filter envelopes using stamps 2021-08-29 19:13:18 +01:00
Khoubza Younes c6fd6455d4 allow notification builder to add custom method using macros 2021-08-29 19:12:22 +01:00
Khoubza Younes 4af296e2a8 update html presenter to use root_script 2021-08-29 19:11:41 +01:00
Khoubza Younes e0eae610f8 symfony use root_script instead of root_scripts 2021-08-29 19:10:47 +01:00
Khoubza Younes 5e09af46eb fix symfony session middleware, because html presenter does not use content anymore 2021-08-29 19:10:12 +01:00
Khoubza Younes fe92e2cd8c fix laravel session middleware, because html presenter does not use content anymore 2021-08-29 19:09:52 +01:00
Khoubza Younes bd91f4f4f8 fix laravel facade alias in composer.json 2021-08-29 19:09:00 +01:00
Khoubza Younes 2f97032dc0 update from github.com-yoeunes to github.com 2021-08-28 14:17:11 +01:00
KHOUBZA Younes 1a5bf7dc2b get the session from request stack instead of injecting the session service 2021-08-27 23:01:10 +01:00
KHOUBZA Younes a361ecc7dc add metadata files like .editorconfig, SECURITY.md CODE_OF_CONDUCT.md LICENSE ...etc 2021-08-26 16:22:50 +01:00
KHOUBZA Younes e05808f9f3 update dependencies 2021-08-22 23:17:53 +01:00
KHOUBZA Younes e0ea51ecff update release file 2021-08-22 01:41:35 +01:00
KHOUBZA Younes 951b73f949 update github.com-yoeunes 2021-08-22 01:33:07 +01:00
KHOUBZA Younes 179b7bf620 fix options and show multiple sweet alert at the same time 2021-08-22 01:27:46 +01:00
KHOUBZA Younes f3e4dae78f fix symfony configuration 2021-06-17 08:23:01 +01:00
Younes Khoubza 47d6ef7997 Create php.yml 2021-05-18 00:14:17 +02:00
KHOUBZA Younes df20969c34 fix tests for laravel >=5.1 2021-05-17 23:08:48 +01:00
KHOUBZA Younes fb142015fd fix composer.json versions 2021-05-17 22:59:34 +01:00
KHOUBZA Younes 26b193c84a fix tests for laravel 5.0 2021-05-17 22:53:31 +01:00
KHOUBZA Younes ebdc893e96 fix tests 2021-05-17 22:39:29 +01:00
KHOUBZA Younes ef1066522c replace assetSame by assetEquals 2021-05-09 17:18:48 +00:00
KHOUBZA Younes 74b586c4bd add Laravel Facade autocomplete 2021-05-09 17:01:02 +00:00
KHOUBZA Younes 33ef3781d7 update flasher dependencies 2021-05-09 14:33:43 +00:00
KHOUBZA Younes 0ad24a7655 update PHP Coding Standards Fixer
update PHP Coding Standards Fixer
2021-05-09 13:56:16 +00:00
KHOUBZA Younes 64bac380d0 add Laravel facade 2021-05-09 12:22:06 +00:00
KHOUBZA Younes dc0784a9a6 add a native php template engine and basic templates 2021-05-08 06:57:47 +00:00
KHOUBZA Younes d8e7cf72a9 fix tests 2021-05-06 12:19:59 +00:00
KHOUBZA Younes 74d896bb1b update workflows test yml 2021-05-06 12:14:54 +00:00
KHOUBZA Younes f818fe6f60 add dependabot.yml 2021-05-06 12:11:58 +00:00
KHOUBZA Younes dcaec65036 update laravel configuration 2021-05-06 11:51:32 +00:00
KHOUBZA Younes ff284ffa65 move info and warning to javascript v0.1.6 2021-05-06 11:42:08 +00:00
KHOUBZA Younes 8ebdd1bd64 update split repositories 2021-05-02 14:46:17 +00:00
KHOUBZA Younes 66f84f2fed Merge remote-tracking branch 'noty-symfony/main' 2021-05-02 14:43:50 +00:00
KHOUBZA Younes d7a065251d Merge remote-tracking branch 'noty-laravel/main' 2021-05-02 14:43:48 +00:00
KHOUBZA Younes 18e01ef5cc Merge remote-tracking branch 'noty/main' 2021-05-02 14:43:46 +00:00
KHOUBZA Younes f0cbff7341 Merge remote-tracking branch 'pnotify-symfony/main' 2021-05-02 14:43:44 +00:00
KHOUBZA Younes d55603373e Merge remote-tracking branch 'pnotify-laravel/main' 2021-05-02 14:43:43 +00:00
KHOUBZA Younes 5e3c937150 Merge remote-tracking branch 'pnotify/main' 2021-05-02 14:43:41 +00:00
KHOUBZA Younes 3605459609 Merge remote-tracking branch 'sweet-alert-symfony/main' 2021-05-02 14:43:39 +00:00
KHOUBZA Younes 1b659b5d25 Merge remote-tracking branch 'sweet-alert-laravel/main' 2021-05-02 14:43:37 +00:00
KHOUBZA Younes d1fda85ab1 Merge remote-tracking branch 'sweet-alert/main' 2021-05-02 14:43:35 +00:00
KHOUBZA Younes cf5dd82487 Merge remote-tracking branch 'notyf-symfony/main' 2021-05-02 14:43:33 +00:00
KHOUBZA Younes b61aabc11d Merge remote-tracking branch 'notyf-laravel/main' 2021-05-02 14:43:31 +00:00
KHOUBZA Younes 43012e86fd Merge remote-tracking branch 'notyf/main' 2021-05-02 14:43:29 +00:00
KHOUBZA Younes 46e1def184 Merge remote-tracking branch 'toastr-symfony/main' 2021-05-02 14:43:27 +00:00
KHOUBZA Younes 86cc652c33 Merge remote-tracking branch 'toastr-laravel/main' 2021-05-02 14:43:26 +00:00
KHOUBZA Younes 27a67c5238 Merge remote-tracking branch 'toastr/main' 2021-05-02 14:43:24 +00:00
KHOUBZA Younes 92833d614a Merge remote-tracking branch 'symfony/main' 2021-05-02 14:43:22 +00:00
KHOUBZA Younes 18fa011a14 Merge remote-tracking branch 'laravel/main' 2021-05-02 14:43:20 +00:00
KHOUBZA Younes b97d54091b Merge remote-tracking branch 'noty-symfony/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 505431e555 Merge remote-tracking branch 'noty-laravel/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 7b70ace803 Merge remote-tracking branch 'noty/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 243ecb20c3 Merge remote-tracking branch 'pnotify-symfony/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 63e2cf1054 Merge remote-tracking branch 'pnotify-laravel/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 60d8a33c2c Merge remote-tracking branch 'pnotify/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes a0aa76bc3c Merge remote-tracking branch 'sweet-alert-symfony/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 23129b542a Merge remote-tracking branch 'sweet-alert-laravel/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 8f9159f3b8 Merge remote-tracking branch 'sweet-alert/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 599a388ee5 Merge remote-tracking branch 'notyf-symfony/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes d7667d2964 Merge remote-tracking branch 'notyf-laravel/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 5ffa94b586 Merge remote-tracking branch 'notyf/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 49f7fffb63 Merge remote-tracking branch 'toastr-symfony/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes f9bbbf70cb Merge remote-tracking branch 'noty-symfony/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes de1aa2ce0f Merge remote-tracking branch 'noty-laravel/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 1bb1f4e900 Merge remote-tracking branch 'noty/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 760f1b7e25 Merge remote-tracking branch 'pnotify-symfony/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes b69f65baaa Merge remote-tracking branch 'pnotify-laravel/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 649586561a Merge remote-tracking branch 'pnotify/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes abbb6d1ae5 Merge remote-tracking branch 'sweet-alert-symfony/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 0a1729315c Merge remote-tracking branch 'sweet-alert-laravel/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes ad863ac88d Merge remote-tracking branch 'sweet-alert/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes ff5ac7e45c Merge remote-tracking branch 'notyf-symfony/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 66ff62263c Merge remote-tracking branch 'notyf-laravel/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes d45abaa4b6 Merge remote-tracking branch 'notyf/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes ab3c4933b9 Merge remote-tracking branch 'toastr-symfony/main' 2021-05-02 14:41:24 +00:00
KHOUBZA Younes 6bfd6262e6 Merge remote-tracking branch 'toastr-laravel/main' 2021-05-02 14:41:23 +00:00
KHOUBZA Younes 96f7f0577f Merge remote-tracking branch 'toastr/main' 2021-05-02 14:41:23 +00:00
KHOUBZA Younes f13d536b88 Merge remote-tracking branch 'symfony/main' 2021-05-02 14:41:23 +00:00
KHOUBZA Younes e7a0dc2d6e Merge remote-tracking branch 'laravel/main' 2021-05-02 14:41:23 +00:00
KHOUBZA Younes b90dd73dfe Merge remote-tracking branch 'toastr-laravel/main' 2021-05-02 14:41:23 +00:00
KHOUBZA Younes 14fa46bab4 Merge remote-tracking branch 'toastr/main' 2021-05-02 14:41:23 +00:00
KHOUBZA Younes e07c538cfa Merge remote-tracking branch 'symfony/main' 2021-05-02 14:41:23 +00:00
KHOUBZA Younes eeb11dd398 Merge remote-tracking branch 'laravel/main' 2021-05-02 14:41:23 +00:00
KHOUBZA Younes 04322161e5 Merge remote-tracking branch 'flasher/main' 2021-05-02 14:41:23 +00:00
KHOUBZA Younes 562e8ff38c pull modification from split replositories before push 2021-05-02 14:40:58 +00:00
KHOUBZA Younes 4cd1323a65 Merge remote-tracking branch 'noty-symfony/main' 2021-05-02 14:34:29 +00:00
KHOUBZA Younes 475348a8a6 Merge remote-tracking branch 'noty-laravel/main' 2021-05-02 14:34:29 +00:00
KHOUBZA Younes 95807328ff Merge remote-tracking branch 'noty/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes e87a9e562d Merge remote-tracking branch 'pnotify-symfony/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes 6ebe9f8a2c Merge remote-tracking branch 'pnotify-laravel/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes 7283ec7bd4 Merge remote-tracking branch 'pnotify/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes ae5720ea33 Merge remote-tracking branch 'sweet-alert-symfony/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes 9b44355058 Merge remote-tracking branch 'sweet-alert-laravel/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes 9cd721d469 Merge remote-tracking branch 'sweet-alert/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes 1a9783aafd Merge remote-tracking branch 'notyf-symfony/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes d4bd17f97e Merge remote-tracking branch 'notyf-laravel/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes ef53821d10 Merge remote-tracking branch 'notyf/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes 02759f713a Merge remote-tracking branch 'toastr-symfony/main' 2021-05-02 14:34:28 +00:00
KHOUBZA Younes cf94025cf4 Merge remote-tracking branch 'toastr-laravel/main' 2021-05-02 14:34:03 +00:00
KHOUBZA Younes 33d8154636 Merge remote-tracking branch 'toastr/main' 2021-05-02 14:28:47 +00:00
KHOUBZA Younes cfab92385a Merge remote-tracking branch 'symfony/main' 2021-05-02 14:28:09 +00:00
KHOUBZA Younes 3ba6d7e535 Merge remote-tracking branch 'laravel/main' 2021-05-02 14:23:30 +00:00
Younes Khoubza 8c617b8084 Merge pull request #2 from php-flasher/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-04-30 01:36:02 +02:00
dependabot-preview[bot] bff4dfd443 Upgrade to GitHub-native Dependabot 2021-04-29 22:30:46 +00:00
KHOUBZA Younes ac5649848f add laravel .phpstorm.meta.php for auto complete 2021-04-25 10:47:44 +00:00
KHOUBZA Younes 4476b26ccf add laravel .phpstorm.meta.php for auto complete 2021-04-25 10:47:44 +00:00
KHOUBZA Younes e5f0c06400 add laravel .phpstorm.meta.php for auto complete 2021-04-25 10:47:44 +00:00
KHOUBZA Younes 5ca9334ba8 add laravel .phpstorm.meta.php for auto complete 2021-04-25 10:47:44 +00:00
KHOUBZA Younes 7151a6efa2 add laravel .phpstorm.meta.php for auto complete 2021-04-25 10:47:44 +00:00
KHOUBZA Younes 9f08bf3498 add laravel .phpstorm.meta.php for auto complete 2021-04-25 10:47:44 +00:00
KHOUBZA Younes 00e91e0d93 fix sweet alert progress timer 50s -> 5s 2021-04-25 10:19:45 +00:00
KHOUBZA Younes 1ec15792b3 fix sweet alert progress timer 50s -> 5s 2021-04-25 10:19:45 +00:00
KHOUBZA Younes d5ec851e19 fix sweet alert progress timer 50s -> 5s 2021-04-25 10:19:45 +00:00
KHOUBZA Younes 5513ada874 add laravel helpers and fix blade compiler for laravel 4 2021-04-25 10:09:31 +00:00
KHOUBZA Younes ce30d44794 add laravel helpers and fix blade compiler for laravel 4 2021-04-25 10:09:31 +00:00
KHOUBZA Younes a259b7f99c add laravel helpers and fix blade compiler for laravel 4 2021-04-25 10:09:31 +00:00
KHOUBZA Younes ede7629f95 add laravel helpers and fix blade compiler for laravel 4 2021-04-25 10:09:31 +00:00
KHOUBZA Younes 0ccfc98476 add laravel helpers and fix blade compiler for laravel 4 2021-04-25 10:09:31 +00:00
KHOUBZA Younes 49eb0875bf add laravel helpers and fix blade compiler for laravel 4 2021-04-25 10:09:31 +00:00
KHOUBZA Younes 7e45a50bf7 add laravel helpers and fix blade compiler for laravel 4 2021-04-25 10:09:31 +00:00
KHOUBZA Younes ca05aba741 fix tests 2021-04-17 22:03:18 +02:00
KHOUBZA Younes d48041a10a fix tests 2021-04-17 22:03:18 +02:00
KHOUBZA Younes 849505b9af fix tests 2021-04-17 22:03:18 +02:00
KHOUBZA Younes 560a64d016 update laravel tests 2021-04-17 21:32:30 +02:00
KHOUBZA Younes cfcb83b9db update laravel tests 2021-04-17 21:32:30 +02:00
KHOUBZA Younes cf3e9f7c5e update laravel tests 2021-04-17 21:32:30 +02:00
KHOUBZA Younes 798caa05af update laravel tests 2021-04-17 21:32:30 +02:00
KHOUBZA Younes 7613102039 update laravel tests 2021-04-17 21:32:30 +02:00
KHOUBZA Younes 41cfcbc90f update laravel tests 2021-04-17 21:32:30 +02:00
KHOUBZA Younes 3f6a13ec1a update laravel tests 2021-04-17 21:32:30 +02:00
KHOUBZA Younes 36e0838005 rename extensions 2021-04-17 18:40:02 +02:00
KHOUBZA Younes a64c16a332 rename extensions 2021-04-17 18:40:02 +02:00
KHOUBZA Younes a39ab10044 rename extensions 2021-04-17 18:40:02 +02:00
KHOUBZA Younes 7e9ff1bf47 rename extensions 2021-04-17 18:40:02 +02:00
KHOUBZA Younes f46cb22ba2 rename extensions 2021-04-17 18:40:02 +02:00
KHOUBZA Younes 4f36292b41 rename extensions 2021-04-17 18:40:02 +02:00
KHOUBZA Younes 0dcc01ab34 rename extensions 2021-04-17 18:40:02 +02:00
KHOUBZA Younes fbb983395e update twig template namespace 2021-04-17 18:22:16 +02:00
KHOUBZA Younes 0d077e4ed6 update twig template namespace 2021-04-17 18:22:16 +02:00
KHOUBZA Younes d2edcf2c40 rename symfony extensions 2021-04-17 18:13:10 +02:00
KHOUBZA Younes df9652506b rename symfony extensions 2021-04-17 18:13:10 +02:00
KHOUBZA Younes 6a9c1015e1 rename symfony extensions 2021-04-17 18:13:10 +02:00
KHOUBZA Younes de61fee3b1 rename symfony extensions 2021-04-17 18:13:10 +02:00
KHOUBZA Younes a4aa5f5942 rename symfony extensions 2021-04-17 18:13:10 +02:00
KHOUBZA Younes fa40c86a33 rename symfony extensions 2021-04-17 18:13:10 +02:00
KHOUBZA Younes d716ef7d63 rename symfony extensions 2021-04-17 18:13:10 +02:00
KHOUBZA Younes 1c62ad0c33 rename symfony bundles names to fix symfony flex bundle auto register 2021-04-17 17:57:12 +02:00
KHOUBZA Younes e8f8382892 rename symfony bundles names to fix symfony flex bundle auto register 2021-04-17 17:57:12 +02:00
KHOUBZA Younes 84d877acb6 rename symfony bundles names to fix symfony flex bundle auto register 2021-04-17 17:57:12 +02:00
KHOUBZA Younes 7545e25751 rename symfony bundles names to fix symfony flex bundle auto register 2021-04-17 17:57:12 +02:00
KHOUBZA Younes 04d67a8f9a rename symfony bundles names to fix symfony flex bundle auto register 2021-04-17 17:57:12 +02:00
KHOUBZA Younes d1c143c73a rename symfony bundles names to fix symfony flex bundle auto register 2021-04-17 17:57:12 +02:00
KHOUBZA Younes 081be7dc7d rename symfony bundles names to fix symfony flex bundle auto register 2021-04-17 17:57:12 +02:00
KHOUBZA Younes 92751471ac update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 76d1dab96d update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes a8a0762ccd update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 0f464b8664 update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 6416b5b96e update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 7584cc0079 update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 8119a20042 update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 30f5b2feb4 update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 5371b25275 update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes fb9cd26fbf update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 58b513de72 update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 5b51ecf213 update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 4e57ca3a3c update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 9163e9d515 update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes b4c615fbd3 update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 61c0cc5d8a update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 1ae552e3ae update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes bd9f54d0f0 update composer.json 2021-04-16 20:26:48 +02:00
KHOUBZA Younes 0a4834e52f clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes fdb080f9cd clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 140a619c8b clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 088d43c4a7 clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 412a314dbf clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 906729c413 clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes e9b4b90711 clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 0b87deac73 clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 6007b9cdb5 clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 592598babc clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 979a614ffe clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 5d3f797011 clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes ac3b15d015 clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes c38bad4bca clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 97ae160e61 clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 82369e2f8d clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 70e99aaac3 clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes 710864985a clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes deaf86ab2d clean up code 2021-04-16 20:08:36 +02:00
KHOUBZA Younes a394e471a8 refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes b582acc4ca refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes 144273dc5a refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes 7addd86a3e refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes 831025c6c6 refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes aba035793a refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes 5377dc3b0e refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes d7e8534d15 refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes fd013a201e refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes a35a09d305 refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes 8c1c6ad59e refactor symfony bundle configuration and response manager 2021-02-09 05:15:19 +01:00
KHOUBZA Younes a061b9d0d1 addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
KHOUBZA Younes 7b959f53fe addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
KHOUBZA Younes 7bbcd47c2d addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
KHOUBZA Younes 8196e7c3cc addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
KHOUBZA Younes d71c626652 addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
KHOUBZA Younes 6c241f9360 addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
KHOUBZA Younes 0956aba75c addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
KHOUBZA Younes 79735cb593 addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
KHOUBZA Younes b31bb84498 addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
KHOUBZA Younes 4de883bced addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
KHOUBZA Younes f0a77abaec addoptions to flasher libraries builders 2021-01-09 08:19:35 +01:00
Younes Khoubza 845aa308c7 Update issue templates 2020-12-23 05:02:10 +01:00
Younes Khoubza 16f58b62e9 Create LICENSE 2020-12-23 04:59:57 +01:00
Younes Khoubza 19aa3fe5d2 Create CONTRIBUTING.md 2020-12-23 04:59:36 +01:00
Younes Khoubza 8564a40474 Create CODE_OF_CONDUCT.md 2020-12-23 04:57:30 +01:00
Khoubza Younes e7e165eed5 update symfony composer.json 2020-12-18 10:32:07 +01:00
Khoubza Younes cdb39d8e6b update symfony composer.json 2020-12-18 10:32:07 +01:00
Khoubza Younes 6d68aba671 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes e6c39d5db7 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes ea2533aacd update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes 10f6760516 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes e8d23a98f4 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes 93a7638b79 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes 73494e9fdd update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes 786135ec3f update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes b34832d32e update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes 066b880be9 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes ac445cdb89 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes 78570538f3 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes 65e882bd76 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes 5eb6866103 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes 4420afdb50 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes e1fb55f4af update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes b214a550d3 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes f12709194f update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes fdbabb6762 update home page 2020-12-17 11:26:35 +01:00
Khoubza Younes bfcf433215 update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes fbe8f2179a update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 2db52f0de4 update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 7a651bfdd5 update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 12044eaf7b update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 035635eebb update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes cdda291df5 update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 802d062abc update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes ab7f483632 update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 6fb2112998 update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 66721e1f2b update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 102691a71d update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 06ae5d965d update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 3867854864 update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 2f47286364 update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 9872a0caa6 update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes ff375d824e update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 885eea1f1c update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 6c4353caa2 update README.md for all packages 2020-12-17 11:22:04 +01:00
Khoubza Younes 99a5373160 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes f5e59ad8f4 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 79f7bfb6d4 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 68f458e85d add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes cc5c31cbc6 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 345d37ae9e add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 728d059ea2 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 09d9d70ed9 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 330bdaeacb add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 442b0578c4 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes a1b84fc182 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes c35ebcc133 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 54d847510d add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes e445aa3081 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 5850cc7bc9 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 3c13360bdb add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes ab386ed32b add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 13aa293599 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 12a30bdf45 add open_collective to FUNDING.yml 2020-12-17 11:02:48 +01:00
Khoubza Younes 633dba8dde update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 19959fc3d1 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 66fd27bbd7 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes ec562f6ccc update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes a4efc1808d update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 3f497be864 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 32a00cb6fd update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 87d392eed8 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 94fafbfc00 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 987a4cbc87 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 7be071ffa6 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes d879464955 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes f820c19d91 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes cf0c0d84d7 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 284cbe402d update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 987a760375 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 7cfa5ace80 update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 2d3efbc5fd update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 3bf3e6520d update README.md for all packages 2020-12-17 11:00:17 +01:00
Khoubza Younes 06fe240fa7 fix tests 2020-12-17 09:52:54 +01:00
Khoubza Younes cb504b5424 fix tests 2020-12-17 09:52:54 +01:00
Khoubza Younes 3e0e0a9922 fix tests 2020-12-17 09:52:54 +01:00
Khoubza Younes 3dd56f2e71 fix tests 2020-12-17 09:52:54 +01:00
Khoubza Younes 8af1dad179 fix tests 2020-12-17 09:52:54 +01:00
Khoubza Younes a600a2f7be fix tests 2020-12-17 09:52:54 +01:00
Khoubza Younes d8a5ece5bd update laravel config 2020-12-17 07:05:07 +01:00
Khoubza Younes e0676a6083 update laravel config 2020-12-17 07:05:07 +01:00
Khoubza Younes d60d5f40f0 update laravel config 2020-12-17 07:05:07 +01:00
Khoubza Younes 4af3afd293 update laravel config 2020-12-17 07:05:07 +01:00
Khoubza Younes 115315d2cc update laravel config 2020-12-17 07:05:07 +01:00
Khoubza Younes 78f56f8002 update laravel config 2020-12-17 07:05:07 +01:00
Khoubza Younes cfe61d9b5f update laravel config 2020-12-17 07:05:07 +01:00
Khoubza Younes dd56420087 register blade directive for laravel 5.1 2020-12-17 01:01:04 +01:00
Khoubza Younes 0bdb2f4b46 register blade directive for laravel 5.1 2020-12-17 01:01:04 +01:00
Khoubza Younes 11a6d0d992 fix blade directive tests 2020-12-17 00:53:45 +01:00
Khoubza Younes db9bc41920 fix blade directive tests 2020-12-17 00:53:45 +01:00
KHOUBZA Younes eef2c32956 remove lumen support and clean up service provider 2020-12-17 00:27:12 +01:00
KHOUBZA Younes 36e7ce3a92 remove lumen support and clean up service provider 2020-12-17 00:27:12 +01:00
KHOUBZA Younes 10cd4b63a4 remove lumen support and clean up service provider 2020-12-17 00:27:12 +01:00
KHOUBZA Younes 9224603895 remove lumen support and clean up service provider 2020-12-17 00:27:12 +01:00
KHOUBZA Younes 67c01845a6 remove lumen support and clean up service provider 2020-12-17 00:27:12 +01:00
KHOUBZA Younes 12f0277802 remove lumen support and clean up service provider 2020-12-17 00:27:12 +01:00
KHOUBZA Younes e46210f6f3 remove lumen support and clean up service provider 2020-12-17 00:27:12 +01:00
KHOUBZA Younes 887664e582 remove lumen support and clean up service provider 2020-12-17 00:27:12 +01:00
Khoubza Younes bafae9b520 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes eeeac6ae74 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 1834d3aa70 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes b388e5caec run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 08d15e6803 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 9822a86912 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 64dc1d697c run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes c2b3e0bf43 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 6b4b5788a8 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 942c365505 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 769669c5f1 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes c0c02f49f6 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 77e401bffb run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 6caa731e57 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes ac8d393c05 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 88bf603a97 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 1fa4aed732 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 721ab08e64 run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes bfd3ff05be run tests on stable versions 2020-12-16 08:58:28 +01:00
Khoubza Younes 3db639f6c0 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 5e857b5143 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 324d3b9b87 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 6d389be40d run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes f6f535a7d1 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 4b77649187 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 3a965ce089 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes cb17a3904b run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 2bad811061 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 811d54dba8 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes e256498a03 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 2f8391f46c run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes cf85877d2a run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 3ecbb70ee6 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes f94b88b6b1 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes cfc8c0e05f run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes a2fa642d41 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 55359af698 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 57922aedd4 run tests on stable versions 2020-12-16 08:48:36 +01:00
Khoubza Younes 8de84d8e19 Wip 2020-12-16 08:38:12 +01:00
Khoubza Younes 5f3b75db2c add bootstrap and tailwindcss_bg templates 2020-12-16 03:36:18 +01:00
Khoubza Younes dc6e72f3b4 add bootstrap and tailwindcss_bg templates 2020-12-16 03:36:18 +01:00
Khoubza Younes cd7593b19f add bootstrap and tailwindcss_bg templates 2020-12-16 03:36:18 +01:00
KHOUBZA Younes 5ac7c33d16 update tests 2020-12-15 15:17:00 +01:00
KHOUBZA Younes 3c6e08c1e5 update tests 2020-12-15 15:17:00 +01:00
KHOUBZA Younes 9b86a8edaf update tests 2020-12-15 15:17:00 +01:00
KHOUBZA Younes 453329db2b update tests 2020-12-15 15:17:00 +01:00
KHOUBZA Younes 3cbc385ec6 update tests 2020-12-15 15:17:00 +01:00
KHOUBZA Younes 7c03f8d3f9 update tests 2020-12-15 15:17:00 +01:00
KHOUBZA Younes 3c55d3f0fb update tests 2020-12-15 15:17:00 +01:00
KHOUBZA Younes 59da4a3466 update tests 2020-12-15 15:17:00 +01:00
KHOUBZA Younes 3f9cfddb29 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 4a4c273ed5 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes d5a9d616d4 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 28b35784d6 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 9fe9e323f2 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 69d1d9486a update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 3b95e28baf update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes e46a7c0540 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 4ce4afd971 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 1ee48576d3 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 2a3202993d update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 58dd256906 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 709011741e update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 09a3162a41 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes fe6b450eae update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 6879b99084 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 01981a83bd update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes 73a8d8fea3 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
KHOUBZA Younes fe0a69b8c5 update factories and add tailwindcss template 2020-12-15 15:00:08 +01:00
Khoubza Younes 05ecb6a7b2 fix release.sh 2020-12-14 09:25:11 +01:00
Khoubza Younes f058de16df tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 709a1e1fd1 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 4df91eed10 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 114ba39c10 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 6ff4757898 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 6e3ee1de9e tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes a9c175f347 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 2bf520146b tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 0156fa8376 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes f81ac3a054 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes a8260a3843 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 05f65d242d tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 65d80a9a35 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes f735683fbc tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 70027c1a65 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes 5d91e0291e tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes b478e4498c tag 0.1.0 version 2020-12-14 09:20:45 +01:00
Khoubza Younes a6bab45432 tag 0.1.0 version 2020-12-14 09:20:45 +01:00
KHOUBZA Younes 07fb39cd76 update symfony pnotify configuration 2020-12-14 09:17:25 +01:00
KHOUBZA Younes 41b37e773c update symfony pnotify configuration 2020-12-14 09:17:25 +01:00
Khoubza Younes a9f3e94d2b fix filters 2020-12-13 13:49:01 +01:00
Khoubza Younes 90ee4601fd fix filters 2020-12-13 13:49:01 +01:00
Khoubza Younes 11279d9c47 fix tests 2020-12-13 13:37:21 +01:00
Khoubza Younes d7fc22280d fix tests 2020-12-13 13:37:21 +01:00
Khoubza Younes 86b8d145cb update workflow.yml 2020-12-13 13:31:21 +01:00
Khoubza Younes 64dc4d6581 update workflow.yml 2020-12-13 13:31:21 +01:00
Khoubza Younes 15dcc9d085 update workflow.yml 2020-12-13 13:23:56 +01:00
Khoubza Younes a6d4056d18 update workflow.yml 2020-12-13 13:23:56 +01:00
Khoubza Younes 18f6cb637c update workflow.yml 2020-12-13 13:13:08 +01:00
Khoubza Younes 8a40a8a37f update workflow.yml 2020-12-13 13:13:08 +01:00
Khoubza Younes b57b253e33 update workflow.yml 2020-12-13 13:09:18 +01:00
Khoubza Younes c462acb545 update workflow.yml 2020-12-13 13:09:18 +01:00
Khoubza Younes fedb3727a2 update workflow.yml 2020-12-13 13:04:12 +01:00
Khoubza Younes 39975aba46 update workflow.yml 2020-12-13 13:04:12 +01:00
Khoubza Younes fddebf94e5 fix tests for laravel 5.1 2020-12-13 12:58:35 +01:00
Khoubza Younes 7bc1924269 fix tests for laravel 5.1 2020-12-13 12:58:35 +01:00
Khoubza Younes f388386c04 run adapters test on laravel 2020-12-13 12:01:32 +01:00
Khoubza Younes c4e27a3e17 run adapters test on laravel 2020-12-13 12:01:32 +01:00
Khoubza Younes 17710998ad run adapters test on laravel 2020-12-13 12:01:32 +01:00
Khoubza Younes 9a22965f5d run adapters test on laravel 2020-12-13 12:01:32 +01:00
Khoubza Younes 8d608aa2c4 run adapters test on laravel 2020-12-13 12:01:32 +01:00
Khoubza Younes 2214556bbc run adapters test on laravel 2020-12-13 12:01:32 +01:00
Khoubza Younes 4e5905e505 run adapters test on laravel 2020-12-13 12:01:32 +01:00
Khoubza Younes f07c999c9a run adapters test on laravel 2020-12-13 12:01:32 +01:00
Khoubza Younes 7c9c7fc6ca update symfony composer.json 2020-12-13 08:14:30 +01:00
Khoubza Younes 3eb1944711 update symfony composer.json 2020-12-13 08:14:30 +01:00
Khoubza Younes bce8eee039 fix laravel adapters tests 2020-12-13 08:07:49 +01:00
Khoubza Younes 4b3416aa73 fix laravel adapters tests 2020-12-13 08:07:49 +01:00
Khoubza Younes b5c8407338 fix laravel adapters tests 2020-12-13 08:07:49 +01:00
Khoubza Younes d7d8f3ccaa fix laravel adapters tests 2020-12-13 08:07:49 +01:00
Khoubza Younes cabdbec91d fix laravel adapters tests 2020-12-13 08:07:49 +01:00
Khoubza Younes 9d64950afd fix laravel adapters tests 2020-12-13 08:07:49 +01:00
Khoubza Younes f7c6fd1968 resolve circular dependecy between event_dispatcher and storage_manager 2020-12-13 07:33:03 +01:00
Khoubza Younes 99302f8668 resolve circular dependecy between event_dispatcher and storage_manager 2020-12-13 07:33:03 +01:00
Khoubza Younes 70ef751c6f resolve circular dependecy between event_dispatcher and storage_manager 2020-12-13 07:33:03 +01:00
Khoubza Younes c32ca59fa3 resolve circular dependecy between event_dispatcher and storage_manager 2020-12-13 07:33:03 +01:00
Khoubza Younes 2385fb2df9 resolve circular dependecy between event_dispatcher and storage_manager 2020-12-13 07:33:03 +01:00
Khoubza Younes 801a32480f remove setup 2020-12-12 10:00:39 +01:00
Khoubza Younes 9ae798e210 remove setup 2020-12-12 10:00:39 +01:00
Khoubza Younes 88db5e05ce remove setup 2020-12-12 10:00:39 +01:00
Khoubza Younes 6a1e5b8829 add sweet alert symfony tests 2020-12-12 09:23:06 +01:00
Khoubza Younes 9c2b9e7f40 add sweet alert symfony tests 2020-12-12 09:23:06 +01:00
Khoubza Younes 5a7fbf7402 add noty symfony tests 2020-12-12 09:17:24 +01:00
Khoubza Younes 106943ce3c add noty symfony tests 2020-12-12 09:17:24 +01:00
Khoubza Younes 15ed83c60f add notyf symfony tests 2020-12-12 09:15:57 +01:00
Khoubza Younes a5dae13ee6 add notyf symfony tests 2020-12-12 09:15:57 +01:00
Khoubza Younes 8b496f32cc add pnotify symfony tests 2020-12-12 09:14:14 +01:00
Khoubza Younes 842c621b3d add pnotify symfony tests 2020-12-12 09:14:14 +01:00
Khoubza Younes aae2c11f77 add toastr symfony tests 2020-12-12 09:11:32 +01:00
Khoubza Younes 938748fb22 add toastr symfony tests 2020-12-12 09:11:32 +01:00
Khoubza Younes ade1d451e2 add toastr symfony tests 2020-12-12 09:11:32 +01:00
Khoubza Younes 2483a0060f add symfony bundle tests 2020-12-12 08:37:30 +01:00
Khoubza Younes e11bdf2f15 add symfony bundle tests 2020-12-12 08:37:30 +01:00
Khoubza Younes 0ff4c8c936 add more tests 2020-12-12 06:14:50 +01:00
Khoubza Younes de14f39752 add more tests 2020-12-12 06:14:50 +01:00
Khoubza Younes b267378ce3 add more tests 2020-12-11 09:41:31 +01:00
Khoubza Younes 13b607be63 add more tests 2020-12-11 09:41:31 +01:00
Khoubza Younes c23b9055f4 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 0ff7f2dfdd update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes f1e20ec925 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 8ef3560afb update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes e8e7a95a31 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes ae800e996b update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 66b8fd702d update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 74bc4ec309 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 3432ff9629 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 37a6ef5b0a update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 27879586f3 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 796b89e89f update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes c713274e01 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes d1c40ff139 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 3b703e40d9 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes e72f41c86f update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 1d7ca6f355 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 8008bfecf1 update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 258adceacb update tests for flasher prime repository 2020-12-11 08:56:17 +01:00
Khoubza Younes 55c333ba41 update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 9839275b8f update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 51d778fe3e update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes ab5d4ab2d6 update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 398086d836 update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 077ffdc8ef update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes f057607ab4 update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 62a31a023a update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 5567083b91 update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 2fa224afda update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes ab4b8196be update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes ebfba740f3 update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 82f8e31b9a update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 4c719cd120 update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 8379928808 update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 46c4b76f25 update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes e1cbf84bfb update laravel and js files 2020-12-10 13:55:46 +01:00
Khoubza Younes 70e1047991 add responses handlers : html and array 2020-12-10 10:47:31 +01:00
Khoubza Younes 977c2debbe add responses handlers : html and array 2020-12-10 10:47:31 +01:00
Khoubza Younes 551ee255fd add responses handlers : html and array 2020-12-10 10:47:31 +01:00
Khoubza Younes 8c5642c57b add responses handlers : html and array 2020-12-10 10:47:31 +01:00
KHOUBZA Younes df3ba13b07 update listeners and add criteria filters 2020-12-10 09:26:42 +01:00
KHOUBZA Younes fc60e44dd0 update listeners and add criteria filters 2020-12-10 09:26:42 +01:00
KHOUBZA Younes 4442a9acdc update listeners and add criteria filters 2020-12-10 09:26:42 +01:00
KHOUBZA Younes 677fa4a990 update listeners and add criteria filters 2020-12-10 09:26:42 +01:00
Khoubza Younes cc71bb80f0 update session listener inject javascript before html tag instead of body 2020-12-10 05:13:54 +01:00
Khoubza Younes e783029e52 update session listener inject javascript before html tag instead of body 2020-12-10 05:13:54 +01:00
Khoubza Younes 75617dd2fd update session listener inject javascript before html tag instead of body 2020-12-10 05:13:54 +01:00
Khoubza Younes f270e79176 update session listener inject javascript before html tag instead of body 2020-12-10 05:13:54 +01:00
Khoubza Younes 6e01e50810 update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 762cd70af9 update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes f2494da23e update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 5becf4f40c update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 869e4e25cf update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 8401196193 update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 044a916306 update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes a2721e419c update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 93380a6c5b update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes ae34c8243a update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 0872391e30 update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 0d009abfb5 update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 6cb69e28a0 update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 25d30053dd update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes c7dc1abd0a update flasherjs and flasher symfony bundle 2020-12-10 04:55:20 +01:00
Khoubza Younes 2d135ec76e add flasher js 2020-12-09 23:38:05 +01:00
Khoubza Younes 47e40fd573 add flasher js 2020-12-09 23:38:05 +01:00
Khoubza Younes 2d5cba4db2 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes fd91b2c704 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 97600cdad9 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 28d56985a5 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 0b1ddc203b remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes fc68bd8155 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 29f04b7854 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 17540da68a remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 410d20eaf0 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 3d6fdaa5c9 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 3a2825aee1 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 45c6d1b73f remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 4acadd31d4 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 97a8b0af13 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 7a5d8c044f remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 95e6732315 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes 0af6956745 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes eade70b767 remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes fa21d27ccd remove middelawares and delete renderer and rename presenter to renderer 2020-12-08 22:33:56 +01:00
Khoubza Younes ea3123cdb2 clean up code and transfer rendering responsability to js code 2020-12-08 09:24:33 +01:00
Khoubza Younes b27288baa1 clean up code and transfer rendering responsability to js code 2020-12-08 09:24:33 +01:00
Khoubza Younes 1f33763b73 clean up code and transfer rendering responsability to js code 2020-12-08 09:24:33 +01:00
Khoubza Younes 3f9b25378f clean up code and transfer rendering responsability to js code 2020-12-08 09:24:33 +01:00
Khoubza Younes 2e33aa44be clean up code and transfer rendering responsability to js code 2020-12-08 09:24:33 +01:00
Khoubza Younes a1f7b5737e Merge remote-tracking branch 'origin/main' into main 2020-12-07 17:35:53 +01:00
Khoubza Younes c7439e89e9 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 348a2f9a35 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 8db925e4ff add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 761372300a add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 44330d3f3e add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 4959325028 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 86f689c3c0 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 23eb8e0fdd add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 43a69591b1 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 58a28dabb6 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 23c19fb55e add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 90c969ed51 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 37c778b2f0 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 92fc8ba814 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes e73d0e936a add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 3661c59c75 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 132a969a6c add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes ec318b4366 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Khoubza Younes 9250b6fdf5 add FUNDING.yml file 2020-12-07 17:34:15 +01:00
Younes Khoubza 73593899f5 Create FUNDING.yml 2020-12-07 17:29:03 +01:00
Khoubza Younes d6af08a2a9 add laravel model observers to send flash notifications on eloquent events 2020-12-07 07:00:33 +01:00
Khoubza Younes fe703563f7 add laravel model observers to send flash notifications on eloquent events 2020-12-07 07:00:33 +01:00
Khoubza Younes 599740642b add laravel model observers to send flash notifications on eloquent events 2020-12-07 07:00:33 +01:00
Khoubza Younes 802aed76ce add laravel model observers to send flash notifications on eloquent events 2020-12-07 07:00:33 +01:00
Khoubza Younes 6f64507514 add laravel model observers to send flash notifications on eloquent events 2020-12-07 07:00:33 +01:00
Khoubza Younes b0bbf4a35e add shortcut methods : addSuccess, addError, addWarning and addInfo 2020-12-07 04:41:06 +01:00
Khoubza Younes 8603a62c5c add shortcut methods : addSuccess, addError, addWarning and addInfo 2020-12-07 04:41:06 +01:00
Khoubza Younes d0c0a0340a rename builder dispatch method to flash and add addFlash method 2020-12-07 04:35:29 +01:00
Khoubza Younes 726f4574d3 rename builder dispatch method to flash and add addFlash method 2020-12-07 04:35:29 +01:00
Khoubza Younes 88192598e4 convert session flash messages into flasher messages 2020-12-07 04:13:58 +01:00
Khoubza Younes 8a137c1b57 convert session flash messages into flasher messages 2020-12-07 04:13:58 +01:00
Khoubza Younes c09b3e2929 convert session flash messages into flasher messages 2020-12-07 04:13:58 +01:00
Khoubza Younes 3b40b54f8a convert session flash messages into flasher messages 2020-12-07 04:13:58 +01:00
Khoubza Younes a871f23077 convert session flash messages into flasher messages 2020-12-07 04:13:58 +01:00
Khoubza Younes 3b7ba873ca fix noty library 2020-12-07 01:01:50 +01:00
Khoubza Younes f2fbca6ced fix noty library 2020-12-07 01:01:50 +01:00
Khoubza Younes 1bbb748b9e fix noty library 2020-12-07 01:01:50 +01:00
KHOUBZA Younes 1b0c59d656 fix blade flasher_directive 2020-12-07 00:42:14 +01:00
KHOUBZA Younes 3c2ae3882a fix blade flasher_directive 2020-12-07 00:42:14 +01:00
Khoubza Younes cb44636386 fix namespace declaration 2020-12-07 00:33:28 +01:00
Khoubza Younes ed8b1fcaa0 fix namespace declaration 2020-12-07 00:33:28 +01:00
Khoubza Younes d5478252bc fix namespace declaration 2020-12-07 00:33:28 +01:00
Khoubza Younes 66911bffd2 fix namespace declaration 2020-12-07 00:33:28 +01:00
Khoubza Younes 5fe9233335 add noty library support 2020-12-06 23:36:29 +01:00
Khoubza Younes e3406d57ff add noty library support 2020-12-06 23:36:29 +01:00
Khoubza Younes 2654a62ad9 add noty library support 2020-12-06 23:36:29 +01:00
Khoubza Younes 043c381c27 add noty library support 2020-12-06 23:36:29 +01:00
Khoubza Younes 556a72f45f fix github workflow 2020-12-06 23:11:20 +01:00
Khoubza Younes 78742afa52 fix github workflow 2020-12-06 23:11:20 +01:00
Khoubza Younes 9bff152436 fix github workflow 2020-12-06 23:11:20 +01:00
Khoubza Younes 21628219ea fix github workflow 2020-12-06 23:11:20 +01:00
Khoubza Younes d8d7822fa3 fix github workflow 2020-12-06 23:11:20 +01:00
Khoubza Younes 9dd1d324b5 fix github workflow 2020-12-06 23:11:20 +01:00
Khoubza Younes 4b1d1e32bc fix github workflow 2020-12-06 22:40:32 +01:00
Khoubza Younes a4b2f77842 fix github workflow 2020-12-06 22:40:32 +01:00
Khoubza Younes 636da37e23 fix github workflow 2020-12-06 22:40:32 +01:00
Khoubza Younes 35c3bd6649 fix github workflow 2020-12-06 22:40:32 +01:00
Khoubza Younes cda24d13c9 fix github workflow 2020-12-06 22:40:32 +01:00
Khoubza Younes 4b109f52b6 fix github workflow 2020-12-06 22:40:32 +01:00
Khoubza Younes 9cce2979fa fix github workflow 2020-12-06 22:40:32 +01:00
Khoubza Younes 46efd611cb fix github workflow 2020-12-06 22:40:32 +01:00
Khoubza Younes 282706967b fix github workflow 2020-12-06 22:14:02 +01:00
Khoubza Younes eb10fd7814 fix github workflow 2020-12-06 22:14:02 +01:00
Khoubza Younes 020a09f650 fix github workflow 2020-12-06 22:14:02 +01:00
Khoubza Younes 18681b009c fix github workflow 2020-12-06 22:14:02 +01:00
Khoubza Younes 74eb487634 fix github workflow 2020-12-06 22:14:02 +01:00
Khoubza Younes 54b82469a6 fix github workflow 2020-12-06 22:14:02 +01:00
Khoubza Younes b773b2f679 fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes f772a1cf5c fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes 394ffae2e9 fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes 0136d0bec8 fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes 934c24bba5 fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes f6e646ef1d fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes 0611616f5a fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes f95ebf500a fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes 1b7c862d1a fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes 554efc791c fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes cc1beb819f fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes 82f8947829 fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes eaa55c4f29 fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes 6d8ec7c414 fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes 7eac9c52a3 fix github workflow 2020-12-06 21:40:28 +01:00
Khoubza Younes f023e0b6e0 fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 05837bf94a fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 9dbcf3e104 fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 37a4d60b23 fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 80332faef6 fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes ca4ce1e397 fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes aeb4452b72 fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 7415c24e3b fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 30a46a1a74 fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 6819a5677b fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes bcf169bc19 fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 57a7b5db55 fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 23fc39806c fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes a28fd3c6ba fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 277c5ebf5b fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 3126aced13 fix github workflow 2020-12-06 21:27:21 +01:00
Khoubza Younes 0618a8348d fix github workflow 2020-12-06 21:24:42 +01:00
Khoubza Younes 5db77c2066 fix github workflow 2020-12-06 21:24:42 +01:00
Khoubza Younes 2ab7a309e9 fix github workflow 2020-12-06 21:21:33 +01:00
Khoubza Younes 61bb606d8d fix github workflow 2020-12-06 21:21:33 +01:00
Khoubza Younes 45091b0179 update github worklow.yaml 2020-12-06 21:19:35 +01:00
Khoubza Younes 583ba76cf6 update github worklow.yaml 2020-12-06 21:19:35 +01:00
Khoubza Younes 780befdccf update github worklow.yaml 2020-12-06 21:19:35 +01:00
Khoubza Younes 4e55d927e1 update github worklow.yaml 2020-12-06 21:19:35 +01:00
Khoubza Younes 5f372a387e update github worklow.yaml 2020-12-06 21:19:35 +01:00
Khoubza Younes ea6c129a7f update github worklow.yaml 2020-12-06 21:19:35 +01:00
Khoubza Younes eda9a6bf85 fix github workflow 2020-12-06 21:04:59 +01:00
Khoubza Younes 360732567c fix github workflow 2020-12-06 21:04:59 +01:00
Khoubza Younes 272fb0a375 fix github workflow 2020-12-06 21:04:59 +01:00
Khoubza Younes e98e8ac381 fix github workflow 2020-12-06 21:04:59 +01:00
Khoubza Younes 316b2be06f fix github workflow 2020-12-06 21:04:59 +01:00
Khoubza Younes 363f288ce8 fix github workflow 2020-12-06 21:04:59 +01:00
Khoubza Younes 89ad3ac8e6 fix phpunit version 2020-12-06 21:02:07 +01:00
Khoubza Younes e26e065fbe fix phpunit version 2020-12-06 21:02:07 +01:00
Khoubza Younes 79a6141cc2 fix phpunit version 2020-12-06 21:02:07 +01:00
Khoubza Younes 73a1329ce9 fix phpunit version 2020-12-06 21:02:07 +01:00
Khoubza Younes a9082c5fc3 fix phpunit version 2020-12-06 21:02:07 +01:00
Khoubza Younes 9064e82a62 fix phpunit version 2020-12-06 21:02:07 +01:00
Khoubza Younes 8d110f73ab remove helpers.php from composer.json 2020-12-06 20:56:39 +01:00
Khoubza Younes 3a3b842b03 remove helpers.php from composer.json 2020-12-06 20:56:39 +01:00
Khoubza Younes dc73732d92 update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes ab0eff3b28 update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes ee6d92c674 update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes fae720bc57 update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes 0232f473f5 update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes 4347f1b77f update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes 833f557470 update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes 33c9ee0634 update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes 3a41ed8ebc update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes 64629b4fb7 update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes f568f339f2 update github worklow.yaml 2020-12-06 19:39:19 +01:00
Khoubza Younes 130be14d57 fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes c92c56dc1c fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes 9a01018621 fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes b99e2f5d06 fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes 248bca690c fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes 21643136f7 fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes 95c89579c7 fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes 6630f5a7f2 fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes 6f986d22a2 fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes 5e7c7ad9e5 fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes 9a7bf9a70b fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes b73c8c87fb fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes bf46ae41be fix all tests 2020-12-06 19:33:03 +01:00
Khoubza Younes b331223d5b fix tests for toastr laravel 2020-12-06 19:16:55 +01:00
Khoubza Younes cf3a5f3d71 fix tests for toastr laravel 2020-12-06 19:16:55 +01:00
Khoubza Younes 1e6207c340 fix test for flasher laravel 2020-12-06 19:11:13 +01:00
Khoubza Younes 0710541418 fix test for flasher laravel 2020-12-06 19:11:13 +01:00
Khoubza Younes 30f0f2a774 fix test for flasher laravel 2020-12-06 19:11:13 +01:00
Khoubza Younes bb9b91561b fix test for flasher laravel 2020-12-06 19:11:13 +01:00
Khoubza Younes 97570ea4c6 fix test for flasher prime 2020-12-06 18:48:56 +01:00
Khoubza Younes ef0290bf31 fix test for flasher prime 2020-12-06 18:48:56 +01:00
Khoubza Younes d9b199144b fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes f6602a67b0 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes 386bfc5cad fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes ad0d43f7b1 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes 16fef63429 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes a298bdbd3a fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes eaf7741ece fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes 59cb677e91 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes f426fd3590 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes 8cbfbd9d16 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes bdcb5d1f11 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes 020f44ead7 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes b7f08bb36b fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes 465e5b7b98 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes 6293a17743 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes 652263c6f3 fix composer.json psr-4 autoloading 2020-12-06 18:29:43 +01:00
Khoubza Younes ce9bc547d2 init fix tests 2020-12-06 18:10:44 +01:00
Khoubza Younes 55ddefe2a6 init fix tests 2020-12-06 18:10:44 +01:00
Khoubza Younes 9fcb224750 init fix tests 2020-12-06 18:10:44 +01:00
Khoubza Younes af8212c600 init fix tests 2020-12-06 18:10:44 +01:00
Khoubza Younes 4cb2fe47c9 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes f09e0fbf96 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes 28873d9c19 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes ba8e1bb44c update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes a817fe603e update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes cdbf84b08a update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes 448a79d7d9 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes 196d8a1164 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes a8ba928464 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes b4506620d3 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes eaddc70285 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes f84b0078c2 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes 329c4f2bc1 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes 6e2d401d21 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes c195da0733 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes 8982c1c263 update namespaces 2020-12-06 17:29:32 +01:00
Khoubza Younes d4b897067a update composer.json 2020-12-06 16:34:11 +01:00
Khoubza Younes c7ded024ac update composer.json 2020-12-06 16:34:11 +01:00
Khoubza Younes 7e20c0b072 update composer.json 2020-12-06 16:34:11 +01:00
Khoubza Younes 88e04e3ba1 update composer.json 2020-12-06 16:34:11 +01:00
Khoubza Younes 88873bc5ab update composer.json 2020-12-06 16:34:11 +01:00
Khoubza Younes 90b3f4fa78 update composer.json 2020-12-06 16:34:11 +01:00
Khoubza Younes ff3b03fa56 clean up config and add delay stamp 2020-12-06 14:04:54 +01:00
Khoubza Younes cf045ec505 clean up config and add delay stamp 2020-12-06 14:04:54 +01:00
Khoubza Younes d83147aab0 clean up config and add delay stamp 2020-12-06 14:04:54 +01:00
Khoubza Younes 7482f1dbc0 remove rendered at stamp middleware and fix storage add method 2020-12-06 06:39:07 +01:00
Khoubza Younes f69d708477 remove rendered at stamp middleware and fix storage add method 2020-12-06 06:39:07 +01:00
Khoubza Younes a244ff8a37 remove rendered at stamp middleware and fix storage add method 2020-12-06 06:39:07 +01:00
Khoubza Younes 183f16485b add phpdoc and phpstorm autocomplete 2020-12-06 06:23:34 +01:00
Khoubza Younes a9e441ca86 add phpdoc and phpstorm autocomplete 2020-12-06 06:23:34 +01:00
Khoubza Younes 3a9c6dcf4f add phpdoc and phpstorm autocomplete 2020-12-06 06:23:34 +01:00
Khoubza Younes 25c27e00f5 update toastr builder options 2020-12-06 05:47:22 +01:00
Khoubza Younes b853863932 update toastr builder options 2020-12-06 05:47:22 +01:00
Khoubza Younes 9eec400167 fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 57c3f7fe9d fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 9349ce6674 fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes bb1c17c4ce fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes adc5f87885 fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 7c2937e041 fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes da28d49d6d fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 7c0df1b28f fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 629f6a0927 fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 5e00bbdeee fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 3a487a3702 fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 5fa41f3e67 fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 1d0c60a5f7 fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes abec490201 fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 45faccced7 fix event dispatcher and call the storage service 2020-12-06 04:03:14 +01:00
Khoubza Younes 10e1ec7aa0 update events 2020-12-04 13:36:17 +01:00
Khoubza Younes 6079871972 update events 2020-12-04 13:36:17 +01:00
Khoubza Younes 3091013c39 remove unused events and notification builder add hops, priority, keep methods 2020-12-04 10:52:01 +01:00
Khoubza Younes 7e31e4abb1 remove unused events and notification builder add hops, priority, keep methods 2020-12-04 10:52:01 +01:00
KHOUBZA Younes 3d0f481656 add dispatcher priority 2020-12-03 10:11:36 +01:00
KHOUBZA Younes 5f386cd0d4 add dispatcher priority 2020-12-03 10:11:36 +01:00
KHOUBZA Younes 431cdcddfc update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 8167f45cbd update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 33e9b5ccf1 update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 0654537fe0 update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 0b6f2c3941 update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 99d083b005 update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 5b6ce0c7d3 update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 977ee004a7 update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 0314b2c712 update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 0b3a585687 update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 99f68a2dee update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 26d4ca787f update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes 045cadcdcf update namespace 2020-12-03 09:15:47 +01:00
KHOUBZA Younes f912a7b32f add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes 948394bb1e add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes eeb7cb2592 add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes c106174ba0 add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes 6eae505680 add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes 723135b615 add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes c8f0bcbcdf add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes 5f6088a7cb add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes fcac94ecf7 add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes ab48dce68a add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes b2a780ae4a add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes 8ce7b34fe0 add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes d09b15c7e4 add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes 0ff63daa2a add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes 03895823a5 add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes 7bac48ac2b add php-notify classes and rename namespaces 2020-12-02 00:57:12 +01:00
KHOUBZA Younes c5069b5c48 first commit 2020-12-01 21:50:13 +01:00
467 changed files with 28803 additions and 12 deletions
+1
View File
@@ -0,0 +1 @@
undefined
+3
View File
@@ -0,0 +1,3 @@
{
"path": "cz-conventional-changelog"
}
+15
View File
@@ -0,0 +1,15 @@
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://editorconfig.org
root = true
[*]
charset = utf-8
indent_size = 4
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
+13
View File
@@ -0,0 +1,13 @@
# Path-based git attributes
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
# Ignore all test and documentation with "export-ignore".
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpunit.xml.dist export-ignore
/.scrutinizer.yml export-ignore
/.styleci.yml export-ignore
/tests export-ignore
/.editorconfig export-ignore
+5
View File
@@ -0,0 +1,5 @@
github: yoeunes
patreon: yoeunes
ko_fi: yoeunes
open_collective: php-flasher
custom: https://www.paypal.com/paypalme/yoeunes
+147
View File
@@ -0,0 +1,147 @@
name: tests
on:
push:
jobs:
symfony-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
symfony: [ 7.1.*, 7.0.*, 6.4.*, 6.3.*, 6.2.*, 6.1.*, 6.0.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.4.*, 4.3.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.8.*, 2.7.*, 2.6.*, 2.5.*, 2.4.*, 2.3.*, 2.2.*, 2.1.*, 2.0.* ]
include:
- { symfony: 7.1.*, php: 8.3, phpunit: 10.5.* }
- { symfony: 7.0.*, php: 8.2, phpunit: 10.5.* }
- { symfony: 6.4.*, php: 8.2, phpunit: 9.5.* }
- { symfony: 6.3.*, php: 8.2, phpunit: 9.5.* }
- { symfony: 6.2.*, php: 8.1, phpunit: 9.5.* }
- { symfony: 6.1.*, php: 8.1, phpunit: 9.5.* }
- { symfony: 6.0.*, php: 8.0, phpunit: 9.5.* }
- { symfony: 5.4.*, php: 7.2, phpunit: 8.3.* }
- { symfony: 5.3.*, php: 7.2, phpunit: 8.3.* }
- { symfony: 5.2.*, php: 7.2, phpunit: 8.3.* }
- { symfony: 5.1.*, php: 7.2, phpunit: 8.3.* }
- { symfony: 5.0.*, php: 7.2, phpunit: 8.3.* }
- { symfony: 4.4.*, php: 7.1, phpunit: 7.0.* }
- { symfony: 4.3.*, php: 7.1, phpunit: 7.0.* }
- { symfony: 4.2.*, php: 7.1, phpunit: 7.0.* }
- { symfony: 4.1.*, php: 7.1, phpunit: 7.0.* }
- { symfony: 4.0.*, php: 7.1, phpunit: 7.0.* }
- { symfony: 3.4.*, php: 5.5, phpunit: 4.8.36 }
- { symfony: 3.3.*, php: 5.5, phpunit: 4.8.36 }
- { symfony: 3.2.*, php: 5.5, phpunit: 4.8.36 }
- { symfony: 3.1.*, php: 5.5, phpunit: 4.8.36 }
- { symfony: 3.0.*, php: 5.5, phpunit: 4.8.36 }
- { symfony: 2.8.*, php: 5.3, phpunit: 4.8.36 }
- { symfony: 2.7.*, php: 5.3, phpunit: 4.8.36 }
- { symfony: 2.6.*, php: 5.3, phpunit: 4.8.36 }
- { symfony: 2.5.*, php: 5.3, phpunit: 4.8.36 }
- { symfony: 2.4.*, php: 5.3, phpunit: 4.8.36 }
- { symfony: 2.3.*, php: 5.3, phpunit: 4.8.36 }
- { symfony: 2.2.*, php: 5.3, phpunit: 4.8.36 }
- { symfony: 2.1.*, php: 5.3, phpunit: 4.8.36 }
- { symfony: 2.0.*, php: 5.3, phpunit: 4.8.36 }
name: symfony[${{ matrix.symfony }}] php[${{ matrix.php }}] - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-composer
- name: Install dependencies
run: |
sed -i '/\"require\": {/,/},/d; /\"require-dev\": {/,/},/d' composer.json
composer config --global allow-plugins true
composer config extra.symfony.require "${{ matrix.symfony }}"
if [[ "${{ matrix.symfony }}" == "7.0.*" || "${{ matrix.symfony }}" == "7.1.*" ]]; then
composer require "symfony/config:${{ matrix.symfony }}" \
"symfony/console:${{ matrix.symfony }}" \
"symfony/dependency-injection:${{ matrix.symfony }}" \
"symfony/http-kernel:${{ matrix.symfony }}" \
"symfony/translation:${{ matrix.symfony }}" \
"symfony/framework-bundle:${{ matrix.symfony }}" \
"symfony/twig-bundle:${{ matrix.symfony }}" \
"phpunit/phpunit:${{ matrix.phpunit }}" \
"monolog/monolog" --no-interaction --no-update
else
composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" "monolog/monolog" --no-interaction --no-update
fi
composer update --prefer-stable --prefer-dist
- name: Execute tests
run: vendor/bin/phpunit --configuration=phpunit-symfony.xml
laravel-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
laravel: [ 11.*, 10.*, 9.*, 8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.* ]
include:
- { laravel: 11.*, testbench: 9.*, php: 8.3, phpunit: 10.5.* }
- { laravel: 11.*, testbench: 9.*, php: 8.2, phpunit: 10.5.* }
- { laravel: 10.*, testbench: 8.*, php: 8.2, phpunit: 10.2.* }
- { laravel: 9.*, testbench: 7.*, php: 8.1, phpunit: 9.5.* }
- { laravel: 8.*, testbench: 6.*, php: 7.3, phpunit: 9.3.* }
- { laravel: 7.*, testbench: 5.*, php: 7.3, phpunit: 8.4.* }
- { laravel: 6.*, testbench: 4.*, php: 7.2, phpunit: 8.3.* }
- { laravel: 5.8.*, testbench: 3.8.*, php: 7.1, phpunit: 7.5.* }
- { laravel: 5.7.*, testbench: 3.7.*, php: 7.1, phpunit: 7.0.* }
- { laravel: 5.6.*, testbench: 3.6.*, php: 7.1, phpunit: 7.0.* }
- { laravel: 5.5.*, testbench: 3.5.*, php: 7.0, phpunit: 6.0.* }
- { laravel: 5.4.*, testbench: 3.4.*, php: 5.6, phpunit: 5.7.* }
- { laravel: 5.3.*, testbench: 3.3.*, php: 5.6, phpunit: 4.8.* }
- { laravel: 5.2.*, testbench: 3.2.*, php: 5.5, phpunit: 4.8.* }
- { laravel: 5.1.*, testbench: 3.1.*, php: 5.5, phpunit: 4.8.* }
- { laravel: 5.0.*, testbench: 3.0.*, php: 5.4, phpunit: 4.8.* }
- { laravel: 4.2.*, testbench: 2.2.*, php: 5.4, phpunit: 4.8.* }
- { laravel: 4.1.*, testbench: 2.1.*, php: 5.4, phpunit: 4.8.* }
- { laravel: 4.0.*, testbench: 2.0.*, php: 5.4, phpunit: 4.8.* }
name: laravel[${{ matrix.laravel }}] php[${{ matrix.php }}] - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: fileinfo
coverage: none
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer-${{ hashFiles('composer.json') }}
restore-keys: ${{ runner.os }}-composer
- name: Install dependencies
run: |
sed -i '/\"require\": {/,/},/d; /\"require-dev\": {/,/},/d' composer.json
composer config --global allow-plugins true
composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --prefer-stable --prefer-dist
- name: Execute tests
run: vendor/bin/phpunit --configuration=phpunit-laravel.xml
+14
View File
@@ -0,0 +1,14 @@
.idea
vendor
composer.lock
.phpunit.result.cache
.phpcs-cache
.php-cs-fixer.cache
packs/**/composer.lock
packs/**/vendor/
node_modules/
coverage/
.phpunit.cache/
.run/
+29
View File
@@ -0,0 +1,29 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
$header = <<<'EOF'
This file is part of the PHPFlasher package.
(c) Younes KHOUBZA <younes.khoubza@gmail.com>
EOF;
$rules = array(
'@Symfony' => true,
'header_comment' => array('header' => $header),
'array_syntax' => array('syntax' => 'long'),
'visibility_required' => array('elements' => array('property', 'method')),
'ordered_class_elements' => true,
);
$finder = new PhpCsFixer\Finder();
$finder->in(__DIR__)->exclude(__DIR__.'/vendor');
$config = new PhpCsFixer\Config();
return $config->setFinder($finder)
->setUsingCache(false)
->setRiskyAllowed(true)
->setRules($rules);
+22
View File
@@ -0,0 +1,22 @@
name: Auto Closer PR
on:
pull_request_target:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: |
Hi, thank you for your contribution.
Unfortunately, this repository is read-only. It's a split from our main monorepo repository.
We'd like to kindly ask you to move the contribution there - https://github.com/php-flasher/php-flasher.
We'll check it, review it and give you feed back right way.
Thank you.
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 PHP Flasher
Copyright (c) 2020 PHPFlasher
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+74
View File
@@ -0,0 +1,74 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github-dark.png">
<img src="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github.png" alt="PHPFlasher Logo">
</picture>
</p>
## About PHPFlasher
PHPFlasher is a powerful and easy-to-use package that allows you to quickly and easily add flash messages to your Laravel or Symfony projects.
Whether you need to alert users of a successful form submission, an error, or any other important information, flash messages are a simple and effective solution for providing feedback to your users.
With PHPFlasher, you can easily record and store messages within the session, making it simple to retrieve and display them on the current or next page.
This improves user engagement and enhances the overall user experience on your website or application.
Whether you're a beginner or an experienced developer, PHPFlasher's intuitive and straightforward design makes it easy to integrate into your projects.
So, if you're looking for a reliable, flexible and easy to use flash messages solution, PHPFlasher is the perfect choice.
## Official Documentation
Documentation for PHPFlasher can be found on the [https://php-flasher.io](https://php-flasher.io).
## Contributors and sponsors
Join our team of contributors and make a lasting impact on our project!
We are always looking for passionate individuals who want to contribute their skills and ideas.
Whether you're a developer, designer, or simply have a great idea, we welcome your participation and collaboration.
Shining stars of our community:
<!-- ALL-CONTRIBUTORS-LIST:START -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/younes-khoubza/"><img src="https://avatars.githubusercontent.com/u/10859693?v=4?s=100" width="100px;" alt="Younes KHOUBZA"/><br /><sub><b>Younes KHOUBZA</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Code">💻</a> <a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Documentation">📖</a> <a href="#maintenance-yoeunes" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/salmayno"><img src="https://avatars.githubusercontent.com/u/27933199?v=4?s=100" width="100px;" alt="Salma Mourad"/><br /><sub><b>Salma Mourad</b></sub></a><br /><a href="#financial-salmayno" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.youtube.com/rstacode"><img src="https://avatars.githubusercontent.com/u/35005761?v=4?s=100" width="100px;" alt="Nashwan Abdullah"/><br /><sub><b>Nashwan Abdullah</b></sub></a><br /><a href="#financial-codenashwan" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://darvis.nl/"><img src="https://avatars.githubusercontent.com/u/7394837?v=4?s=100" width="100px;" alt="Arvid de Jong"/><br /><sub><b>Arvid de Jong</b></sub></a><br /><a href="#financial-darviscommerce" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://ashallendesign.co.uk/"><img src="https://avatars.githubusercontent.com/u/39652331?v=4?s=100" width="100px;" alt="Ash Allen"/><br /><sub><b>Ash Allen</b></sub></a><br /><a href="#design-ash-jc-allen" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://about.me/murrant"><img src="https://avatars.githubusercontent.com/u/39462?v=4?s=100" width="100px;" alt="Tony Murray"/><br /><sub><b>Tony Murray</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=murrant" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/n3wborn"><img src="https://avatars.githubusercontent.com/u/10246722?v=4?s=100" width="100px;" alt="Stéphane P"/><br /><sub><b>Stéphane P</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=n3wborn" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.instagram.com/lucas.maciel_z"><img src="https://avatars.githubusercontent.com/u/80225404?v=4?s=100" width="100px;" alt="Lucas Maciel"/><br /><sub><b>Lucas Maciel</b></sub></a><br /><a href="#design-LucasStorm" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://siek.io/"><img src="https://avatars.githubusercontent.com/u/5730766?v=4?s=100" width="100px;" alt="Antoni Siek"/><br /><sub><b>Antoni Siek</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=ImJustToNy" title="Code">💻</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
## Contact
PHPFlasher is being actively developed by <a href="https://github.com/yoeunes">yoeunes</a>.
You can reach out with questions, bug reports, or feature requests on any of the following:
- [Github Issues](https://github.com/php-flasher/php-flasher/issues)
- [Github](https://github.com/yoeunes)
- [Twitter](https://twitter.com/yoeunes)
- [Linkedin](https://www.linkedin.com/in/younes-khoubza/)
- [Email me directly](mailto:younes.khoubza@gmail.com)
## License
PHPFlasher is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
<p align="center"> <b>Made with ❤️ by <a href="https://www.linkedin.com/in/younes-khoubza/">Younes KHOUBZA</a> </b> </p>
Executable
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/env php
<?php
require __DIR__ . '/../vendor/autoload.php';
/** @var \Flasher\Prime\Plugin\PluginInterface[] $plugins */
$plugins = array(
new \Flasher\Prime\Plugin\FlasherPlugin(),
new \Flasher\Noty\Prime\NotyPlugin(),
new \Flasher\Notyf\Prime\NotyfPlugin(),
new \Flasher\Pnotify\Prime\PnotifyPlugin(),
new \Flasher\SweetAlert\Prime\SweetAlertPlugin(),
new \Flasher\Toastr\Prime\ToastrPlugin(),
);
echo 'Downloading assets ...'. PHP_EOL;
foreach ($plugins as $plugin) {
$scripts = $plugin->getScripts();
foreach ($scripts['cdn'] as $index => $script) {
echo $script . PHP_EOL;
$path = $plugin->getAssetsDir() . '/'. pathinfo($script, PATHINFO_BASENAME);
$content = file_get_contents($script);
file_put_contents($path, $content);
}
$styles = $plugin->getStyles();
foreach ($styles['cdn'] as $index => $script) {
echo $script . PHP_EOL;
$path = $plugin->getAssetsDir() . '/'. pathinfo($script, PATHINFO_BASENAME);
$content = file_get_contents($script);
file_put_contents($path, $content);
}
}
echo 'DONE' . PHP_EOL;
Executable
+50
View File
@@ -0,0 +1,50 @@
#!/usr/bin/env php
<?php
$shared = realpath(__DIR__.'/../.shared');
$resources = array(
$shared,
__DIR__.'/../.github/FUNDING.yml',
__DIR__.'/../README.md',
__DIR__.'/../LICENSE',
);
$dirs = array(__DIR__.'/../packs', __DIR__.'/../src');
$packages = array_reduce($dirs, function ($files, $dir) {
return array_merge($files, glob("$dir/*/composer.json"), glob("$dir/*/*/composer.json"));
}, array());
foreach ($packages as $package) {
$package = realpath(dirname($package));
foreach ($resources as $resource) {
$resource = realpath($resource);
$dest = $package.str_replace(realpath(__DIR__.'/../'), '', $resource);
if (!is_dir($resource) && file_exists($resource)) {
copy($resource, $dest);
continue;
}
$files = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator($resource, FilesystemIterator::SKIP_DOTS),
RecursiveIteratorIterator::SELF_FIRST
);
foreach ($files as $file) {
$target = $resource === $shared
? $package.str_replace($resource, '', $file->getPathname())
: $dest .'/'. $file->getFilename();
if ($file->isDir()) {
system('rm -rf -- ' . escapeshellarg($dest));
@mkdir(dirname($target), 0777, true);
continue;
}
@mkdir(dirname($target), 0777, true);
@copy($file->getPathname(), $target);
}
}
}
Executable
+83
View File
@@ -0,0 +1,83 @@
#!/usr/bin/env bash
set -e
# Make sure the release tag is provided.
if (( "$#" != 1 ))
then
echo "Tag has to be provided."
exit 1
fi
RELEASE_BRANCH="main"
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
VERSION=$1
# Make sure current branch and release branch match.
if [[ "$RELEASE_BRANCH" != "$CURRENT_BRANCH" ]]
then
echo "Release branch ($RELEASE_BRANCH) does not match the current active branch ($CURRENT_BRANCH)."
exit 1
fi
# Make sure the working directory is clear.
if [[ ! -z "$(git status --porcelain)" ]]
then
echo "Your working directory is dirty. Did you forget to commit your changes?"
exit 1
fi
# Make sure latest changes are fetched first.
git fetch origin
# Make sure that release branch is in sync with origin.
if [[ $(git rev-parse HEAD) != $(git rev-parse origin/$RELEASE_BRANCH) ]]
then
echo "Your branch is out of date with its upstream. Did you forget to pull or push any changes before releasing?"
exit 1
fi
# Always prepend with "v"
if [[ $VERSION != v* ]]
then
VERSION="v$VERSION"
fi
# Tag PHPFlasher
git tag "$VERSION"
git push origin --tags --force
# Tag Repositories
for REMOTE in flasher flasher-laravel flasher-symfony \
flasher-toastr flasher-toastr-laravel flasher-toastr-symfony \
flasher-notyf flasher-notyf-laravel flasher-notyf-symfony \
flasher-sweetalert flasher-sweetalert-laravel flasher-sweetalert-symfony \
flasher-pnotify flasher-pnotify-laravel flasher-pnotify-symfony \
flasher-noty flasher-noty-laravel flasher-noty-symfony \
flasher-cli flasher-cli-laravel flasher-cli-symfony \
laravel-pack php-pack symfony-pack
do
echo ""
echo ""
echo "Releasing $REMOTE";
TMP_DIR="/tmp/php-flasher"
REMOTE_URL="git@github.com:php-flasher/$REMOTE.git"
rm -rf $TMP_DIR;
mkdir $TMP_DIR;
(
cd $TMP_DIR;
git clone $REMOTE_URL .
git checkout "$RELEASE_BRANCH";
git tag "$VERSION"
git push origin --tags --force
)
done
Executable
+120
View File
@@ -0,0 +1,120 @@
#!/usr/bin/env bash
# Set the "errexit" options
set -o errexit
# Define colors and emoji for better visual feedback
INDIGO='\033[0;94m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
CHECK_MARK="✅"
CROSS_MARK="❌"
# Initialize global flags
DEBUG=0
DRY_RUN=0
# Process command-line arguments
for arg in "$@"; do
case $arg in
--debug)
DEBUG=1
shift
;;
--dry-run)
DRY_RUN=1
shift
;;
*)
# Unknown option
;;
esac
done
# Debug message function
debug_msg() {
if [ "$DEBUG" -eq 1 ]; then
echo -e "${INDIGO}Debug: $*${NC}"
fi
}
# Define remotes
REMOTES=(
'src/Prime:flasher'
'src/Laravel:flasher-laravel'
'src/Symfony:flasher-symfony'
'src/Toastr/Prime:flasher-toastr'
'src/Toastr/Laravel:flasher-toastr-laravel'
'src/Toastr/Symfony:flasher-toastr-symfony'
'src/Notyf/Prime:flasher-notyf'
'src/Notyf/Laravel:flasher-notyf-laravel'
'src/Notyf/Symfony:flasher-notyf-symfony'
'src/SweetAlert/Prime:flasher-sweetalert'
'src/SweetAlert/Laravel:flasher-sweetalert-laravel'
'src/SweetAlert/Symfony:flasher-sweetalert-symfony'
'src/Pnotify/Prime:flasher-pnotify'
'src/Pnotify/Laravel:flasher-pnotify-laravel'
'src/Pnotify/Symfony:flasher-pnotify-symfony'
'src/Noty/Prime:flasher-noty'
'src/Noty/Laravel:flasher-noty-laravel'
'src/Noty/Symfony:flasher-noty-symfony'
'src/Cli/Prime:flasher-cli'
'src/Cli/Laravel:flasher-cli-laravel'
'src/Cli/Symfony:flasher-cli-symfony'
'packs/laravel-pack:laravel-pack'
'packs/php-pack:php-pack'
'packs/symfony-pack:symfony-pack'
)
# Function to get the current git branch name
function current_branch() {
git rev-parse --abbrev-ref HEAD
}
# Define a function to split and push code to a remote repository
function split() {
local prefix_and_remote="$1"
local prefix="${prefix_and_remote%:*}"
local remote="${prefix_and_remote#*:}"
local current_branch=$(current_branch)
# Add remote if it does not exist (ignoring errors silently)
if git remote add "$remote" "git@github.com:php-flasher/$remote.git" 2>/dev/null; then
echo -e "${GREEN}Added remote ${INDIGO}$remote${NC} ${CHECK_MARK}"
else
debug_msg "Remote $remote already exists or could not be added."
fi
# Split the code using the splitsh-lite utility
SHA1=$(./bin/splitsh-lite --prefix="$prefix")
debug_msg "SHA1 for $prefix is $SHA1."
# Push the code to the remote repository on the same branch as the current branch
if [ "$DRY_RUN" -eq 0 ]; then
git push "$remote" "$SHA1:refs/heads/$current_branch" -f
else
echo -e "${INDIGO}Dry run: Would push $SHA1 to $remote on branch $current_branch${NC}"
fi
}
# Pull the latest code from the origin repository
if [ "$DRY_RUN" -eq 0 ]; then
echo -e "${INDIGO}Pulling the latest code from the origin repository on branch ${current_branch}...${NC}"
git fetch origin "$current_branch"
else
echo -e "${INDIGO}Dry run: Would fetch latest code for branch $current_branch from the origin repository.${NC}"
fi
# Iterate over the remotes and split and push the code
for remote in "${REMOTES[@]}"; do
split "$remote"
done
echo -e "${GREEN}All done!${NC} ${CHECK_MARK}"
BIN
View File
Binary file not shown.
+153 -11
View File
@@ -1,22 +1,164 @@
{
"name": "php-flasher/php-pack",
"description": "A pack for PHP",
"type": "flasher-pack",
"name": "php-flasher/php-flasher",
"description": "PHPFlasher - A powerful & easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement & enhances user experience. Intuitive design for beginners & experienced developers. A reliable, flexible solution.",
"license": "MIT",
"type": "library",
"keywords": [
"php-flasher",
"flash-messages",
"notification-system",
"user-feedback",
"toastr",
"sweetalert",
"pnotify",
"noty",
"notyf",
"desktop-notifications",
"php",
"laravel",
"symfony",
"javascript",
"yoeunes",
"framework-agnostic",
"phpstorm-auto-complete",
"custom-adapter",
"user-experience",
"rtl",
"dark-mode"
],
"authors": [
{
"name": "KHOUBZA Younes",
"name": "Younes KHOUBZA",
"email": "younes.khoubza@gmail.com",
"homepage": "https://github.com/yoeunes",
"homepage": "https://www.linkedin.com/in/younes-khoubza",
"role": "Developer"
}
],
"require": {
"php-flasher/flasher-cli": "*",
"php-flasher/flasher-noty": "*",
"php-flasher/flasher-notyf": "*",
"php-flasher/flasher-pnotify": "*",
"php-flasher/flasher-sweet-alert": "*",
"php-flasher/flasher-toastr": "*"
"php": ">=5.3"
},
"require-dev": {
"ext-json": "*",
"ext-mbstring": "*",
"ergebnis/composer-normalize": "^2.31",
"friendsofphp/php-cs-fixer": "^3.17",
"illuminate/routing": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/support": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
"livewire/livewire": "^2.12.3 || ^3.0",
"orchestra/testbench": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"phpro/grumphp": "^1.16",
"phpstan/phpstan": "^1.10.16",
"phpunit/phpunit": "^10.2.1",
"symfony/config": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/console": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/framework-bundle": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0",
"symfony/http-kernel": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/translation": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/twig-bundle": "^2.0 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"symplify/monorepo-builder": "^11.2.3.72",
"vimeo/psalm": "^5.12"
},
"replace": {
"php-flasher/flasher": "self.version",
"php-flasher/flasher-cli": "self.version",
"php-flasher/flasher-cli-laravel": "self.version",
"php-flasher/flasher-cli-symfony": "self.version",
"php-flasher/flasher-laravel": "self.version",
"php-flasher/flasher-noty": "self.version",
"php-flasher/flasher-noty-laravel": "self.version",
"php-flasher/flasher-noty-symfony": "self.version",
"php-flasher/flasher-notyf": "self.version",
"php-flasher/flasher-notyf-laravel": "self.version",
"php-flasher/flasher-notyf-symfony": "self.version",
"php-flasher/flasher-pnotify": "self.version",
"php-flasher/flasher-pnotify-laravel": "self.version",
"php-flasher/flasher-pnotify-symfony": "self.version",
"php-flasher/flasher-sweetalert": "self.version",
"php-flasher/flasher-sweetalert-laravel": "self.version",
"php-flasher/flasher-sweetalert-symfony": "self.version",
"php-flasher/flasher-symfony": "self.version",
"php-flasher/flasher-toastr": "self.version",
"php-flasher/flasher-toastr-laravel": "self.version",
"php-flasher/flasher-toastr-symfony": "self.version"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Flasher\\": "src/",
"Flasher\\Cli\\Laravel\\": "src/Cli/Laravel/",
"Flasher\\Cli\\Prime\\": "src/Cli/Prime/",
"Flasher\\Cli\\Symfony\\": "src/Cli/Symfony/",
"Flasher\\Laravel\\": "src/Laravel/",
"Flasher\\Noty\\Laravel\\": "src/Noty/Laravel/",
"Flasher\\Noty\\Prime\\": "src/Noty/Prime/",
"Flasher\\Noty\\Symfony\\": "src/Noty/Symfony/",
"Flasher\\Notyf\\Laravel\\": "src/Notyf/Laravel/",
"Flasher\\Notyf\\Prime\\": "src/Notyf/Prime/",
"Flasher\\Notyf\\Symfony\\": "src/Notyf/Symfony/",
"Flasher\\Pnotify\\Laravel\\": "src/Pnotify/Laravel/",
"Flasher\\Pnotify\\Prime\\": "src/Pnotify/Prime/",
"Flasher\\Pnotify\\Symfony\\": "src/Pnotify/Symfony/",
"Flasher\\Prime\\": "src/Prime/",
"Flasher\\SweetAlert\\Laravel\\": "src/SweetAlert/Laravel/",
"Flasher\\SweetAlert\\Prime\\": "src/SweetAlert/Prime/",
"Flasher\\SweetAlert\\Symfony\\": "src/SweetAlert/Symfony/",
"Flasher\\Symfony\\": "src/Symfony/",
"Flasher\\Toastr\\Laravel\\": "src/Toastr/Laravel/",
"Flasher\\Toastr\\Prime\\": "src/Toastr/Prime/",
"Flasher\\Toastr\\Symfony\\": "src/Toastr/Symfony/"
},
"files": [
"src/Cli/Prime/helpers.php",
"src/Noty/Prime/helpers.php",
"src/Notyf/Prime/helpers.php",
"src/Pnotify/Prime/helpers.php",
"src/Prime/helpers.php",
"src/SweetAlert/Prime/helpers.php",
"src/Toastr/Prime/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Flasher\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"kylekatarnls/update-helper": true,
"phpro/grumphp": true
},
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laravel": {
"aliases": {
"Flasher": "Flasher\\Laravel\\Facade\\Flasher",
"Noty": "Flasher\\Laravel\\Facade\\Flasher",
"Notyf": "Flasher\\Notyf\\Laravel\\Facade\\Notyf",
"Pnotify": "Flasher\\Pnotify\\Laravel\\Facade\\Pnotify",
"SweetAlert": "Flasher\\SweetAlert\\Laravel\\Facade\\SweetAlert",
"Toastr": "Flasher\\Toastr\\Laravel\\Facade\\Toastr"
},
"providers": [
"Flasher\\Cli\\Laravel\\FlasherCliServiceProvider",
"Flasher\\Toastr\\Laravel\\FlasherToastrServiceProvider",
"Flasher\\Laravel\\FlasherServiceProvider",
"Flasher\\Noty\\Laravel\\FlasherNotyServiceProvider",
"Flasher\\Pnotify\\Laravel\\FlasherPnotifyServiceProvider",
"Flasher\\Notyf\\Laravel\\FlasherNotyfServiceProvider",
"Flasher\\SweetAlert\\Laravel\\FlasherSweetAlertServiceProvider"
]
}
},
"scripts": {
"check-syntax": "test `find ./src -iname \"*.php\" | xargs -n1 -P6 php -l | grep -Fv \"No syntax errors\" | wc -l` -eq 0",
"lint": "git diff --staged | php ./vendor/bin/grumphp run",
"normalize-composer": "find src -name \"composer.json\" -exec composer normalize {} \\;",
"normalize-packs": "find packs -name \"composer.json\" -exec composer normalize {} \\;",
"validate-composer": "find src -name \"composer.json\" -exec composer validate --strict {} \\;"
}
}
+41
View File
@@ -0,0 +1,41 @@
grumphp:
ascii: ~
tasks:
# composer: ~
# composer_normalize: ~
# composer_script:
# script: check-syntax
# phpcsfixer: ~
# jsonlint: ~
# yamllint: ~
# phpstan: ~
# phpunit: ~
# git_branch_name:
# blacklist:
# - main
git_commit_message:
allow_empty_message: false
enforce_capitalized_subject: false
max_subject_width: 93
type_scope_conventions:
types:
- build
- ci
- chore
- docs
- feat
- fix
- perf
- refactor
- revert
- style
- test
scopes:
- core
- flasher
- toastr
- noty
- notyf
- pnotify
- sweetalert
- notify
+25
View File
@@ -0,0 +1,25 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
use Symplify\MonorepoBuilder\Config\MBConfig;
return static function (MBConfig $config) {
$config->packageDirectories(array(
__DIR__.'/src',
));
$config->packageAliasFormat('2.x-dev');
$config->workers(array(
// 'Symplify\MonorepoBuilder\Release\ReleaseWorker\AddTagToChangelogReleaseWorker',
// 'Symplify\MonorepoBuilder\Release\ReleaseWorker\PushNextDevReleaseWorker',
// 'Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker',
// 'Symplify\MonorepoBuilder\Release\ReleaseWorker\SetCurrentMutualDependenciesReleaseWorker',
// 'Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker',
// 'Symplify\MonorepoBuilder\Release\ReleaseWorker\UpdateBranchAliasReleaseWorker',
));
};
+2161
View File
File diff suppressed because it is too large Load Diff
+9
View File
@@ -0,0 +1,9 @@
{
"devDependencies": {
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0"
},
"scripts": {
"commit": "cz"
}
}
+5
View File
@@ -0,0 +1,5 @@
github: yoeunes
patreon: yoeunes
ko_fi: yoeunes
open_collective: php-flasher
custom: https://www.paypal.com/paypalme/yoeunes
+22
View File
@@ -0,0 +1,22 @@
name: Auto Closer PR
on:
pull_request_target:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: |
Hi, thank you for your contribution.
Unfortunately, this repository is read-only. It's a split from our main monorepo repository.
We'd like to kindly ask you to move the contribution there - https://github.com/php-flasher/php-flasher.
We'll check it, review it and give you feed back right way.
Thank you.
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 PHPFlasher
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+74
View File
@@ -0,0 +1,74 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github-dark.png">
<img src="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github.png" alt="PHPFlasher Logo">
</picture>
</p>
## About PHPFlasher
PHPFlasher is a powerful and easy-to-use package that allows you to quickly and easily add flash messages to your Laravel or Symfony projects.
Whether you need to alert users of a successful form submission, an error, or any other important information, flash messages are a simple and effective solution for providing feedback to your users.
With PHPFlasher, you can easily record and store messages within the session, making it simple to retrieve and display them on the current or next page.
This improves user engagement and enhances the overall user experience on your website or application.
Whether you're a beginner or an experienced developer, PHPFlasher's intuitive and straightforward design makes it easy to integrate into your projects.
So, if you're looking for a reliable, flexible and easy to use flash messages solution, PHPFlasher is the perfect choice.
## Official Documentation
Documentation for PHPFlasher can be found on the [https://php-flasher.io](https://php-flasher.io).
## Contributors and sponsors
Join our team of contributors and make a lasting impact on our project!
We are always looking for passionate individuals who want to contribute their skills and ideas.
Whether you're a developer, designer, or simply have a great idea, we welcome your participation and collaboration.
Shining stars of our community:
<!-- ALL-CONTRIBUTORS-LIST:START -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/younes-khoubza/"><img src="https://avatars.githubusercontent.com/u/10859693?v=4?s=100" width="100px;" alt="Younes KHOUBZA"/><br /><sub><b>Younes KHOUBZA</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Code">💻</a> <a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Documentation">📖</a> <a href="#maintenance-yoeunes" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/salmayno"><img src="https://avatars.githubusercontent.com/u/27933199?v=4?s=100" width="100px;" alt="Salma Mourad"/><br /><sub><b>Salma Mourad</b></sub></a><br /><a href="#financial-salmayno" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.youtube.com/rstacode"><img src="https://avatars.githubusercontent.com/u/35005761?v=4?s=100" width="100px;" alt="Nashwan Abdullah"/><br /><sub><b>Nashwan Abdullah</b></sub></a><br /><a href="#financial-codenashwan" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://darvis.nl/"><img src="https://avatars.githubusercontent.com/u/7394837?v=4?s=100" width="100px;" alt="Arvid de Jong"/><br /><sub><b>Arvid de Jong</b></sub></a><br /><a href="#financial-darviscommerce" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://ashallendesign.co.uk/"><img src="https://avatars.githubusercontent.com/u/39652331?v=4?s=100" width="100px;" alt="Ash Allen"/><br /><sub><b>Ash Allen</b></sub></a><br /><a href="#design-ash-jc-allen" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://about.me/murrant"><img src="https://avatars.githubusercontent.com/u/39462?v=4?s=100" width="100px;" alt="Tony Murray"/><br /><sub><b>Tony Murray</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=murrant" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/n3wborn"><img src="https://avatars.githubusercontent.com/u/10246722?v=4?s=100" width="100px;" alt="Stéphane P"/><br /><sub><b>Stéphane P</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=n3wborn" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.instagram.com/lucas.maciel_z"><img src="https://avatars.githubusercontent.com/u/80225404?v=4?s=100" width="100px;" alt="Lucas Maciel"/><br /><sub><b>Lucas Maciel</b></sub></a><br /><a href="#design-LucasStorm" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://siek.io/"><img src="https://avatars.githubusercontent.com/u/5730766?v=4?s=100" width="100px;" alt="Antoni Siek"/><br /><sub><b>Antoni Siek</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=ImJustToNy" title="Code">💻</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
## Contact
PHPFlasher is being actively developed by <a href="https://github.com/yoeunes">yoeunes</a>.
You can reach out with questions, bug reports, or feature requests on any of the following:
- [Github Issues](https://github.com/php-flasher/php-flasher/issues)
- [Github](https://github.com/yoeunes)
- [Twitter](https://twitter.com/yoeunes)
- [Linkedin](https://www.linkedin.com/in/younes-khoubza/)
- [Email me directly](mailto:younes.khoubza@gmail.com)
## License
PHPFlasher is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
<p align="center"> <b>Made with ❤️ by <a href="https://www.linkedin.com/in/younes-khoubza/">Younes KHOUBZA</a> </b> </p>
+51
View File
@@ -0,0 +1,51 @@
{
"name": "php-flasher/laravel-pack",
"description": "PHPFlasher - A powerful & easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement & enhances user experience. Intuitive design for beginners & experienced developers. A reliable, flexible solution.",
"license": "MIT",
"type": "flasher-pack",
"keywords": [
"php-flasher",
"flash-messages",
"notification-system",
"user-feedback",
"toastr",
"sweetalert",
"pnotify",
"noty",
"notyf",
"desktop-notifications",
"php",
"laravel",
"symfony",
"javascript",
"yoeunes",
"framework-agnostic",
"phpstorm-auto-complete",
"custom-adapter",
"user-experience",
"rtl",
"dark-mode"
],
"authors": [
{
"name": "Younes KHOUBZA",
"email": "younes.khoubza@gmail.com",
"homepage": "https://www.linkedin.com/in/younes-khoubza",
"role": "Developer"
}
],
"require": {
"php-flasher/flasher-cli-laravel": "*",
"php-flasher/flasher-noty-laravel": "*",
"php-flasher/flasher-notyf-laravel": "*",
"php-flasher/flasher-pnotify-laravel": "*",
"php-flasher/flasher-sweetalert-laravel": "*",
"php-flasher/flasher-toastr-laravel": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"preferred-install": "dist",
"sort-packages": true
}
}
+5
View File
@@ -0,0 +1,5 @@
github: yoeunes
patreon: yoeunes
ko_fi: yoeunes
open_collective: php-flasher
custom: https://www.paypal.com/paypalme/yoeunes
+22
View File
@@ -0,0 +1,22 @@
name: Auto Closer PR
on:
pull_request_target:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: |
Hi, thank you for your contribution.
Unfortunately, this repository is read-only. It's a split from our main monorepo repository.
We'd like to kindly ask you to move the contribution there - https://github.com/php-flasher/php-flasher.
We'll check it, review it and give you feed back right way.
Thank you.
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 PHPFlasher
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+74
View File
@@ -0,0 +1,74 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github-dark.png">
<img src="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github.png" alt="PHPFlasher Logo">
</picture>
</p>
## About PHPFlasher
PHPFlasher is a powerful and easy-to-use package that allows you to quickly and easily add flash messages to your Laravel or Symfony projects.
Whether you need to alert users of a successful form submission, an error, or any other important information, flash messages are a simple and effective solution for providing feedback to your users.
With PHPFlasher, you can easily record and store messages within the session, making it simple to retrieve and display them on the current or next page.
This improves user engagement and enhances the overall user experience on your website or application.
Whether you're a beginner or an experienced developer, PHPFlasher's intuitive and straightforward design makes it easy to integrate into your projects.
So, if you're looking for a reliable, flexible and easy to use flash messages solution, PHPFlasher is the perfect choice.
## Official Documentation
Documentation for PHPFlasher can be found on the [https://php-flasher.io](https://php-flasher.io).
## Contributors and sponsors
Join our team of contributors and make a lasting impact on our project!
We are always looking for passionate individuals who want to contribute their skills and ideas.
Whether you're a developer, designer, or simply have a great idea, we welcome your participation and collaboration.
Shining stars of our community:
<!-- ALL-CONTRIBUTORS-LIST:START -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/younes-khoubza/"><img src="https://avatars.githubusercontent.com/u/10859693?v=4?s=100" width="100px;" alt="Younes KHOUBZA"/><br /><sub><b>Younes KHOUBZA</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Code">💻</a> <a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Documentation">📖</a> <a href="#maintenance-yoeunes" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/salmayno"><img src="https://avatars.githubusercontent.com/u/27933199?v=4?s=100" width="100px;" alt="Salma Mourad"/><br /><sub><b>Salma Mourad</b></sub></a><br /><a href="#financial-salmayno" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.youtube.com/rstacode"><img src="https://avatars.githubusercontent.com/u/35005761?v=4?s=100" width="100px;" alt="Nashwan Abdullah"/><br /><sub><b>Nashwan Abdullah</b></sub></a><br /><a href="#financial-codenashwan" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://darvis.nl/"><img src="https://avatars.githubusercontent.com/u/7394837?v=4?s=100" width="100px;" alt="Arvid de Jong"/><br /><sub><b>Arvid de Jong</b></sub></a><br /><a href="#financial-darviscommerce" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://ashallendesign.co.uk/"><img src="https://avatars.githubusercontent.com/u/39652331?v=4?s=100" width="100px;" alt="Ash Allen"/><br /><sub><b>Ash Allen</b></sub></a><br /><a href="#design-ash-jc-allen" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://about.me/murrant"><img src="https://avatars.githubusercontent.com/u/39462?v=4?s=100" width="100px;" alt="Tony Murray"/><br /><sub><b>Tony Murray</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=murrant" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/n3wborn"><img src="https://avatars.githubusercontent.com/u/10246722?v=4?s=100" width="100px;" alt="Stéphane P"/><br /><sub><b>Stéphane P</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=n3wborn" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.instagram.com/lucas.maciel_z"><img src="https://avatars.githubusercontent.com/u/80225404?v=4?s=100" width="100px;" alt="Lucas Maciel"/><br /><sub><b>Lucas Maciel</b></sub></a><br /><a href="#design-LucasStorm" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://siek.io/"><img src="https://avatars.githubusercontent.com/u/5730766?v=4?s=100" width="100px;" alt="Antoni Siek"/><br /><sub><b>Antoni Siek</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=ImJustToNy" title="Code">💻</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
## Contact
PHPFlasher is being actively developed by <a href="https://github.com/yoeunes">yoeunes</a>.
You can reach out with questions, bug reports, or feature requests on any of the following:
- [Github Issues](https://github.com/php-flasher/php-flasher/issues)
- [Github](https://github.com/yoeunes)
- [Twitter](https://twitter.com/yoeunes)
- [Linkedin](https://www.linkedin.com/in/younes-khoubza/)
- [Email me directly](mailto:younes.khoubza@gmail.com)
## License
PHPFlasher is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
<p align="center"> <b>Made with ❤️ by <a href="https://www.linkedin.com/in/younes-khoubza/">Younes KHOUBZA</a> </b> </p>
+51
View File
@@ -0,0 +1,51 @@
{
"name": "php-flasher/php-pack",
"description": "PHPFlasher - A powerful & easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement & enhances user experience. Intuitive design for beginners & experienced developers. A reliable, flexible solution.",
"license": "MIT",
"type": "flasher-pack",
"keywords": [
"php-flasher",
"flash-messages",
"notification-system",
"user-feedback",
"toastr",
"sweetalert",
"pnotify",
"noty",
"notyf",
"desktop-notifications",
"php",
"laravel",
"symfony",
"javascript",
"yoeunes",
"framework-agnostic",
"phpstorm-auto-complete",
"custom-adapter",
"user-experience",
"rtl",
"dark-mode"
],
"authors": [
{
"name": "Younes KHOUBZA",
"email": "younes.khoubza@gmail.com",
"homepage": "https://www.linkedin.com/in/younes-khoubza",
"role": "Developer"
}
],
"require": {
"php-flasher/flasher-cli": "*",
"php-flasher/flasher-noty": "*",
"php-flasher/flasher-notyf": "*",
"php-flasher/flasher-pnotify": "*",
"php-flasher/flasher-sweetalert": "*",
"php-flasher/flasher-toastr": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"preferred-install": "dist",
"sort-packages": true
}
}
+5
View File
@@ -0,0 +1,5 @@
github: yoeunes
patreon: yoeunes
ko_fi: yoeunes
open_collective: php-flasher
custom: https://www.paypal.com/paypalme/yoeunes
+22
View File
@@ -0,0 +1,22 @@
name: Auto Closer PR
on:
pull_request_target:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: |
Hi, thank you for your contribution.
Unfortunately, this repository is read-only. It's a split from our main monorepo repository.
We'd like to kindly ask you to move the contribution there - https://github.com/php-flasher/php-flasher.
We'll check it, review it and give you feed back right way.
Thank you.
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 PHPFlasher
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+74
View File
@@ -0,0 +1,74 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github-dark.png">
<img src="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github.png" alt="PHPFlasher Logo">
</picture>
</p>
## About PHPFlasher
PHPFlasher is a powerful and easy-to-use package that allows you to quickly and easily add flash messages to your Laravel or Symfony projects.
Whether you need to alert users of a successful form submission, an error, or any other important information, flash messages are a simple and effective solution for providing feedback to your users.
With PHPFlasher, you can easily record and store messages within the session, making it simple to retrieve and display them on the current or next page.
This improves user engagement and enhances the overall user experience on your website or application.
Whether you're a beginner or an experienced developer, PHPFlasher's intuitive and straightforward design makes it easy to integrate into your projects.
So, if you're looking for a reliable, flexible and easy to use flash messages solution, PHPFlasher is the perfect choice.
## Official Documentation
Documentation for PHPFlasher can be found on the [https://php-flasher.io](https://php-flasher.io).
## Contributors and sponsors
Join our team of contributors and make a lasting impact on our project!
We are always looking for passionate individuals who want to contribute their skills and ideas.
Whether you're a developer, designer, or simply have a great idea, we welcome your participation and collaboration.
Shining stars of our community:
<!-- ALL-CONTRIBUTORS-LIST:START -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/younes-khoubza/"><img src="https://avatars.githubusercontent.com/u/10859693?v=4?s=100" width="100px;" alt="Younes KHOUBZA"/><br /><sub><b>Younes KHOUBZA</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Code">💻</a> <a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Documentation">📖</a> <a href="#maintenance-yoeunes" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/salmayno"><img src="https://avatars.githubusercontent.com/u/27933199?v=4?s=100" width="100px;" alt="Salma Mourad"/><br /><sub><b>Salma Mourad</b></sub></a><br /><a href="#financial-salmayno" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.youtube.com/rstacode"><img src="https://avatars.githubusercontent.com/u/35005761?v=4?s=100" width="100px;" alt="Nashwan Abdullah"/><br /><sub><b>Nashwan Abdullah</b></sub></a><br /><a href="#financial-codenashwan" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://darvis.nl/"><img src="https://avatars.githubusercontent.com/u/7394837?v=4?s=100" width="100px;" alt="Arvid de Jong"/><br /><sub><b>Arvid de Jong</b></sub></a><br /><a href="#financial-darviscommerce" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://ashallendesign.co.uk/"><img src="https://avatars.githubusercontent.com/u/39652331?v=4?s=100" width="100px;" alt="Ash Allen"/><br /><sub><b>Ash Allen</b></sub></a><br /><a href="#design-ash-jc-allen" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://about.me/murrant"><img src="https://avatars.githubusercontent.com/u/39462?v=4?s=100" width="100px;" alt="Tony Murray"/><br /><sub><b>Tony Murray</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=murrant" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/n3wborn"><img src="https://avatars.githubusercontent.com/u/10246722?v=4?s=100" width="100px;" alt="Stéphane P"/><br /><sub><b>Stéphane P</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=n3wborn" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.instagram.com/lucas.maciel_z"><img src="https://avatars.githubusercontent.com/u/80225404?v=4?s=100" width="100px;" alt="Lucas Maciel"/><br /><sub><b>Lucas Maciel</b></sub></a><br /><a href="#design-LucasStorm" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://siek.io/"><img src="https://avatars.githubusercontent.com/u/5730766?v=4?s=100" width="100px;" alt="Antoni Siek"/><br /><sub><b>Antoni Siek</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=ImJustToNy" title="Code">💻</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
## Contact
PHPFlasher is being actively developed by <a href="https://github.com/yoeunes">yoeunes</a>.
You can reach out with questions, bug reports, or feature requests on any of the following:
- [Github Issues](https://github.com/php-flasher/php-flasher/issues)
- [Github](https://github.com/yoeunes)
- [Twitter](https://twitter.com/yoeunes)
- [Linkedin](https://www.linkedin.com/in/younes-khoubza/)
- [Email me directly](mailto:younes.khoubza@gmail.com)
## License
PHPFlasher is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
<p align="center"> <b>Made with ❤️ by <a href="https://www.linkedin.com/in/younes-khoubza/">Younes KHOUBZA</a> </b> </p>
+51
View File
@@ -0,0 +1,51 @@
{
"name": "php-flasher/symfony-pack",
"description": "PHPFlasher - A powerful & easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement & enhances user experience. Intuitive design for beginners & experienced developers. A reliable, flexible solution.",
"license": "MIT",
"type": "flasher-pack",
"keywords": [
"php-flasher",
"flash-messages",
"notification-system",
"user-feedback",
"toastr",
"sweetalert",
"pnotify",
"noty",
"notyf",
"desktop-notifications",
"php",
"laravel",
"symfony",
"javascript",
"yoeunes",
"framework-agnostic",
"phpstorm-auto-complete",
"custom-adapter",
"user-experience",
"rtl",
"dark-mode"
],
"authors": [
{
"name": "Younes KHOUBZA",
"email": "younes.khoubza@gmail.com",
"homepage": "https://www.linkedin.com/in/younes-khoubza",
"role": "Developer"
}
],
"require": {
"php-flasher/flasher-cli-symfony": "*",
"php-flasher/flasher-noty-symfony": "*",
"php-flasher/flasher-notyf-symfony": "*",
"php-flasher/flasher-pnotify-symfony": "*",
"php-flasher/flasher-sweetalert-symfony": "*",
"php-flasher/flasher-toastr-symfony": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"preferred-install": "dist",
"sort-packages": true
}
}
+9
View File
@@ -0,0 +1,9 @@
parameters:
level: 9
paths:
- src
excludePaths:
- src/Symfony/Bridge/
- src/Laravel/Middleware/HttpKernelFlasherMiddleware.php
- src/Laravel/Middleware/HttpKernelSessionMiddleware.php
- src/*/Symfony/Flasher*SymfonyBundle.php
+9
View File
@@ -0,0 +1,9 @@
<?php
namespace PHPSTORM_META;
override(\Illuminate\Foundation\Application::make(0), map([
'config' => \Illuminate\Contracts\Config\Repository::class,
'session' => \Illuminate\Session\SessionManager::class,
'view' => \Illuminate\View\Factory::class,
]));
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
stopOnFailure="true"
cacheDirectory=".phpunit.cache"
>
<testsuites>
<testsuite name="flasher">
<directory>tests/Prime</directory>
<directory>tests/Laravel</directory>
</testsuite>
</testsuites>
<coverage/>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
stopOnFailure="true"
cacheDirectory=".phpunit.cache"
>
<testsuites>
<testsuite name="flasher">
<directory>tests/Prime</directory>
<directory>tests/Symfony</directory>
</testsuite>
</testsuites>
<coverage/>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>
+21
View File
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
stopOnFailure="true"
cacheDirectory=".phpunit.cache"
>
<testsuites>
<testsuite name="default">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage/>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>
+26
View File
@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<psalm
errorLevel="4"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
findUnusedBaselineEntry="true"
findUnusedCode="false"
>
<projectFiles>
<directory name="src/Prime" />
<ignoreFiles>
<directory name="vendor" />
<file name="phpstorm/Laravel/.phpstorm.meta.php" />
<file name="src/SweetAlert/Prime/.phpstorm.meta.php" />
<file name="src/Notyf/Prime/.phpstorm.meta.php" />
<file name="src/Pnotify/Prime/.phpstorm.meta.php" />
<file name="src/Noty/Prime/.phpstorm.meta.php" />
<file name="src/Laravel/.phpstorm.meta.php" />
<file name="src/Toastr/Prime/.phpstorm.meta.php" />
<file name="src/Prime/.phpstorm.meta.php" />
<file name="src/Cli/Prime/.phpstorm.meta.php" />
</ignoreFiles>
</projectFiles>
</psalm>
+5
View File
@@ -0,0 +1,5 @@
github: yoeunes
patreon: yoeunes
ko_fi: yoeunes
open_collective: php-flasher
custom: https://www.paypal.com/paypalme/yoeunes
+22
View File
@@ -0,0 +1,22 @@
name: Auto Closer PR
on:
pull_request_target:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: |
Hi, thank you for your contribution.
Unfortunately, this repository is read-only. It's a split from our main monorepo repository.
We'd like to kindly ask you to move the contribution there - https://github.com/php-flasher/php-flasher.
We'll check it, review it and give you feed back right way.
Thank you.
@@ -0,0 +1,106 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Laravel;
use Flasher\Cli\Prime\CliFactory;
use Flasher\Cli\Prime\EventListener\RenderListener;
use Flasher\Cli\Prime\Notify;
use Flasher\Cli\Prime\Presenter\CliPresenter;
use Flasher\Prime\EventDispatcher\EventDispatcherInterface;
use Flasher\Prime\FlasherInterface;
use Flasher\Prime\Response\ResponseManagerInterface;
use Illuminate\Container\Container;
use Illuminate\Support\ServiceProvider;
final class FlasherCliServiceProvider extends ServiceProvider
{
/**
* @return void
*/
public function boot()
{
$this->processConfiguration();
$this->registerRenderListener();
$this->registerPresenter();
}
/**
* {@inheritdoc}
*/
public function register()
{
$this->registerNotifierFactory();
$this->registerNotifier();
}
/**
* @return void
*/
private function processConfiguration()
{
$name = 'flasher_cli';
$config = $this->app->make('config');
$config->set($name, $config->get($name, array())); // @phpstan-ignore-line
}
/**
* @return void
*/
private function registerNotifierFactory()
{
$this->app->singleton('flasher.cli', function (Container $app) {
return new CliFactory($app->make('flasher.storage_manager')); // @phpstan-ignore-line
});
$this->app->alias('flasher.cli', 'Flasher\Cli\Prime\CliFactory');
}
/**
* @return void
*/
private function registerNotifier()
{
$this->app->singleton('flasher.notify', function (Container $app) {
/** @phpstan-ignore-next-line */
$title = $app->make('config')->get('flasher_cli.title', null);
$icons = $app->make('config')->get('flasher_cli.icons', array()); // @phpstan-ignore-line
return new Notify($title, $icons);
});
$this->app->alias('flasher.notify', 'Flasher\Cli\Prime\Notify');
$this->app->alias('flasher.notify', 'Flasher\Cli\Prime\NotifyInterface');
}
/**
* @return void
*/
private function registerRenderListener()
{
/** @var FlasherInterface $flasher */
$flasher = $this->app->make('flasher');
$this->app->extend('flasher.event_dispatcher', function (EventDispatcherInterface $dispatcher) use ($flasher) {
$dispatcher->addSubscriber(new RenderListener($flasher));
return $dispatcher;
});
}
/**
* @return void
*/
private function registerPresenter()
{
$this->app->extend('flasher.response_manager', function (ResponseManagerInterface $manager, Container $app) {
$manager->addPresenter(CliPresenter::NAME, new CliPresenter($app->make('flasher.notify'))); // @phpstan-ignore-line
return $manager;
});
}
}
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 PHPFlasher
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+74
View File
@@ -0,0 +1,74 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github-dark.png">
<img src="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github.png" alt="PHPFlasher Logo">
</picture>
</p>
## About PHPFlasher
PHPFlasher is a powerful and easy-to-use package that allows you to quickly and easily add flash messages to your Laravel or Symfony projects.
Whether you need to alert users of a successful form submission, an error, or any other important information, flash messages are a simple and effective solution for providing feedback to your users.
With PHPFlasher, you can easily record and store messages within the session, making it simple to retrieve and display them on the current or next page.
This improves user engagement and enhances the overall user experience on your website or application.
Whether you're a beginner or an experienced developer, PHPFlasher's intuitive and straightforward design makes it easy to integrate into your projects.
So, if you're looking for a reliable, flexible and easy to use flash messages solution, PHPFlasher is the perfect choice.
## Official Documentation
Documentation for PHPFlasher can be found on the [https://php-flasher.io](https://php-flasher.io).
## Contributors and sponsors
Join our team of contributors and make a lasting impact on our project!
We are always looking for passionate individuals who want to contribute their skills and ideas.
Whether you're a developer, designer, or simply have a great idea, we welcome your participation and collaboration.
Shining stars of our community:
<!-- ALL-CONTRIBUTORS-LIST:START -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/younes-khoubza/"><img src="https://avatars.githubusercontent.com/u/10859693?v=4?s=100" width="100px;" alt="Younes KHOUBZA"/><br /><sub><b>Younes KHOUBZA</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Code">💻</a> <a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Documentation">📖</a> <a href="#maintenance-yoeunes" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/salmayno"><img src="https://avatars.githubusercontent.com/u/27933199?v=4?s=100" width="100px;" alt="Salma Mourad"/><br /><sub><b>Salma Mourad</b></sub></a><br /><a href="#financial-salmayno" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.youtube.com/rstacode"><img src="https://avatars.githubusercontent.com/u/35005761?v=4?s=100" width="100px;" alt="Nashwan Abdullah"/><br /><sub><b>Nashwan Abdullah</b></sub></a><br /><a href="#financial-codenashwan" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://darvis.nl/"><img src="https://avatars.githubusercontent.com/u/7394837?v=4?s=100" width="100px;" alt="Arvid de Jong"/><br /><sub><b>Arvid de Jong</b></sub></a><br /><a href="#financial-darviscommerce" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://ashallendesign.co.uk/"><img src="https://avatars.githubusercontent.com/u/39652331?v=4?s=100" width="100px;" alt="Ash Allen"/><br /><sub><b>Ash Allen</b></sub></a><br /><a href="#design-ash-jc-allen" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://about.me/murrant"><img src="https://avatars.githubusercontent.com/u/39462?v=4?s=100" width="100px;" alt="Tony Murray"/><br /><sub><b>Tony Murray</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=murrant" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/n3wborn"><img src="https://avatars.githubusercontent.com/u/10246722?v=4?s=100" width="100px;" alt="Stéphane P"/><br /><sub><b>Stéphane P</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=n3wborn" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.instagram.com/lucas.maciel_z"><img src="https://avatars.githubusercontent.com/u/80225404?v=4?s=100" width="100px;" alt="Lucas Maciel"/><br /><sub><b>Lucas Maciel</b></sub></a><br /><a href="#design-LucasStorm" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://siek.io/"><img src="https://avatars.githubusercontent.com/u/5730766?v=4?s=100" width="100px;" alt="Antoni Siek"/><br /><sub><b>Antoni Siek</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=ImJustToNy" title="Code">💻</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
## Contact
PHPFlasher is being actively developed by <a href="https://github.com/yoeunes">yoeunes</a>.
You can reach out with questions, bug reports, or feature requests on any of the following:
- [Github Issues](https://github.com/php-flasher/php-flasher/issues)
- [Github](https://github.com/yoeunes)
- [Twitter](https://twitter.com/yoeunes)
- [Linkedin](https://www.linkedin.com/in/younes-khoubza/)
- [Email me directly](mailto:younes.khoubza@gmail.com)
## License
PHPFlasher is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
<p align="center"> <b>Made with ❤️ by <a href="https://www.linkedin.com/in/younes-khoubza/">Younes KHOUBZA</a> </b> </p>
+61
View File
@@ -0,0 +1,61 @@
{
"name": "php-flasher/flasher-cli-laravel",
"description": "PHPFlasher - A powerful & easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement & enhances user experience. Intuitive design for beginners & experienced developers. A reliable, flexible solution.",
"license": "MIT",
"type": "library",
"keywords": [
"php-flasher",
"flash-messages",
"notification-system",
"user-feedback",
"toastr",
"sweetalert",
"pnotify",
"noty",
"notyf",
"desktop-notifications",
"php",
"laravel",
"symfony",
"javascript",
"yoeunes",
"framework-agnostic",
"phpstorm-auto-complete",
"custom-adapter",
"user-experience",
"rtl",
"dark-mode"
],
"authors": [
{
"name": "Younes KHOUBZA",
"email": "younes.khoubza@gmail.com",
"homepage": "https://www.linkedin.com/in/younes-khoubza",
"role": "Developer"
}
],
"homepage": "https://php-flasher.io",
"require": {
"php": ">=5.3",
"php-flasher/flasher-cli": "^1.15.14",
"php-flasher/flasher-laravel": "^1.15.14"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Flasher\\Cli\\Laravel\\": ""
}
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laravel": {
"providers": [
"Flasher\\Cli\\Laravel\\FlasherCliServiceProvider"
]
}
}
}
+5
View File
@@ -0,0 +1,5 @@
github: yoeunes
patreon: yoeunes
ko_fi: yoeunes
open_collective: php-flasher
custom: https://www.paypal.com/paypalme/yoeunes
+22
View File
@@ -0,0 +1,22 @@
name: Auto Closer PR
on:
pull_request_target:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: |
Hi, thank you for your contribution.
Unfortunately, this repository is read-only. It's a split from our main monorepo repository.
We'd like to kindly ask you to move the contribution there - https://github.com/php-flasher/php-flasher.
We'll check it, review it and give you feed back right way.
Thank you.
+11
View File
@@ -0,0 +1,11 @@
<?php
namespace PHPSTORM_META;
override(\Flasher\Prime\FlasherInterface::create(), map([
'cli' => \Flasher\Cli\Prime\CliFactory::class
]));
override(\Flasher\Prime\FlasherInterface::using(), map([
'cli' => \Flasher\Cli\Prime\CliFactory::class
]));
+41
View File
@@ -0,0 +1,41 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime;
use Flasher\Prime\Notification\NotificationBuilder;
final class CliBuilder extends NotificationBuilder
{
/**
* @param string $title
*
* @return static
*/
public function title($title)
{
/** @var Notification $notification */
$notification = $this->envelope->getNotification();
$notification->setTitle($title);
return $this;
}
/**
* @param string $icon
*
* @return static
*/
public function icon($icon)
{
/** @var Notification $notification */
$notification = $this->envelope->getNotification();
$notification->setIcon($icon);
return $this;
}
}
+18
View File
@@ -0,0 +1,18 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime;
use Flasher\Prime\Factory\NotificationFactory;
final class CliFactory extends NotificationFactory
{
public function createNotificationBuilder()
{
return new CliBuilder($this->getStorageManager(), new Notification(), 'cli');
}
}
@@ -0,0 +1,46 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\EventListener;
use Flasher\Cli\Prime\Presenter\CliPresenter;
use Flasher\Prime\EventDispatcher\Event\PostPersistEvent;
use Flasher\Prime\EventDispatcher\EventListener\EventSubscriberInterface;
use Flasher\Prime\FlasherInterface;
final class RenderListener implements EventSubscriberInterface
{
/**
* @var FlasherInterface
*/
private $flasher;
public function __construct(FlasherInterface $flasher)
{
$this->flasher = $flasher;
}
/**
* @return void
*/
public function __invoke(PostPersistEvent $event)
{
if ('cli' !== \PHP_SAPI) {
return;
}
$this->flasher->render(array(), CliPresenter::NAME);
}
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents()
{
return 'Flasher\Prime\EventDispatcher\Event\PostPersistEvent';
}
}
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 PHPFlasher
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+228
View File
@@ -0,0 +1,228 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime;
use Flasher\Prime\Notification\Envelope;
use Flasher\Prime\Notification\Notification as BaseNotification;
use Flasher\Prime\Notification\NotificationInterface;
final class Notification extends BaseNotification
{
/**
* @var string|null
*/
private $title;
/**
* @var string|null
*/
private $icon;
/**
* @param string|null $message
* @param string|null $title
* @param string|null $icon
* @param string $type
* @param array<string, mixed> $options
*/
public function __construct($message = null, $title = null, $icon = null, $type = self::INFO, array $options = array())
{
$this->message = $message;
$this->title = $title;
$this->icon = $icon;
$this->type = $type;
$this->options = $options;
}
/**
* @param Notification|string $notification
*
* @return static
*/
public static function wrap($notification)
{
if ($notification instanceof Notification) {
return $notification;
}
return self::create($notification);
}
/**
* @param string $message
* @param string|null $title
* @param string|null $icon
* @param string $type
* @param array<string, mixed> $options
*
* @return static
*/
public static function create($message, $title = null, $icon = null, $type = self::INFO, array $options = array())
{
return new self($message, $title, $icon, $type, $options);
}
/**
* @param string $message
* @param string|null $title
* @param string|null $icon
* @param array<string, mixed> $options
*
* @return static
*/
public static function error($message, $title = null, $icon = null, array $options = array())
{
return self::create($message, $title, $icon, NotificationInterface::ERROR, $options);
}
/**
* @param string $message
* @param string|null $title
* @param string|null $icon
* @param array<string, mixed> $options
*
* @return static
*/
public static function info($message, $title = null, $icon = null, array $options = array())
{
return self::create($message, $title, $icon, NotificationInterface::INFO, $options);
}
/**
* @param string $message
* @param string|null $title
* @param string|null $icon
* @param array<string, mixed> $options
*
* @return static
*/
public static function success($message, $title = null, $icon = null, array $options = array())
{
return self::create($message, $title, $icon, NotificationInterface::SUCCESS, $options);
}
/**
* @param string $message
* @param string|null $title
* @param string|null $icon
* @param array<string, mixed> $options
*
* @return static
*/
public static function warning($message, $title = null, $icon = null, array $options = array())
{
return self::create($message, $title, $icon, NotificationInterface::WARNING, $options);
}
/**
* {@inheritdoc}
*/
public function getMessage()
{
$message = parent::getMessage();
if (\is_string($message)) {
$message = addslashes($message);
}
return $message;
}
/**
* {@inheritdoc}
*/
public function getOption($name, $default = null)
{
$option = parent::getOption($name, $default);
if (\is_string($option)) {
$option = addslashes($option);
}
return $option;
}
/**
* @return string|null
*/
public function getTitle()
{
$title = $this->title;
if (\is_string($title)) {
$title = addslashes($title);
}
return $title;
}
/**
* @param string|null $title
*
* @return static
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* @return string|null
*/
public function getIcon()
{
return $this->icon;
}
/**
* @param string|null $icon
*
* @return static
*/
public function setIcon($icon)
{
$this->icon = $icon;
return $this;
}
/**
* {@inheritdoc}
*/
public function toArray()
{
return array_merge(parent::toArray(), array(
'title' => $this->getTitle(),
'icon' => $this->getIcon(),
));
}
/**
* @return static
*/
public static function fromEnvelope(Envelope $envelope)
{
$self = new self();
$self->setType($envelope->getType());
$self->setMessage($envelope->getMessage());
$self->setOptions($envelope->getOptions());
$notification = $envelope->getNotification();
if (!$notification instanceof self) {
return $self;
}
$self->setTitle($notification->getTitle());
$self->setIcon($notification->getIcon());
return $self;
}
}
@@ -0,0 +1,57 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\System\Command;
use Flasher\Cli\Prime\System\OS;
final class AppleScriptBaseNotifier extends BaseNotifier
{
/**
* {@inheritdoc}
*/
public function send($notification)
{
$notification = Notification::wrap($notification);
$cmd = new Command($this->getProgram());
$cmd
->addArgument(sprintf('display notification "%s"', $notification->getMessage()))
->addArgument(sprintf('with title "%s"', $notification->getTitle()));
/** @var string $subtitle */
$subtitle = $notification->getOption('subtitle');
if ($subtitle) {
$cmd->addArgument(sprintf('subtitle "%s"', $subtitle));
}
$cmd->run();
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
if (!$this->getProgram()) {
return false;
}
return OS::isMacOS() && version_compare(OS::getMacOSVersion(), '10.9.0', '>=');
}
/**
* {@inheritdoc}
*/
public function getBinary()
{
return 'osascript';
}
}
+111
View File
@@ -0,0 +1,111 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\NotifyInterface;
use Flasher\Cli\Prime\System\Path;
use Flasher\Cli\Prime\System\Program;
use Flasher\Prime\Notification\NotificationInterface;
abstract class BaseNotifier implements NotifyInterface
{
/**
* {@inheritdoc}
*/
public function isSupported()
{
return true;
}
/**
* {@inheritdoc}
*/
public function getPriority()
{
return 0;
}
/**
* @return string|null
*/
public function getBinary()
{
return null;
}
/**
* @return string|string[]
*/
public function getBinaryPaths()
{
return array();
}
/**
* @return string|null
*/
public function getProgram()
{
if (Program::exist($this->getBinary())) {
return $this->getBinary();
}
foreach ((array) $this->getBinaryPaths() as $path) {
$path = Path::realpath($path);
if (file_exists($path)) {
return $path;
}
}
return null;
}
/**
* {@inheritdoc}
*/
public function success($message, $title = null, $options = array())
{
$this->type(NotificationInterface::SUCCESS, $message, $title, $options);
}
/**
* {@inheritdoc}
*/
public function info($message, $title = null, $options = array())
{
$this->type(NotificationInterface::INFO, $message, $title, $options);
}
/**
* {@inheritdoc}
*/
public function error($message, $title = null, $options = array())
{
$this->type(NotificationInterface::ERROR, $message, $title, $options);
}
/**
* {@inheritdoc}
*/
public function warning($message, $title = null, $options = array())
{
$this->type(NotificationInterface::WARNING, $message, $title, $options);
}
/**
* {@inheritdoc}
*/
public function type($type, $message, $title = null, $options = array())
{
$notification = new Notification($message, $title, null, $type, $options);
$this->send($notification);
}
}
@@ -0,0 +1,48 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\System\Command;
use Flasher\Cli\Prime\System\OS;
final class GrowlNotifyBaseNotifier extends BaseNotifier
{
/**
* {@inheritdoc}
*/
public function send($notification)
{
$notification = Notification::wrap($notification);
$cmd = new Command($this->getProgram());
$cmd
->addOption('--message', $notification->getMessage())
->addOption('--title', $notification->getTitle())
->addOption('--image', $notification->getIcon());
$cmd->run();
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
return OS::isMacOS() && $this->getProgram();
}
/**
* {@inheritdoc}
*/
public function getBinary()
{
return 'growlnotify';
}
}
@@ -0,0 +1,48 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\System\Command;
use Flasher\Cli\Prime\System\OS;
final class KDialogBaseNotifier extends BaseNotifier
{
/**
* {@inheritdoc}
*/
public function send($notification)
{
$notification = Notification::wrap($notification);
$cmd = new Command($this->getProgram());
$cmd
->addOption('--passivepopup', $notification->getMessage())
->addOption('--title', $notification->getTitle())
->addArgument(5);
$cmd->run();
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
return OS::isUnix() && $this->getProgram();
}
/**
* {@inheritdoc}
*/
public function getBinary()
{
return 'kdialog';
}
}
@@ -0,0 +1,54 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\System\Command;
use Flasher\Cli\Prime\System\OS;
use Flasher\Cli\Prime\System\Path;
final class NotifuBaseNotifier extends BaseNotifier
{
public function send($notification)
{
$notification = Notification::wrap($notification);
$cmd = new Command($this->getProgram());
$cmd
->addOption('/m', $notification->getMessage())
->addOption('/p', $notification->getTitle())
->addOption('/i', $notification->getIcon());
$cmd->run();
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
return OS::isWindowsSeven() && $this->getProgram();
}
/**
* {@inheritdoc}
*/
public function getBinary()
{
return 'notifu';
}
/**
* {@inheritdoc}
*/
public function getBinaryPaths()
{
return Path::realpath(__DIR__.'/../Resources/bin/notifu/notifu.exe');
}
}
@@ -0,0 +1,51 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\System\Command;
use Flasher\Cli\Prime\System\OS;
final class NotifySendBaseNotifier extends BaseNotifier
{
/**
* {@inheritdoc}
*/
public function send($notification)
{
$notification = Notification::wrap($notification);
$cmd = new Command($this->getProgram());
$cmd
->addOption('--urgency', 'normal')
->addOption('--app-name', 'notify')
->addOption('--icon', $notification->getIcon())
->addOption('--expire-time', 1)
->addArgument($notification->getTitle())
->addArgument($notification->getMessage());
$cmd->run();
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
return OS::isUnix() && $this->getProgram();
}
/**
* {@inheritdoc}
*/
public function getBinary()
{
return 'notify-send';
}
}
@@ -0,0 +1,34 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
final class NullBaseNotifier extends BaseNotifier
{
/**
* {@inheritdoc}
*/
public function send($notification)
{
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
return false;
}
/**
* {@inheritdoc}
*/
public function getBinary()
{
return '';
}
}
@@ -0,0 +1,61 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\System\Command;
use Flasher\Cli\Prime\System\OS;
use Flasher\Cli\Prime\System\Path;
final class SnoreToastBaseNotifier extends BaseNotifier
{
/**
* {@inheritdoc}
*/
public function send($notification)
{
$notification = Notification::wrap($notification);
$cmd = new Command($this->getProgram());
$cmd
->addOption('-m', $notification->getMessage())
->addOption('-t', $notification->getTitle())
->addOption('-p', $notification->getIcon());
$cmd->run();
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
if (!$this->getProgram()) {
return false;
}
return OS::isWindowsEightOrHigher() || OS::isWindowsSubsystemForLinux();
}
/**
* {@inheritdoc}
*/
public function getBinary()
{
return 'snoretoast';
}
/**
* {@inheritdoc}
*/
public function getBinaryPaths()
{
return Path::realpath(__DIR__.'/../Resources/bin/snoreToast/snoretoast-x86.exe');
}
}
@@ -0,0 +1,57 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\System\Command;
use Flasher\Cli\Prime\System\OS;
final class TerminalNotifierBaseNotifier extends BaseNotifier
{
/**
* {@inheritdoc}
*/
public function send($notification)
{
$notification = Notification::wrap($notification);
$cmd = new Command($this->getProgram());
$cmd
->addOption('-message', $notification->getMessage())
->addOption('-title', $notification->getTitle());
if (version_compare(OS::getMacOSVersion(), '10.9.0', '>=')) {
$cmd->addOption('-appIcon', $notification->getIcon());
}
/** @var string|null $url */
$url = $notification->getOption('url');
if ($url) {
$cmd->addOption('-open', $url);
}
$cmd->run();
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
return OS::isMacOS() && $this->getProgram();
}
/**
* {@inheritdoc}
*/
public function getBinary()
{
return 'terminal-notifier';
}
}
@@ -0,0 +1,62 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\System\Command;
use Flasher\Cli\Prime\System\OS;
use Flasher\Cli\Prime\System\Path;
final class ToasterBaseNotifier extends BaseNotifier
{
/**
* {@inheritdoc}
*/
public function send($notification)
{
$notification = Notification::wrap($notification);
$cmd = new Command($this->getProgram());
$cmd
->addOption('-t', $notification->getTitle())
->addOption('-m', $notification->getMessage())
->addOption('-p', $notification->getIcon())
->addArgument('-w');
$cmd->run();
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
if (!$this->getProgram()) {
return false;
}
return OS::isWindowsEightOrHigher() || OS::isWindowsSubsystemForLinux();
}
/**
* {@inheritdoc}
*/
public function getBinary()
{
return 'toast';
}
/**
* {@inheritdoc}
*/
public function getBinaryPaths()
{
return Path::realpath(__DIR__.'/../Resources/bin/toaster/toast.exe');
}
}
@@ -0,0 +1,48 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Notifier;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\System\Command;
use Flasher\Cli\Prime\System\OS;
final class ZenityBaseNotifier extends BaseNotifier
{
/**
* {@inheritdoc}
*/
public function send($notification)
{
$notification = Notification::wrap($notification);
$cmd = new Command($this->getProgram());
$cmd
->addArgument('--notification')
->addOption('--text', $notification->getTitle().'\n\n'.$notification->getMessage())
->addOption('--window-icon', $notification->getIcon());
$cmd->run();
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
return OS::isUnix() && $this->getProgram();
}
/**
* {@inheritdoc}
*/
public function getBinary()
{
return 'zenity';
}
}
+231
View File
@@ -0,0 +1,231 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime;
use Flasher\Cli\Prime\Notifier\BaseNotifier;
use Flasher\Cli\Prime\System\Path;
use Flasher\Prime\Notification\NotificationInterface;
final class Notify extends BaseNotifier
{
/**
* @var NotifyInterface|null
*/
private $notifier;
/**
* @var NotifyInterface[]
*/
private $notifiers = array();
/**
* @var NotifyInterface[]
*/
private $sorted = array();
/**
* @var bool|null
*/
private $isSupported;
/**
* @var string|null
*/
private $title;
/**
* @var array{success?: string, error?: string, info?: string, warning?: string}
*/
private $icons = array();
/**
* @param string|null $title
* @param array{success?: string, error?: string, info?: string, warning?: string}|string $icons
*/
public function __construct($title = 'PHPFlasher', $icons = array())
{
$this->title = $title;
$this->icons = $this->configureIcons($icons);
$this->addNotifier(new Notifier\NotifySendBaseNotifier());
$this->addNotifier(new Notifier\AppleScriptBaseNotifier());
$this->addNotifier(new Notifier\GrowlNotifyBaseNotifier());
$this->addNotifier(new Notifier\KDialogBaseNotifier());
$this->addNotifier(new Notifier\NotifuBaseNotifier());
$this->addNotifier(new Notifier\SnoreToastBaseNotifier());
$this->addNotifier(new Notifier\TerminalNotifierBaseNotifier());
$this->addNotifier(new Notifier\ToasterBaseNotifier());
$this->addNotifier(new Notifier\ZenityBaseNotifier());
}
/**
* @param string|null $title
* @param array{success?: string, error?: string, info?: string, warning?: string}|string $icons
*
* @return static
*/
public static function create($title = null, $icons = array())
{
return new self($title, $icons);
}
/**
* {@inheritdoc}
*/
public function send($notification)
{
$notification = $this->configureNotification($notification);
$notifier = $this->createNotifier();
$notifier->send($notification);
}
/**
* @return void
*/
public function addNotifier(NotifyInterface $notifier)
{
$this->notifiers[] = $notifier;
$this->reset();
}
/**
* {@inheritdoc}
*/
public function getPriority()
{
return 0;
}
/**
* {@inheritdoc}
*/
public function isSupported()
{
if (null !== $this->isSupported) {
return $this->isSupported;
}
if ($this->notifier instanceof NotifyInterface) {
return true;
}
foreach ($this->getNotifiers() as $notifier) {
if ($notifier->isSupported()) {
return $this->isSupported = true;
}
}
return false;
}
/**
* @return void
*/
private function reset()
{
$this->notifier = null;
$this->sorted = array();
$this->isSupported = null;
}
/**
* @return NotifyInterface[]
*/
private function getNotifiers()
{
if (array() !== $this->sorted) {
return $this->sorted;
}
$this->sorted = $this->notifiers;
usort($this->sorted, static function (NotifyInterface $a, NotifyInterface $b) {
$priorityA = $a->getPriority();
$priorityB = $b->getPriority();
if ($priorityA === $priorityB) {
return 0;
}
return $priorityA < $priorityB ? 1 : -1;
});
return $this->sorted;
}
/**
* @return NotifyInterface
*/
private function createNotifier()
{
if ($this->notifier instanceof NotifyInterface) {
return $this->notifier;
}
foreach ($this->getNotifiers() as $notifier) {
if ($notifier->isSupported()) {
return $this->notifier = $notifier;
}
}
return new Notifier\NullBaseNotifier();
}
/**
* @param array{success?: string, error?: string, info?: string, warning?: string}|string $icons
*
* @return array<'default'|'error'|'info'|'success'|'warning', string>
*/
private function configureIcons($icons = array())
{
$icons = $icons ?: array();
if (!\is_array($icons)) {
$icons = array(
NotificationInterface::SUCCESS => $icons,
NotificationInterface::ERROR => $icons,
NotificationInterface::INFO => $icons,
NotificationInterface::WARNING => $icons,
'default' => $icons,
);
}
return array_merge(array(
NotificationInterface::SUCCESS => Path::realpath(__DIR__.'/Resources/icons/success.png'),
NotificationInterface::ERROR => Path::realpath(__DIR__.'/Resources/icons/error.png'),
NotificationInterface::INFO => Path::realpath(__DIR__.'/Resources/icons/info.png'),
NotificationInterface::WARNING => Path::realpath(__DIR__.'/Resources/icons/warning.png'),
'default' => Path::realpath(__DIR__.'/Resources/icons/info.png'),
), $icons);
}
/**
* @param Notification|string $notification
*
* @return Notification
*/
private function configureNotification($notification)
{
$notification = Notification::wrap($notification);
if (null === $notification->getTitle()) {
$notification->setTitle($this->title);
}
if (null === $notification->getIcon() && isset($this->icons[$notification->getType()])) {
$notification->setIcon($this->icons[$notification->getType()]);
}
if (null === $notification->getIcon()) {
$notification->setIcon($this->icons['default']); // @phpstan-ignore-line
}
return $notification;
}
}
+74
View File
@@ -0,0 +1,74 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime;
interface NotifyInterface
{
/**
* @param Notification|string $notification
*
* @return void
*/
public function send($notification);
/**
* @return int
*/
public function getPriority();
/**
* @return bool
*/
public function isSupported();
/**
* @param string $type
* @param string $message
* @param string|null $title
* @param array<string, mixed> $options
*
* @return void
*/
public function type($type, $message, $title = null, $options = array());
/**
* @param string $message
* @param string|null $title
* @param array<string, mixed> $options
*
* @return void
*/
public function warning($message, $title = null, $options = array());
/**
* @param string $message
* @param string|null $title
* @param array<string, mixed> $options
*
* @return void
*/
public function info($message, $title = null, $options = array());
/**
* @param string $message
* @param string|null $title
* @param array<string, mixed> $options
*
* @return void
*/
public function error($message, $title = null, $options = array());
/**
* @param string $message
* @param string|null $title
* @param array<string, mixed> $options
*
* @return void
*/
public function success($message, $title = null, $options = array());
}
+44
View File
@@ -0,0 +1,44 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\Presenter;
use Flasher\Cli\Prime\Notification;
use Flasher\Cli\Prime\Notify;
use Flasher\Cli\Prime\NotifyInterface;
use Flasher\Prime\Response\Presenter\PresenterInterface;
use Flasher\Prime\Response\Response;
final class CliPresenter implements PresenterInterface
{
const NAME = 'cli';
/**
* @var NotifyInterface
*/
private $notifier;
public function __construct(NotifyInterface $notifier = null)
{
$this->notifier = $notifier ?: new Notify();
}
/**
* {@inheritdoc}
*/
public function render(Response $response)
{
if ('cli' !== \PHP_SAPI || array() === $response->getEnvelopes()) {
return;
}
foreach ($response->getEnvelopes() as $envelope) {
$notification = Notification::fromEnvelope($envelope);
$this->notifier->send($notification);
}
}
}
+74
View File
@@ -0,0 +1,74 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github-dark.png">
<img src="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github.png" alt="PHPFlasher Logo">
</picture>
</p>
## About PHPFlasher
PHPFlasher is a powerful and easy-to-use package that allows you to quickly and easily add flash messages to your Laravel or Symfony projects.
Whether you need to alert users of a successful form submission, an error, or any other important information, flash messages are a simple and effective solution for providing feedback to your users.
With PHPFlasher, you can easily record and store messages within the session, making it simple to retrieve and display them on the current or next page.
This improves user engagement and enhances the overall user experience on your website or application.
Whether you're a beginner or an experienced developer, PHPFlasher's intuitive and straightforward design makes it easy to integrate into your projects.
So, if you're looking for a reliable, flexible and easy to use flash messages solution, PHPFlasher is the perfect choice.
## Official Documentation
Documentation for PHPFlasher can be found on the [https://php-flasher.io](https://php-flasher.io).
## Contributors and sponsors
Join our team of contributors and make a lasting impact on our project!
We are always looking for passionate individuals who want to contribute their skills and ideas.
Whether you're a developer, designer, or simply have a great idea, we welcome your participation and collaboration.
Shining stars of our community:
<!-- ALL-CONTRIBUTORS-LIST:START -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/younes-khoubza/"><img src="https://avatars.githubusercontent.com/u/10859693?v=4?s=100" width="100px;" alt="Younes KHOUBZA"/><br /><sub><b>Younes KHOUBZA</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Code">💻</a> <a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Documentation">📖</a> <a href="#maintenance-yoeunes" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/salmayno"><img src="https://avatars.githubusercontent.com/u/27933199?v=4?s=100" width="100px;" alt="Salma Mourad"/><br /><sub><b>Salma Mourad</b></sub></a><br /><a href="#financial-salmayno" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.youtube.com/rstacode"><img src="https://avatars.githubusercontent.com/u/35005761?v=4?s=100" width="100px;" alt="Nashwan Abdullah"/><br /><sub><b>Nashwan Abdullah</b></sub></a><br /><a href="#financial-codenashwan" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://darvis.nl/"><img src="https://avatars.githubusercontent.com/u/7394837?v=4?s=100" width="100px;" alt="Arvid de Jong"/><br /><sub><b>Arvid de Jong</b></sub></a><br /><a href="#financial-darviscommerce" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://ashallendesign.co.uk/"><img src="https://avatars.githubusercontent.com/u/39652331?v=4?s=100" width="100px;" alt="Ash Allen"/><br /><sub><b>Ash Allen</b></sub></a><br /><a href="#design-ash-jc-allen" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://about.me/murrant"><img src="https://avatars.githubusercontent.com/u/39462?v=4?s=100" width="100px;" alt="Tony Murray"/><br /><sub><b>Tony Murray</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=murrant" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/n3wborn"><img src="https://avatars.githubusercontent.com/u/10246722?v=4?s=100" width="100px;" alt="Stéphane P"/><br /><sub><b>Stéphane P</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=n3wborn" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.instagram.com/lucas.maciel_z"><img src="https://avatars.githubusercontent.com/u/80225404?v=4?s=100" width="100px;" alt="Lucas Maciel"/><br /><sub><b>Lucas Maciel</b></sub></a><br /><a href="#design-LucasStorm" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://siek.io/"><img src="https://avatars.githubusercontent.com/u/5730766?v=4?s=100" width="100px;" alt="Antoni Siek"/><br /><sub><b>Antoni Siek</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=ImJustToNy" title="Code">💻</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
## Contact
PHPFlasher is being actively developed by <a href="https://github.com/yoeunes">yoeunes</a>.
You can reach out with questions, bug reports, or feature requests on any of the following:
- [Github Issues](https://github.com/php-flasher/php-flasher/issues)
- [Github](https://github.com/yoeunes)
- [Twitter](https://twitter.com/yoeunes)
- [Linkedin](https://www.linkedin.com/in/younes-khoubza/)
- [Email me directly](mailto:younes.khoubza@gmail.com)
## License
PHPFlasher is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
<p align="center"> <b>Made with ❤️ by <a href="https://www.linkedin.com/in/younes-khoubza/">Younes KHOUBZA</a> </b> </p>
@@ -0,0 +1,7 @@
# Notifu
This binary come from the [Notifu](http://www.paralint.com/projects/notifu)
project. All credits for this Windows tool goes to their original authors.
Only the required file was extracted here. If you want to fully test it, please
have a look at [this url](http://www.paralint.com/projects/notifu) instead.
@@ -0,0 +1,166 @@
// Retrieved from https://github.com/KDE/snoretoast/blob/master/COPYING.LGPL-3 version 0.7.0
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
@@ -0,0 +1,7 @@
# SnoreToast
These toaster binary files come from the [KDE/snoretoast](https://github.com/KDE/snoretoast)
project. All credits for this Windows 8* application goes to [KDE project](https://github.com/KDE).
Only the required files were extracted here. If you want to fully test it,
please have a look at the github project instead.
@@ -0,0 +1,7 @@
# Toaster
These toaster binary files come from the [nels-o/toaster](https://github.com/nels-o/toaster)
project. All credits for this Windows 8 application goes to [nels-o](https://github.com/nels-o).
Only the required files were extracted here. If you want to fully test it,
please have a look at the github project instead.
Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

+100
View File
@@ -0,0 +1,100 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\System;
final class Command
{
/**
* @var string|null
*/
private $command;
/**
* @var array<string, int|string|null>
*/
private $options = array();
/**
* @var array<int|string|null>
*/
private $arguments = array();
/**
* @param string|null $command
*/
public function __construct($command)
{
$this->command = null !== $command ? escapeshellcmd((string) $command) : null;
}
/**
* @param string $name
* @param int|string|null $value
*
* @return static
*/
public function addOption($name, $value = null)
{
$this->options[$name] = null !== $value ? escapeshellarg((string) $value) : null;
return $this;
}
/**
* @param int|string|null $argument
*
* @return static
*/
public function addArgument($argument)
{
$this->arguments[] = null !== $argument ? escapeshellarg((string) $argument) : $argument;
return $this;
}
/**
* @return void
*/
public function run()
{
$command = $this->command.' '.$this->formatOptions().' '.$this->formatArguments();
if (OS::isWindows()) {
pclose(popen('start /B '.$command, 'r')); // @phpstan-ignore-line
return;
}
exec($command);
}
/**
* @return string
*/
private function formatArguments()
{
return implode(' ', $this->arguments);
}
/**
* @return string
*/
private function formatOptions()
{
$line = '';
foreach ($this->options as $name => $value) {
$line .= $name;
if ($value) {
$line .= ' '.$value.' ';
}
}
return $line;
}
}
+94
View File
@@ -0,0 +1,94 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\System;
final class OS
{
/**
* @return string
*/
public static function getName()
{
return php_uname('s');
}
/**
* @return string
*/
public static function getRelease()
{
return php_uname('r');
}
/**
* @return bool
*/
public static function isUnix()
{
return \in_array(self::getName(), array(
'Linux',
'FreeBSD',
'NetBSD',
'OpenBSD',
'SunOS',
'DragonFly',
), true);
}
/**
* @return bool
*/
public static function isWindows()
{
return 'WIN' === strtoupper(substr(self::getName(), 0, 3));
}
/**
* @return bool
*/
public static function isWindowsSeven()
{
return self::isWindows() && '6.1' === self::getRelease();
}
/**
* @return bool
*/
public static function isWindowsEightOrHigher()
{
return self::isWindows() && version_compare(self::getRelease(), '6.2', '>=');
}
/**
* @return bool
*/
public static function isWindowsSubsystemForLinux()
{
return self::isUnix() && false !== mb_strpos(strtolower(self::getName()), 'microsoft');
}
/**
* @return bool
*/
public static function isMacOS()
{
return false !== strpos(self::getName(), 'Darwin');
}
/**
* @return string
*/
public static function getMacOSVersion()
{
exec('sw_vers -productVersion', $output);
$output = (array) $output;
return trim(reset($output));
}
}
+21
View File
@@ -0,0 +1,21 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\System;
final class Path
{
/**
* @param string $path
*
* @return string
*/
public static function realpath($path)
{
return (string) realpath(str_replace(array('/', '\\'), \DIRECTORY_SEPARATOR, $path));
}
}
+33
View File
@@ -0,0 +1,33 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Prime\System;
final class Program
{
/**
* @param string|null $program
*
* @return bool
*/
public static function exist($program)
{
if (null === $program) {
return false;
}
if (OS::isWindows()) {
$output = shell_exec("where {$program} 2>null");
return !empty($output);
}
$output = shell_exec("command -v {$program}");
return !empty($output);
}
}
+57
View File
@@ -0,0 +1,57 @@
{
"name": "php-flasher/flasher-cli",
"description": "PHPFlasher - A powerful & easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement & enhances user experience. Intuitive design for beginners & experienced developers. A reliable, flexible solution.",
"license": "MIT",
"type": "library",
"keywords": [
"php-flasher",
"flash-messages",
"notification-system",
"user-feedback",
"toastr",
"sweetalert",
"pnotify",
"noty",
"notyf",
"desktop-notifications",
"php",
"laravel",
"symfony",
"javascript",
"yoeunes",
"framework-agnostic",
"phpstorm-auto-complete",
"custom-adapter",
"user-experience",
"rtl",
"dark-mode"
],
"authors": [
{
"name": "Younes KHOUBZA",
"email": "younes.khoubza@gmail.com",
"homepage": "https://www.linkedin.com/in/younes-khoubza",
"role": "Developer"
}
],
"homepage": "https://php-flasher.io",
"require": {
"php": ">=5.3",
"ext-mbstring": "*",
"php-flasher/flasher": "^1.15.14"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Flasher\\Cli\\Prime\\": ""
},
"files": [
"helpers.php"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true
}
}
+29
View File
@@ -0,0 +1,29 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
use Flasher\Prime\Container\FlasherContainer;
if (!function_exists('notify')) {
/**
* @param Flasher\Cli\Prime\Notification|string|null $notification
*
* @return Flasher\Cli\Prime\Notify
*/
function notify($notification = null)
{
/** @var Flasher\Cli\Prime\Notify $notifier */
$notifier = FlasherContainer::create('flasher.notify');
if (null === $notification || 0 === func_num_args()) {
return $notifier;
}
$notifier->send($notification);
return $notifier;
}
}
+5
View File
@@ -0,0 +1,5 @@
github: yoeunes
patreon: yoeunes
ko_fi: yoeunes
open_collective: php-flasher
custom: https://www.paypal.com/paypalme/yoeunes
+22
View File
@@ -0,0 +1,22 @@
name: Auto Closer PR
on:
pull_request_target:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: |
Hi, thank you for your contribution.
Unfortunately, this repository is read-only. It's a split from our main monorepo repository.
We'd like to kindly ask you to move the contribution there - https://github.com/php-flasher/php-flasher.
We'll check it, review it and give you feed back right way.
Thank you.
@@ -0,0 +1,31 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Symfony\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;
final class NotifierCompilerPass implements CompilerPassInterface
{
/**
* @return void
*/
public function process(ContainerBuilder $container)
{
if (!$container->has('flasher.cli_notifier')) {
return;
}
$notifier = $container->findDefinition('flasher.cli_notifier');
foreach ($container->findTaggedServiceIds('flasher.cli_notifier') as $id => $tags) {
$notifier->addMethodCall('addNotifier', array(new Reference($id)));
}
}
}
@@ -0,0 +1,42 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Symfony\DependencyInjection;
use Flasher\Symfony\Bridge\DependencyInjection\FlasherConfiguration;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
final class Configuration extends FlasherConfiguration
{
/**
* @return TreeBuilder
*/
public function getFlasherConfigTreeBuilder()
{
$name = 'flasher_cli';
$treeBuilder = new TreeBuilder($name);
$rootNode = method_exists($treeBuilder, 'getRootNode')
? $treeBuilder->getRootNode()
: $treeBuilder->root($name); // @phpstan-ignore-line
$rootNode
->children()
->scalarNode('title')
->defaultValue('PHPFlasher')
->end()
->arrayNode('icons')
->prototype('variable')->end()
->defaultValue(array())
->end()
->end()
;
return $treeBuilder;
}
}
@@ -0,0 +1,43 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Symfony\DependencyInjection;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
final class FlasherCliExtension extends Extension
{
/**
* @param array<int, array<string, mixed>> $configs
*
* @return void
*/
public function load(array $configs, ContainerBuilder $container)
{
$configs = $this->processConfiguration(new Configuration(), $configs);
$loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.php');
$this->configureNotifier($configs, $container);
}
/**
* @param array<int, array<string, mixed>> $configs
*
* @return void
*/
private function configureNotifier(array $configs, ContainerBuilder $container)
{
$notifier = $container->getDefinition('flasher.notify');
$notifier->replaceArgument(0, $configs['title']); // @phpstan-ignore-line
$notifier->replaceArgument(1, $configs['icons']); // @phpstan-ignore-line
}
}
@@ -0,0 +1,26 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Cli\Symfony;
use Flasher\Cli\Symfony\DependencyInjection\Compiler\NotifierCompilerPass;
use Flasher\Cli\Symfony\DependencyInjection\FlasherCliExtension;
use Flasher\Symfony\Bridge\FlasherBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class FlasherCliSymfonyBundle extends FlasherBundle // Symfony\Component\HttpKernel\Bundle\Bundle
{
protected function flasherBuild(ContainerBuilder $container)
{
$container->addCompilerPass(new NotifierCompilerPass());
}
protected function getFlasherContainerExtension()
{
return new FlasherCliExtension();
}
}
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 PHPFlasher
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+74
View File
@@ -0,0 +1,74 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github-dark.png">
<img src="https://raw.githubusercontent.com/php-flasher/art/main/php-flasher-github.png" alt="PHPFlasher Logo">
</picture>
</p>
## About PHPFlasher
PHPFlasher is a powerful and easy-to-use package that allows you to quickly and easily add flash messages to your Laravel or Symfony projects.
Whether you need to alert users of a successful form submission, an error, or any other important information, flash messages are a simple and effective solution for providing feedback to your users.
With PHPFlasher, you can easily record and store messages within the session, making it simple to retrieve and display them on the current or next page.
This improves user engagement and enhances the overall user experience on your website or application.
Whether you're a beginner or an experienced developer, PHPFlasher's intuitive and straightforward design makes it easy to integrate into your projects.
So, if you're looking for a reliable, flexible and easy to use flash messages solution, PHPFlasher is the perfect choice.
## Official Documentation
Documentation for PHPFlasher can be found on the [https://php-flasher.io](https://php-flasher.io).
## Contributors and sponsors
Join our team of contributors and make a lasting impact on our project!
We are always looking for passionate individuals who want to contribute their skills and ideas.
Whether you're a developer, designer, or simply have a great idea, we welcome your participation and collaboration.
Shining stars of our community:
<!-- ALL-CONTRIBUTORS-LIST:START -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/younes-khoubza/"><img src="https://avatars.githubusercontent.com/u/10859693?v=4?s=100" width="100px;" alt="Younes KHOUBZA"/><br /><sub><b>Younes KHOUBZA</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Code">💻</a> <a href="https://github.com/php-flasher/php-flasher/commits?author=yoeunes" title="Documentation">📖</a> <a href="#maintenance-yoeunes" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/salmayno"><img src="https://avatars.githubusercontent.com/u/27933199?v=4?s=100" width="100px;" alt="Salma Mourad"/><br /><sub><b>Salma Mourad</b></sub></a><br /><a href="#financial-salmayno" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.youtube.com/rstacode"><img src="https://avatars.githubusercontent.com/u/35005761?v=4?s=100" width="100px;" alt="Nashwan Abdullah"/><br /><sub><b>Nashwan Abdullah</b></sub></a><br /><a href="#financial-codenashwan" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://darvis.nl/"><img src="https://avatars.githubusercontent.com/u/7394837?v=4?s=100" width="100px;" alt="Arvid de Jong"/><br /><sub><b>Arvid de Jong</b></sub></a><br /><a href="#financial-darviscommerce" title="Financial">💵</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://ashallendesign.co.uk/"><img src="https://avatars.githubusercontent.com/u/39652331?v=4?s=100" width="100px;" alt="Ash Allen"/><br /><sub><b>Ash Allen</b></sub></a><br /><a href="#design-ash-jc-allen" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://about.me/murrant"><img src="https://avatars.githubusercontent.com/u/39462?v=4?s=100" width="100px;" alt="Tony Murray"/><br /><sub><b>Tony Murray</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=murrant" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/n3wborn"><img src="https://avatars.githubusercontent.com/u/10246722?v=4?s=100" width="100px;" alt="Stéphane P"/><br /><sub><b>Stéphane P</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=n3wborn" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://www.instagram.com/lucas.maciel_z"><img src="https://avatars.githubusercontent.com/u/80225404?v=4?s=100" width="100px;" alt="Lucas Maciel"/><br /><sub><b>Lucas Maciel</b></sub></a><br /><a href="#design-LucasStorm" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://siek.io/"><img src="https://avatars.githubusercontent.com/u/5730766?v=4?s=100" width="100px;" alt="Antoni Siek"/><br /><sub><b>Antoni Siek</b></sub></a><br /><a href="https://github.com/php-flasher/php-flasher/commits?author=ImJustToNy" title="Code">💻</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
## Contact
PHPFlasher is being actively developed by <a href="https://github.com/yoeunes">yoeunes</a>.
You can reach out with questions, bug reports, or feature requests on any of the following:
- [Github Issues](https://github.com/php-flasher/php-flasher/issues)
- [Github](https://github.com/yoeunes)
- [Twitter](https://twitter.com/yoeunes)
- [Linkedin](https://www.linkedin.com/in/younes-khoubza/)
- [Email me directly](mailto:younes.khoubza@gmail.com)
## License
PHPFlasher is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
<p align="center"> <b>Made with ❤️ by <a href="https://www.linkedin.com/in/younes-khoubza/">Younes KHOUBZA</a> </b> </p>
@@ -0,0 +1,49 @@
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
use Flasher\Cli\Prime\Presenter\CliPresenter;
use Flasher\Symfony\Bridge\Bridge;
use Symfony\Component\DependencyInjection\ChildDefinition;
use Symfony\Component\DependencyInjection\DefinitionDecorator;
use Symfony\Component\DependencyInjection\Reference;
if (!isset($container)) {
return;
}
/** @var ChildDefinition $definition */
$definition = class_exists('Symfony\Component\DependencyInjection\ChildDefinition')
? new ChildDefinition('flasher.notification_factory')
: new DefinitionDecorator('flasher.notification_factory'); // @phpstan-ignore-line
$definition
->setClass('Flasher\Cli\Prime\CliFactory')
->setPublic(true)
->addTag('flasher.factory', array('alias' => 'cli'));
$container->setDefinition('flasher.cli', $definition);
$container->register('flasher.notify', 'Flasher\Cli\Prime\Notify')
->setPublic(true)
->addArgument(null)
->addArgument(array());
$container
->register('flasher.cli.presenter', 'Flasher\Cli\Prime\Presenter\CliPresenter')
->addArgument(new Reference('flasher.notify'))
->addTag('flasher.presenter', array('alias' => CliPresenter::NAME));
$container
->register('flasher.cli.render_listener', 'Flasher\Cli\Prime\EventListener\RenderListener')
->addArgument(new Reference('flasher'))
->addTag('flasher.event_subscriber', array('priority' => -256));
if (Bridge::canLoadAliases()) {
$container->setAlias('Flasher\Cli\Prime\CliFactory', 'flasher.cli');
$container->setAlias('Flasher\Cli\Prime\Notify', 'flasher.notify');
$container->setAlias('Flasher\Cli\Prime\NotifyInterface', 'flasher.notify');
}
+54
View File
@@ -0,0 +1,54 @@
{
"name": "php-flasher/flasher-cli-symfony",
"description": "PHPFlasher - A powerful & easy-to-use package for adding flash messages to Laravel or Symfony projects. Provides feedback to users, improves engagement & enhances user experience. Intuitive design for beginners & experienced developers. A reliable, flexible solution.",
"license": "MIT",
"type": "symfony-bundle",
"keywords": [
"php-flasher",
"flash-messages",
"notification-system",
"user-feedback",
"toastr",
"sweetalert",
"pnotify",
"noty",
"notyf",
"desktop-notifications",
"php",
"laravel",
"symfony",
"javascript",
"yoeunes",
"framework-agnostic",
"phpstorm-auto-complete",
"custom-adapter",
"user-experience",
"rtl",
"dark-mode"
],
"authors": [
{
"name": "Younes KHOUBZA",
"email": "younes.khoubza@gmail.com",
"homepage": "https://www.linkedin.com/in/younes-khoubza",
"role": "Developer"
}
],
"homepage": "https://php-flasher.io",
"require": {
"php": ">=5.3",
"php-flasher/flasher-cli": "^1.15.14",
"php-flasher/flasher-symfony": "^1.15.14"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Flasher\\Cli\\Symfony\\": ""
}
},
"config": {
"preferred-install": "dist",
"sort-packages": true
}
}

Some files were not shown because too many files have changed in this diff Show More