kennedytedesco / validation Goto Github PK
View Code? Open in Web Editor NEWThe power of Respect Validation on Laravel
License: MIT License
The power of Respect Validation on Laravel
License: MIT License
Cheguei nessa issue #10
@KennedyTedesco estou com o mesmo problema na última versão usando o Laravel 6. O que pode ser, teria algum jeito de contornar isso? O que fiz foi testar com ele instalado e depois removi, parece que realmente está havendo algum conflito. Já estou a algum tempo em cima disso e não consegui evoluir =/
Fiz esse código para testar e sempre retorna false com o seu pacote instalado. Não sei se foi mudado alguma coisa durante as versões...
Validator::extend('video_url', function($attribute, $url, $parameters) {
return true;
});
Parece que quando usado o Validator::extend
o código é ignorado.
Hi,
Can you add custom attributes ?
Currently the constructor and service provider missing the last parameters for extending Laravel Validator.
Thanks
Hi,
when I try to install via composer update I get the following error-messages:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for kennedytedesco/validation dev-master -> satisfiable by kennedytedesco/validation[dev-master].
- kennedytedesco/validation dev-master requires respect/validation dev-develop -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Great would be an update to.
"illuminate/support": "4.1.*",
"illuminate/validation": "4.1.*"
regards
Hello @KennedyTedesco ,
Your package allows the users to install version 1 on Laravel 5, the composer assumes version 1 when run:
composer require kennedytedesco/validation
(without the correct version)
You need to fix that:
https://github.com/KennedyTedesco/Validation/blob/v1.2.0/composer.json
"require-dev": {
"illuminate/support": ">=4.0.0",
"illuminate/validation": ">=4.0.0"
},
to
"require-dev": {
"illuminate/support": "4.*",
"illuminate/validation": "4.*"
},
Hello,
I'm using this awesome library and I find it very very useful. However I have an issue with the library and codeception. Codeception seems stupid and it can't find the validators for the custom rules. An example of an error is:
BadMethodCallException: Method [validateCharset] does not exist.
In the laravel app I don't have this problem anyway, so I think that is codeception the problem indeed.
I was wondering if anybody here had the same issue and how it's possible to fix it. Thanks in advance
Hi,
I am using the domain validation rules and it return invalid for .store and probably many more weird TLD domain. I check Respect validation and it return false too, I need to disable the tld check to make it return true. But how do I add the parameters using this package ?
Is there an easy path to 5.5 support?
Quando vou exibir a mensagem de erro para o cpf ou cnpj é exibido dessa forma:
validation.cpf
Tentei criar uma regra no arquivo validation.php para informar a mensagem correta mas não consegui, existe alguma forma de criar uma mensagem de validação melhor? como devo criar la no custom?
Being able to apply a set of rules to each element when the input to validate is an array, would be very useful. This would be a kind of nesting of validation rules, and I'm not sure how that would work with Laravel, since you would be talking more control of the flow of the validation rules and not just providing simple yes/no responses to single rules.
But I do need to ask ;-)
Any example would be for a multi-select list of countries. The countries field is submitted as an array, with each selected country an element of the array. Each of those submitted countries must be a valid country and not some injected value that an end-user hacker may be posting.
Like to use this validation under laravel 5. any chances to have a new version for laravel 5?
Hi,
I have some of my validation that use Validator::extend().
I debugged the extended Validator and resulted it return true as it pass the validation.
But using this package, it triggered ->passes() as fail and return message shown my extended validator
message.
I suspect its happen because some conflict with the package.
When I change back the ValidationServiceProvider back to Laravel, the validation pass.
Can you please define a project license ?
Olá Kennedy,
Você vai adicionar suporte para o Laravel 7?
Currently it's set to 0.5.x. There's a bug in that version of the library (Respect/Validation#169) which seems to now have been fixed. I'm pretty sure upping the version used will fix this issue for Laravel users, but obviously my introduce other issues.
Hello, today Laravel 6 LTS was released, will it be supported/updated for this version? Thank you
Nem preciso dizer o porque né?
-I can pull request for this
Please add support for new version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.