Comments (6)
@eclipxe13
Thank you for your involvement.
I was thinking about writting a version 3 that will break the compatibility with version 2 but I am swamped at the moment. To anwser your questions:
- The project started without support for 5.3. The library is used by
sirius/upload
which is used by Bolt CMS, which supported 5.3. Because the library didn't have support for 5.3 somebody took the code and created a different 5.3 version by only changing 2 lines of code. That was without submitting a PR. Anyway, I made the change in my library and the guy agreed to use mine instead - I don't know what is (or should be) the difference between
phpunit.xml
andphpunit.dist.xml
- Yes, using pds/skeleton was on the list for version 3
- PHPCPD is on the list too
- I am open to the travis-ci changes if you explain the benefits
from validation.
Good morning, guys.
I see this library as a perfect tool to create PSR7 middleware validation layers, particularly for rest(ful|ish) apps.
The reason why I stopped using it was the bug that you @eclipxe13 seem to have solved.
If I may contribute to the answers:
- If you are going to do a new version, please bump minimum requirement to at least php 7.0 (latest versions of frameworks are going to do that too)
2.phpunit, if no config is manually loaded, will try to load a config with names phpunit.xml or phpunit.dist.xml. Both do the same thing. - I would rather use https://github.com/thephpleague/skeleton as skeleton, instead.
Cheers
from validation.
- I don't see a reason to remove support for 5.6 for the next version... unless I will start working on it to far in the future.
- I like thephpleague skeleton better
from validation.
You're right, if 5.6 is still getting fixes, it's a valid version to code against.
from validation.
I think article contribute to the argument to support PHP 5.6: https://www.brandonsavage.net/version-php-package-support/
Anyhow. the package has not been maintained for a while, is it going to be any future on this project?
from validation.
@eclipxe13
I am using the package in all my projects (even Laravel projects) so it's here to stay. However I'm swamped with work and I couldn't find the time to work on it :(
I am open to pull-requests though
from validation.
Related Issues (20)
- MaxLength/MinLength doesn't support multibyte letters HOT 1
- getMessages returns unformatted message HOT 1
- Regex pattern containing braces parced incorrectly HOT 6
- Only evaluating the first rule? HOT 4
- No message when json_encode($validator->getMessages()) HOT 1
- "AlphaNumHyphen" did not type control HOT 2
- RequiredWith and extra validation not working as expected HOT 5
- Rule GreaterThan(0) is not work HOT 7
- length / regex not working as expected HOT 1
- Empty strings, that are not required, undergo further validation HOT 3
- Post back fields HOT 4
- build-in rule URI throw exception in PHP 7.3 HOT 1
- feature Request: validator `NotMatch` , `NotEqual` HOT 2
- Default validation fails with umlaut in name part HOT 1
- Rule Length incorrect
- RequiredWhen, RequiredWith and RequiredWithout try to trim the value, even if it is an integer. HOT 1
- Renamethe Match rule to Matching
- file upload and date HOT 1
- A warning thrown in php 8.1.7 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from validation.