Giter Club home page Giter Club logo

laravel-validate's Issues

Camel case validation

Is your feature request related to a problem? Please describe.
Add validation for camelCase name convention.

Describe the solution you'd like
Check string similar as: helloWorld

National card validation

Describe the bug
This validation basically checked only digits count, which is not enough.
According to this article we could validate national id with particular algorithm.

Expected behavior
For example:

National id status
0151016437 valid
0151016438 not valid

Add catalan (ca) language

validate.php for catalan (ca) :

<?php

return [
    'base64' => ':attribute no és vàlid.',
    'bitcoin-address' => ':attribute no és vàlid.',
    'camel-case' => ':attribute no és vàlid.',
    'capital-char-with-number' => ':attribute no és vàlid.',
    'car-number' => ':attribute no és vàlid.',
    'cart-number-iran' => ':attribute no és vàlid.',
    'discord-username' => ':attribute no és vàlid.',
    'domain' => ':attribute no és vàlid.',
    'even-number' => ':attribute no és vàlid.',
    'hashtag' => ':attribute no és vàlid.',
    'hex-color' => ':attribute no és vàlid.',
    'html-tag' => ':attribute no és vàlid.',
    'imei' => ':attribute no és vàlid.',
    'ipv4' => ':attribute no és vàlid.',
    'ipv6' => ':attribute no és vàlid.',
    'jwt' => ':attribute no és vàlid.',
    'name-days-week' => ':attribute no és vàlid.',
    'national-card' => ':attribute no és vàlid.',
    'odd-number' => ':attribute no és vàlid.',
    'phone-number' => ':attribute no és vàlid.',
    'port' => ':attribute no és vàlid.',
    'slash-end-of-string' => ':attribute no és vàlid.',
    'slug' => ':attribute no és vàlid.',
    'strong-password' => ':attribute no és vàlid.',
    'url' => ':attribute no és vàlid.',
    'username' => ':attribute no és vàlid.',
    'uuid' => ':attribute no és vàlid.',
    'jalali_date' => ':attribute no és vàlid.',
    'duplicate_character' => ':attribute no és vàlid.',
    'pattern' => ':attribute no és vàlid.',
    'duplicate' => ':attribute no és vàlid.',
    'ulid' => ':attribute no és vàlid.',
    'pascal-case' => ':attribute no és vàlid.',
    'kebab-case' => ':attribute no és vàlid.',
    'snake-case' => ':attribute no és vàlid.',
];

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.