PHPackages                             iskandarali/laravel-mykad-validation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. iskandarali/laravel-mykad-validation

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

iskandarali/laravel-mykad-validation
====================================

Malaysia Mykad validation rules for laravel

v1.1(3y ago)1258MITPHPPHP ^8.0

Since Jun 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/iskandarali/laravel-mykad-validation)[ Packagist](https://packagist.org/packages/iskandarali/laravel-mykad-validation)[ Docs](https://github.com/iskandarali/laravel-mykad-validation)[ GitHub Sponsors](https://github.com/iskandarali)[ RSS](/packages/iskandarali-laravel-mykad-validation/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

Malaysia Mykad validation rules for laravel
===========================================

[](#malaysia-mykad-validation-rules-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b14c7efc80db580d936d6c6125db1a574d0ee76c8e24ae11154508db42a296d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69736b616e646172616c692f6c61726176656c2d6d796b61642d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iskandarali/laravel-mykad-validation)[![GitHub Tests Action Status](https://camo.githubusercontent.com/58e86d1ac02f469dbe059fb9a121c747aaf79e7ae5317a779866bdc0338f8e98/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f69736b616e646172616c692f6c61726176656c2d6d796b61642d76616c69646174696f6e2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/iskandarali/laravel-mykad-validation/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4baa0a6be5cba9b1e6f0b82f03f4fd79f8ea29476ea3904b4c6b9090300fe5b8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f69736b616e646172616c692f6c61726176656c2d6d796b61642d76616c69646174696f6e2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/iskandarali/laravel-mykad-validation/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/6cb4057bc2ccb760a7c415429b90943cf3a20713b895a7cb0b01b49da0bf0d99/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69736b616e646172616c692f6c61726176656c2d6d796b61642d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iskandarali/laravel-mykad-validation)

---

This repo can be used to scaffold a Laravel package. Follow these steps to get started:

1. Press the "Use template" button at the top of this repo to create a new repo with the contents of this laravel-mykad-validation
2. Run "./configure-laravel-mykad-validation.sh" to run a script that will replace all placeholders throughout all the files
3. Remove this block of text.
4. Have fun creating your package.
5. If you need help creating a package, consider picking up our [Laravel Package Training](https://laravelpackage.training) video course.

---

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/50b82e2740dc69f9716817622d136d63d2c41bd178999857122642e96727257c/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d6d796b61642d76616c69646174696f6e2e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-mykad-validation)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require iskandarali/laravel-mykad-validation
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="Iskandarali\MykadValidation\MykadValidationServiceProvider" --tag="laravel-mykad-validation-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Iskandarali\MykadValidation\MykadValidationServiceProvider" --tag="laravel-mykad-validation-config"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

```
$laravel-mykad-validation = new Iskandarali\MykadValidation();
echo $laravel-mykad-validation->echoPhrase('Hello, Spatie!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Iskandar Ali](https://github.com/iskandarali)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1419d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/826deb22cb039cc19a2c02eabf7469fd557bc107c1e94f39c837155d102bb7cd?d=identicon)[iskandarali](/maintainers/iskandarali)

---

Top Contributors

[![iskandarali](https://avatars.githubusercontent.com/u/3722339?v=4)](https://github.com/iskandarali "iskandarali (13 commits)")

---

Tags

laraveliskandaralilaravel-mykad-validation

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/iskandarali-laravel-mykad-validation/health.svg)

```
[![Health](https://phpackages.com/badges/iskandarali-laravel-mykad-validation/health.svg)](https://phpackages.com/packages/iskandarali-laravel-mykad-validation)
```

###  Alternatives

[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[ziming/laravel-zxcvbn

Zxcvbn Password validation rule for Laravel

3056.7k](/packages/ziming-laravel-zxcvbn)[laravel-validation-rules/phone

Validate that a phone number is in the correct format

69355.5k](/packages/laravel-validation-rules-phone)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
