xyb / verify
laravel5's checkcode
dev-master
2015-05-16 13:56 UTC
Requires
- php: >=5.4.0
- illuminate/config: ~5.0
- illuminate/support: ~5.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-11-13 09:48:14 UTC
README
This is a laravel5 extend package for checkcode, it's just so easy and useful!
Installation
- Your project's Composer.json must add to like this:
{ "require": { "xyb/verify": "dev-master" } }
2.execute command under your project folder: composer update 3.Done!
Use
- found your app.php, and add item in the providers array and alias array:
'providers' => [ '....' 'Xyb\Verify\ServiceProvider', ],
'aliases' => [ '....' 'Checkcode' => 'Xyb\Verify\Facade', ]
2.and now you can use \Checkcode::output() to output a image for checkcode!