nirmal / random
Random Number Generator
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nirmal/random
This package is auto-updated.
Last update: 2025-10-05 14:02:57 UTC
README
it is for laravel 5+
Installation
Begin by installing this package through Composer. Just run following command to terminal-
composer require nirmal/random=dev-master
Once this operation completes, the final step is to add the service provider & aliases. Open config/app.php
, and add a new item to the providers array.
'providers' => [ ... Nirmal\Random\RandomServiceProvider::class, ... ]
Now add the alias.
'aliases' => [ ... 'Ndom' => Nirmal\Random\Facades\RandomFacade::class, ... ]
This package provide various type of commands like random number, random captcha image etc.
generator in html
Route::get('/', function () { $x = Ndom::create(); echo "<img src='$x' />"; die; return view('welcome'); });