for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nathanmac\Utilities\QRCode;
use Illuminate\Support\ServiceProvider;
class QRCodeServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
$this->app->booted(function () {
$this->defineRoutes();
});
}
* Register the service provider.
public function register()
* Define the QRCode routes.
protected function defineRoutes()
if (! $this->app->routesAreCached()) {
$router = app('router');
$router->group(['namespace' => 'Nathanmac\QRCode\Controllers'], function ($router) {
require __DIR__.'/routes.php';