for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PHPHub\Providers;
use Illuminate\Support\ServiceProvider;
use Naux\AutoCorrect;
use Parsedown;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*/
public function boot()
//
}
* Register any application services.
public function register()
$this->app->singleton('auto-correct', function () {
return new AutoCorrect();
});
$this->app->singleton('markdown', function () {
return new Parsedown();