for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php
namespace GiveBlood\Units\Core\Providers;
use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use GiveBlood\Units\Authentication\Routes\Api;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set as the URL generator's root namespace.
* @var string
*/
protected $namespace = 'GiveBlood\Units\Authentication\Http\Controllers';
* Define your route model bindings, pattern filters, etc.
* @return void
public function boot()
//
parent::boot();
}
* Define the routes for the application.
public function map()
$this->mapApiRoutes();
* Define the "api" routes for the application.
* These routes are typically stateless.
protected function mapApiRoutes()
(new Api(
[
'middleware' => 'api',
'namespace' => $this->namespace,
//'prefix' => 'api'
]
))->register();