for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Duocheng\Hasher;
use Illuminate\Support\ServiceProvider;
class MD5HashProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
//
}
* Register the application services.
public function register()
$this->app->singleton('md5hash',function(){
return new MD5Hasher();
});