PHPackages                             bruno-fernandes/laravel-twitter-handle-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. bruno-fernandes/laravel-twitter-handle-validation

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

bruno-fernandes/laravel-twitter-handle-validation
=================================================

Twitter handle validation.

1.0.5(6y ago)1757MITPHPPHP &gt;=7.1CI failing

Since Jun 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/bruno-fernandes/laravel-twitter-handle-validation)[ Packagist](https://packagist.org/packages/bruno-fernandes/laravel-twitter-handle-validation)[ Docs](https://github.com/bruno-fernandes/laravel-twitter-handle-validation)[ RSS](/packages/bruno-fernandes-laravel-twitter-handle-validation/feed)WikiDiscussions master Synced yesterday

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

Laravel Twitter handle validation
=================================

[](#laravel-twitter-handle-validation)

[![Latest Version on Packagist](https://camo.githubusercontent.com/54f6c76da04cb927b15f2d5561c39b35a865cb2451371a30e1886061c6205d74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6272756e6f2d6665726e616e6465732f6c61726176656c2d747769747465722d68616e646c652d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bruno-fernandes/laravel-twitter-handle-validation)[![CircleCI](https://camo.githubusercontent.com/a06281df1b4d880482bb5f2a1f7f02cdf2744269da858416553538b6b611c3aa/68747470733a2f2f636972636c6563692e636f6d2f67682f6272756e6f2d6665726e616e6465732f6c61726176656c2d747769747465722d68616e646c652d76616c69646174696f6e2f747265652f6d61737465722e7376673f7374796c653d73766726636972636c652d746f6b656e3d36383862373764623663386138363530376336636331313835623838353730373166656664326534)](https://circleci.com/gh/bruno-fernandes/laravel-twitter-handle-validation/tree/master)[![CodeCoverage](https://camo.githubusercontent.com/b8b3b62601d9ddc4e5b5263afc85c1cd877eb4e04fd81cb7edb12b616aa4319e/68747470733a2f2f636f6465636f762e696f2f67682f6272756e6f2d6665726e616e6465732f6c61726176656c2d747769747465722d68616e646c652d76616c69646174696f6e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/github/bruno-fernandes/laravel-twitter-handle-validation?branch=master)[![Quality Score](https://camo.githubusercontent.com/04355496c45a4b7e39d46aa544abccba0a1ced926063009dba4ce249e3fe908e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6272756e6f2d6665726e616e6465732f6c61726176656c2d747769747465722d68616e646c652d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/bruno-fernandes/laravel-twitter-handle-validation)[![Total Downloads](https://camo.githubusercontent.com/2a61266f6bfdeb647ed8769a6235b2737e7606f1c69675e5d77c9594e96395f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6272756e6f2d6665726e616e6465732f6c61726176656c2d747769747465722d68616e646c652d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bruno-fernandes/laravel-twitter-handle-validation)

Simple twitter handle validation.

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

[](#installation)

You can install the package via composer:

```
composer require bruno-fernandes/laravel-twitter-handle-validation
```

Usage
-----

[](#usage)

```
use Illuminate\Support\Facades\Validator;
$validator = Validator::make(['handle' => '@ invalid'], ['handle' => 'twitter_handle']);

if ($validator->fails()) {
    // twitter handle validation failed
}
```

To add a custom validation error message go to views/lang/validation.php file and add:

```
return [
    'twitter_handle' => 'Twitter handle is not valid.'
];
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Bruno Fernandes](https://github.com/bruno-fernandes)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~54 days

Recently: every ~63 days

Total

6

Last Release

2247d ago

PHP version history (3 changes)1.0.0PHP ^7.1

1.0.2PHP ^7.2

1.0.4PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/be74a7d53a14664d616970a7ef60ad373b7642840be3bb883f1a5537969dcc6b?d=identicon)[bruno-fernandes](/maintainers/bruno-fernandes)

---

Top Contributors

[![bruno-fernandes](https://avatars.githubusercontent.com/u/1558329?v=4)](https://github.com/bruno-fernandes "bruno-fernandes (8 commits)")

---

Tags

bruno-fernandeslaravel-twitter-handle-validation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bruno-fernandes-laravel-twitter-handle-validation/health.svg)

```
[![Health](https://phpackages.com/badges/bruno-fernandes-laravel-twitter-handle-validation/health.svg)](https://phpackages.com/packages/bruno-fernandes-laravel-twitter-handle-validation)
```

###  Alternatives

[spatie/laravel-honeypot

Preventing spam submitted through forms

1.6k6.0M60](/packages/spatie-laravel-honeypot)[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)[sunspikes/clamav-validator

Custom Laravel 5 anti-virus validator for file uploads.

3651.8M3](/packages/sunspikes-clamav-validator)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2412.2M5](/packages/laravel-validation-rules-credit-card)

PHPackages © 2026

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