for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
if (! function_exists('on_route')) {
function on_route($route)
{
return Route::current() ? Route::is($route) : false;
}
if (! function_exists('locale')) {
function locale($locale = null)
if (is_null($locale)) {
return app()->getLocale();
app()->setLocale($locale);
if (! function_exists('is_module_enabled')) {
function is_module_enabled($module)
return array_key_exists($module, app('modules')->enabled());