PHPackages                             finagin/laravel-extra-support - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. finagin/laravel-extra-support

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

finagin/laravel-extra-support
=============================

Extra Support methods for Laravel

0.1.0(4y ago)04MITPHPPHP ^7.2.5|^8.0

Since Jul 15Pushed 4y agoCompare

[ Source](https://github.com/finagin/laravel-extra-support)[ Packagist](https://packagist.org/packages/finagin/laravel-extra-support)[ Docs](https://github.com/finagin/laravel-extra-support)[ RSS](/packages/finagin-laravel-extra-support/feed)WikiDiscussions develop Synced yesterday

READMEChangelogDependencies (3)Versions (3)Used By (0)

Laravel Extra Support
=====================

[](#laravel-extra-support)

[![StyleCI](https://camo.githubusercontent.com/61ffb1c31278dd15d7e6ccabcbdb6ee17df7f7ba45a607214e427fcd4b37febd/68747470733a2f2f7374796c6563692e696f2f7265706f732f3338363334393633322f736869656c643f6272616e63683d646576656c6f70267374796c653d666c6174)](https://styleci.io/repos/386349632)[![GitHub Actions](https://github.com/finagin/laravel-extra-support/workflows/Tests/badge.svg?branch=master)](https://github.com/finagin/laravel-extra-support/actions)[![GitHub Issues](https://camo.githubusercontent.com/63c3b77019109554112fba89e37bed604ca0f64c3cb48e274bac4218b1d6da64/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f66696e6167696e2f6c61726176656c2d65787472612d737570706f7274)](https://github.com/finagin/laravel-extra-support/issues)[![Total Downloads](https://camo.githubusercontent.com/c6d6f4b5d522c73d6c989feb71d0e62ea8ec98b7bea32baa99d4f162d1026590/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66696e6167696e2f6c61726176656c2d65787472612d737570706f7274)](https://packagist.org/packages/finagin/laravel-extra-support)[![Latest Stable Version](https://camo.githubusercontent.com/87942fb371836ec0cb77340f054261385b4f5a1cf8971275fac883a9c2c5b141/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66696e6167696e2f6c61726176656c2d65787472612d737570706f7274)](https://packagist.org/packages/finagin/laravel-extra-support)[![Software License](https://camo.githubusercontent.com/eeb3342516efdc78c71ca2f984deff8d02e162aabee2df6e04d8abd23e9c761f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f66696e6167696e2f6c61726176656c2d65787472612d737570706f7274)](https://github.com/finagin/laravel-extra-support/blob/master/LICENSE.md)

- [Installation](#installation)
- [Usage](#usage)
    - [Str::randomWithExclude()](#strrandomwithexclude)
    - [Str::randomAlpha()](#strrandomalpha)
- [Customization](#customization)
- [License](#license)

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

[](#installation)

```
composer require finagin/laravel-extra-support
```

Usage
-----

[](#usage)

### Str::randomWithExclude()

[](#strrandomwithexclude)

Returns random string with excludes.

```
use Illuminate\Support\Str;

Str::randomWithExclude();
Str::randomWithExclude(15);
Str::randomWithExclude(16, ['a', 'b', 'c']);
Str::randomWithExclude(16, 'abc');
```

### Str::randomAlpha()

[](#strrandomalpha)

Returns random string without numeric.

```
use Illuminate\Support\Str;

Str::randomAlpha();
Str::randomAlpha(15);
```

Customization
-------------

[](#customization)

```
