Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/leafsphp/form
📝 Leaf form module
https://github.com/leafsphp/form
test: add optional test
86ecc5c1799b1a26b16cfcff3dbb451f8611ad1e authored about 1 year ago by mychidarko <[email protected]>
86ecc5c1799b1a26b16cfcff3dbb451f8611ad1e authored about 1 year ago by mychidarko <[email protected]>
feat: add support for optional fields
2bc65ee76061ae6a94357fa59531a7ba631da908 authored about 1 year ago by mychidarko <[email protected]>
2bc65ee76061ae6a94357fa59531a7ba631da908 authored about 1 year ago by mychidarko <[email protected]>
chore: clean repo up
fa9aece88b8cb8d3d6e34d16972bbfc272d401f1 authored about 1 year ago by mychidarko <[email protected]>
fa9aece88b8cb8d3d6e34d16972bbfc272d401f1 authored about 1 year ago by mychidarko <[email protected]>
chore: fix styling
7522420962198bfdd573d2617af667d9494bc88a authored about 1 year ago by mychidarko <[email protected]>
7522420962198bfdd573d2617af667d9494bc88a authored about 1 year ago by mychidarko <[email protected]>
Merge pull request #9 from Rasalas/v2.x
Add support for nested fields in form validation resolves #8
07a149c7bf5bc20dfd0402d033e33d9c80b32352 authored about 1 year ago by Michael Darko <[email protected]>
fix: patch up array error on php 8+
9fb5aee08eabf014a97454e9bdee91bd64a39d67 authored about 1 year ago by mychidarko <[email protected]>
9fb5aee08eabf014a97454e9bdee91bd64a39d67 authored about 1 year ago by mychidarko <[email protected]>
chore: update test workflow
dc268a8a23e7cc285f7b99d0963cd7200f4f3b20 authored about 1 year ago by mychidarko <[email protected]>
dc268a8a23e7cc285f7b99d0963cd7200f4f3b20 authored about 1 year ago by mychidarko <[email protected]>
fix: patch up array check
f678fa9b2b6f2463bbe47e1eed88d94045864077 authored about 1 year ago by mychidarko <[email protected]>
f678fa9b2b6f2463bbe47e1eed88d94045864077 authored about 1 year ago by mychidarko <[email protected]>
Add support for nested fields in form validation
041edd53cb20d4179e0b14c950fba51aee140d0b authored about 1 year ago by Torben Buck <[email protected]>
041edd53cb20d4179e0b14c950fba51aee140d0b authored about 1 year ago by Torben Buck <[email protected]>
chore: fix styling
b724596da4f52b9dc7fe1ec0cdf12b4325f369c6 authored over 1 year ago by mychidarko <[email protected]>
b724596da4f52b9dc7fe1ec0cdf12b4325f369c6 authored over 1 year ago by mychidarko <[email protected]>
feat: add support for special validators
4a2d50211fd50210b775f4170c6a3287b5c0b155 authored over 1 year ago by mychidarko <[email protected]>
4a2d50211fd50210b775f4170c6a3287b5c0b155 authored over 1 year ago by mychidarko <[email protected]>
test: add case-insensitive tests
cf282cf3cbcde11c9ea92f4ed529d76509dc0e60 authored over 1 year ago by mychidarko <[email protected]>
cf282cf3cbcde11c9ea92f4ed529d76509dc0e60 authored over 1 year ago by mychidarko <[email protected]>
feat: make rules case-insensitive
b5e8fb76742e2b1f8903ded8c14d9f706e87c936 authored over 1 year ago by mychidarko <[email protected]>
b5e8fb76742e2b1f8903ded8c14d9f706e87c936 authored over 1 year ago by mychidarko <[email protected]>
test: add basic validation tests
6445357ae7d8ee1c82235ef2f05fb5d12a47b191 authored over 1 year ago by mychidarko <[email protected]>
6445357ae7d8ee1c82235ef2f05fb5d12a47b191 authored over 1 year ago by mychidarko <[email protected]>
test: add tests for the form::test method
00abe452d9d8c1ef6f019f5cd63d6df2f1c2479c authored over 1 year ago by mychidarko <[email protected]>
00abe452d9d8c1ef6f019f5cd63d6df2f1c2479c authored over 1 year ago by mychidarko <[email protected]>
test: add validation message tests
8160a2628b8cfa4b56aa9b91b2a75d8c0438cd4b authored over 1 year ago by mychidarko <[email protected]>
8160a2628b8cfa4b56aa9b91b2a75d8c0438cd4b authored over 1 year ago by mychidarko <[email protected]>
test: add validation rules tests
b27315fd27b0f5e590a9bdbd65532b00e194ab6c authored over 1 year ago by mychidarko <[email protected]>
b27315fd27b0f5e590a9bdbd65532b00e194ab6c authored over 1 year ago by mychidarko <[email protected]>
feat: add supported rules method
178ac12de3e8870f69a416537096ea113fa764a8 authored over 1 year ago by mychidarko <[email protected]>
178ac12de3e8870f69a416537096ea113fa764a8 authored over 1 year ago by mychidarko <[email protected]>
chore: remove test for prev version
1a96c1513dd1917e2df4941720fc390b4f38d35b authored over 1 year ago by mychidarko <[email protected]>
1a96c1513dd1917e2df4941720fc390b4f38d35b authored over 1 year ago by mychidarko <[email protected]>
feat: add return type
970d62da06b991823a0c31f11c17e2780da20198 authored over 1 year ago by mychidarko <[email protected]>
970d62da06b991823a0c31f11c17e2780da20198 authored over 1 year ago by mychidarko <[email protected]>
feat: return data on success
4571881736a7af4911afcbf90b4bf28737285cc0 authored over 1 year ago by mychidarko <[email protected]>
4571881736a7af4911afcbf90b4bf28737285cc0 authored over 1 year ago by mychidarko <[email protected]>
chore: format files
a56f3622fd7df8be16ff5b1905ceecd4df2189c6 authored over 1 year ago by mychidarko <[email protected]>
a56f3622fd7df8be16ff5b1905ceecd4df2189c6 authored over 1 year ago by mychidarko <[email protected]>
chore: update test runner
9151f4565392f137e8771b31add449aeb91ae4bb authored over 1 year ago by mychidarko <[email protected]>
9151f4565392f137e8771b31add449aeb91ae4bb authored over 1 year ago by mychidarko <[email protected]>
chore: update project link
e2e1845acdc0aea947c0aefbcd85a074864dd3d3 authored over 1 year ago by mychidarko <[email protected]>
e2e1845acdc0aea947c0aefbcd85a074864dd3d3 authored over 1 year ago by mychidarko <[email protected]>
chore: update composer.json
24494e716b0a11154f40baf047a0cee08c0ff1fe authored over 1 year ago by mychidarko <[email protected]>
24494e716b0a11154f40baf047a0cee08c0ff1fe authored over 1 year ago by mychidarko <[email protected]>
chore: update readme
53bcad374ac19e6b072d31de3c7c343ad8460931 authored over 1 year ago by mychidarko <[email protected]>
53bcad374ac19e6b072d31de3c7c343ad8460931 authored over 1 year ago by mychidarko <[email protected]>
chore: fix styling
2b025d59a2248b769ff634da351f3ace733129d3 authored over 1 year ago by mychidarko <[email protected]>
2b025d59a2248b769ff634da351f3ace733129d3 authored over 1 year ago by mychidarko <[email protected]>
feat: rewrite leaf form
ad5a775627a63a9a12c4e0fcca8179635fb167ff authored over 1 year ago by mychidarko <[email protected]>
ad5a775627a63a9a12c4e0fcca8179635fb167ff authored over 1 year ago by mychidarko <[email protected]>
Merge pull request #7 from toddy15/main
Add more tests
054d1d8f754cdcffa5551e9866e6878b835580d8 authored over 2 years ago by Michael Darko <[email protected]>
Specify the flags for htmlspecialchars().
This ensures consistency between different PHP versions.
d42fdf14a34f3b72e80b2336dca0da836cf53e2c authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Simplify tests
b5be80086362dd43bc89ade49e68d289400d9806 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
b5be80086362dd43bc89ade49e68d289400d9806 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Remove unused parameter $messages from function validateData()
cb2b345d8d5368b19f96ca5fcaee61937bf15b6d authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
cb2b345d8d5368b19f96ca5fcaee61937bf15b6d authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
New test: sanitation of input
07de5deea49ebd6d24fd1f35d9474e10259f3dd0 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
07de5deea49ebd6d24fd1f35d9474e10259f3dd0 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
New test: check if the given rule is supported
e518383b440e750e5825a983a6e99e2415474b2d authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
e518383b440e750e5825a983a6e99e2415474b2d authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Increase test coverage for custom error messages and fix bug with empty message
764e7e819ea6b902f9f76624a16e8e29178cf520 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
764e7e819ea6b902f9f76624a16e8e29178cf520 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Add scripts to composer.json
ce16f62ad54c6594df398bf3755ae4ab1bde9b6a authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
ce16f62ad54c6594df398bf3755ae4ab1bde9b6a authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Merge pull request #6 from toddy15/main
Rename test workflow and add code coverage
5312d3c14fefd2997b8d0717d14c099e4dfaae09 authored over 2 years ago by Michael Darko <[email protected]>
Rename github workflow to match leafsphp/leaf repository
f15da8b8cb912e0986b13ddd0a04f017076c4294 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
f15da8b8cb912e0986b13ddd0a04f017076c4294 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Rename test and enable code coverage
e2e8888796020c29854afda79ab832caeb5669dc authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
e2e8888796020c29854afda79ab832caeb5669dc authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
style: patch up quotes
84b23d88ba37eff1ea1d636ce26389d90f48756a authored over 2 years ago by mychidarko <[email protected]>
84b23d88ba37eff1ea1d636ce26389d90f48756a authored over 2 years ago by mychidarko <[email protected]>
chore: fix styling
a149219dd00721a2a73f12b9e7ad97f7b4d33e45 authored over 2 years ago by mychidarko <[email protected]>
a149219dd00721a2a73f12b9e7ad97f7b4d33e45 authored over 2 years ago by mychidarko <[email protected]>
style: patch up tests
00bb9278e268e530539519a7292a19b5743f417e authored over 2 years ago by mychidarko <[email protected]>
00bb9278e268e530539519a7292a19b5743f417e authored over 2 years ago by mychidarko <[email protected]>
fix: patch up date issue
12d81605b7f6466147a29081d9c429ed86f00ee3 authored over 2 years ago by mychidarko <[email protected]>
12d81605b7f6466147a29081d9c429ed86f00ee3 authored over 2 years ago by mychidarko <[email protected]>
chore: break tests up
f90e1defecf7f70d9de5698337be7563cd4fe033 authored over 2 years ago by mychidarko <[email protected]>
f90e1defecf7f70d9de5698337be7563cd4fe033 authored over 2 years ago by mychidarko <[email protected]>
chore: update php cs fixer workflow
22d6fedc358b8cf28105bbe2b8a850baf34583c8 authored over 2 years ago by mychidarko <[email protected]>
22d6fedc358b8cf28105bbe2b8a850baf34583c8 authored over 2 years ago by mychidarko <[email protected]>
Merge pull request #5 from toddy15/main
Fix indentation and add a new (currently failing) test
e81758464a1eef3ce6b69a0c740de324b2d50087 authored over 2 years ago by Michael Darko <[email protected]>
Disable only failing test for now
50d658a208493f12ab25216b9b8903d38c8b2363 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
50d658a208493f12ab25216b9b8903d38c8b2363 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Remove wrong test for 'textonly' rule
602259fe7788fdd1af3845d82d19711b98b32d1b authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
602259fe7788fdd1af3845d82d19711b98b32d1b authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Fix failing validation tests by using unset() for $errorsArray
bf9d63002f7db65475084ec3b45b8dd833085619 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
bf9d63002f7db65475084ec3b45b8dd833085619 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Add test workflow for automatic testing
4e34db6b4184cf06d223a0e2df05c1531f160a79 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
4e34db6b4184cf06d223a0e2df05c1531f160a79 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Fix typo in error message
740ab7c2a56eec0edb7a5fb0e26dee23cedfeee2 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
740ab7c2a56eec0edb7a5fb0e26dee23cedfeee2 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Add test for all built-in rules
949a7467123ad82c72dc0cf15f01d9f970d334c3 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
949a7467123ad82c72dc0cf15f01d9f970d334c3 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Add test for 'required' rule (currently failing).
In line 64, the test fails because the $errorArray
contains the key "test". If the test assumpti...
Fix some indentation errors
8078e6f5cb6c0b26d753e335bc7674ac0c82bf35 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
8078e6f5cb6c0b26d753e335bc7674ac0c82bf35 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Merge pull request #4 from toddy15/main
Run PHP CS Fixer
06e201973897da32b71e5a092b2c9afa16c345bc authored over 2 years ago by Michael Darko <[email protected]>
Run PHP CS Fixer
e7c776342caaf07951e4008d94f5320f9ffd97b4 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
e7c776342caaf07951e4008d94f5320f9ffd97b4 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Merge pull request #2 from toddy15/composer
Specify PHP version requirement and ext-json for json_encode()
89dc7d8a2ab735abbdb24c148384d14b2f530e15 authored over 2 years ago by Michael Darko <[email protected]>
Merge pull request #3 from toddy15/main
Add initial tests for Form module
90dbecc56cfcb919247f29f1b20f2ccc937e4d27 authored over 2 years ago by Michael Darko <[email protected]>
Reformat with PHP CS Fixer
c11c15af93fe3b1e42cd381f3c87fe856b912886 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
c11c15af93fe3b1e42cd381f3c87fe856b912886 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Add PHP CS Fixer
4370c8b13a498885ebc52dff851befd94394114e authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
4370c8b13a498885ebc52dff851befd94394114e authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Use pest syntax for tests
cc1e4bec74112b1f3abb1365ffb38471e88c32a0 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
cc1e4bec74112b1f3abb1365ffb38471e88c32a0 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Add another test for custom rules
be3a518cc96c6d9e54e9ffbf6a7ef67f2591058b authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
be3a518cc96c6d9e54e9ffbf6a7ef67f2591058b authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Add pestphp testing
36b47d28ad363fce7d18bad4908540819b5de55e authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
36b47d28ad363fce7d18bad4908540819b5de55e authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Update .gitignore
d51e989c93f79f855ed8ab10eae7d7ddaf7773ed authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
d51e989c93f79f855ed8ab10eae7d7ddaf7773ed authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Add initial tests
fd58709f6e15c0129848b0b6cdce42caf1465605 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
fd58709f6e15c0129848b0b6cdce42caf1465605 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
Specify PHP version requirement and ext-json for json_encode()
e6c15b3a34b8726bb8749bcf2158b676fe287fa3 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
e6c15b3a34b8726bb8749bcf2158b676fe287fa3 authored over 2 years ago by Dr. Tobias Quathamer <[email protected]>
:sparkle: update dependency version
9fb38487817dcb6d0987e4c31930b286abfd0563 authored over 2 years ago by Michael Darko <[email protected]>
9fb38487817dcb6d0987e4c31930b286abfd0563 authored over 2 years ago by Michael Darko <[email protected]>
:sparkles: added date validator
19af9d441cc0e52f9229c4f8a57b430c62f36521 authored almost 3 years ago by Michael Darko <[email protected]>
19af9d441cc0e52f9229c4f8a57b430c62f36521 authored almost 3 years ago by Michael Darko <[email protected]>
:bug: fixed multi rule validation
4987f86540e69e801a3bfc19e557d1589d1ed7ad authored almost 3 years ago by Michael Darko <[email protected]>
4987f86540e69e801a3bfc19e557d1589d1ed7ad authored almost 3 years ago by Michael Darko <[email protected]>
:bug: fixed nospaces check
f2f28966084788e5c05ae85657981552e25ef4c4 authored almost 3 years ago by Michael Darko <[email protected]>
f2f28966084788e5c05ae85657981552e25ef4c4 authored almost 3 years ago by Michael Darko <[email protected]>
:sparkles: added 2 param for messages
216c69d78edda5d071e808b409c3e21f4a6a4433 authored almost 3 years ago by Michael Darko <[email protected]>
216c69d78edda5d071e808b409c3e21f4a6a4433 authored almost 3 years ago by Michael Darko <[email protected]>
:memo: fixed wrong documentation
efab5459763d1f61551be023b8c9de1f245fa3d9 authored almost 3 years ago by Michael Darko <[email protected]>
efab5459763d1f61551be023b8c9de1f245fa3d9 authored almost 3 years ago by Michael Darko <[email protected]>
:sparkles: added support for custom error messages
03a6d2a1563e9c7895fe9a527be1d9c7ff1c0cb0 authored almost 3 years ago by Michael Darko <[email protected]>
03a6d2a1563e9c7895fe9a527be1d9c7ff1c0cb0 authored almost 3 years ago by Michael Darko <[email protected]>
:sparkles: added support for functional mode
10ccd48f662f31c6b929d024cc250fc621d72fdd authored almost 3 years ago by Michael Darko <[email protected]>
10ccd48f662f31c6b929d024cc250fc621d72fdd authored almost 3 years ago by Michael Darko <[email protected]>
🔧 added editor config
92f3252c88a3473bfbab18b6b1f222629e996d7f authored almost 3 years ago by Michael Darko <[email protected]>
92f3252c88a3473bfbab18b6b1f222629e996d7f authored almost 3 years ago by Michael Darko <[email protected]>
:sparkles: added custom error messages
b67d846000c5d2f1f0a9aa6b9999b62b0a3b2c0c authored almost 3 years ago by Michael Darko <[email protected]>
b67d846000c5d2f1f0a9aa6b9999b62b0a3b2c0c authored almost 3 years ago by Michael Darko <[email protected]>
:bug: fixed request error
8036ebe456a21c966bb1184eb86f9d068495965c authored almost 3 years ago by Michael Darko <[email protected]>
8036ebe456a21c966bb1184eb86f9d068495965c authored almost 3 years ago by Michael Darko <[email protected]>
♻️ refactored rules
a28077674a6ef51803f4b2b83e01618935dbc48d authored almost 3 years ago by Michael Darko <[email protected]>
a28077674a6ef51803f4b2b83e01618935dbc48d authored almost 3 years ago by Michael Darko <[email protected]>
♻️ refactored form code
110ed00162be8093d4dff36999664a435be42703 authored almost 3 years ago by Michael Darko <[email protected]>
110ed00162be8093d4dff36999664a435be42703 authored almost 3 years ago by Michael Darko <[email protected]>
🎨 added strict types
9cb2ea2ac4be4575870914d478ea2827777126e7 authored almost 3 years ago by Michael Darko <[email protected]>
9cb2ea2ac4be4575870914d478ea2827777126e7 authored almost 3 years ago by Michael Darko <[email protected]>
⬆️ updated leaf http
c52d6d8f82ed7c1660c49bdd571b3e9a6cddb132 authored almost 3 years ago by Michael Darko <[email protected]>
c52d6d8f82ed7c1660c49bdd571b3e9a6cddb132 authored almost 3 years ago by Michael Darko <[email protected]>
:recycle: refactored leaf form
533c24c2b1f192760a1360042d4eea8769529c19 authored about 3 years ago by Michael Darko <[email protected]>
533c24c2b1f192760a1360042d4eea8769529c19 authored about 3 years ago by Michael Darko <[email protected]>
:wrench: added GH sponsors
f871c59b5f5ac9f2277fd14db642528c977c8b85 authored about 3 years ago by Michael Darko <[email protected]>
f871c59b5f5ac9f2277fd14db642528c977c8b85 authored about 3 years ago by Michael Darko <[email protected]>
:wrench: updated minimum stability
342c50bf34359b838e67ac3c52818dd6fc216cbf authored about 3 years ago by Michael Darko <[email protected]>
342c50bf34359b838e67ac3c52818dd6fc216cbf authored about 3 years ago by Michael Darko <[email protected]>
:memo: updated readme
e3b9a18e1e7d9b83f2f038b33996063cc2be91a0 authored over 3 years ago by Mychi <[email protected]>
e3b9a18e1e7d9b83f2f038b33996063cc2be91a0 authored over 3 years ago by Mychi <[email protected]>
:tada: completed base setup
25ffa7dbb779c9acabbe5deabef3807752be646c authored over 3 years ago by Mychi <[email protected]>
25ffa7dbb779c9acabbe5deabef3807752be646c authored over 3 years ago by Mychi <[email protected]>