src/Http/Router.php
public function actions(array $controllers, $method = 'any')
	{
		foreach ($controllers as $name => $actions)
		{
			$controller = Str::studly($name).'Controller';
			foreach($actions as $k => $action)
			{
				is_numeric($k) && $k = $action;
				$this->$method($name.($k == 'index' ? '' : '/'.$k), $controller.'@'.Str::camel($action));
			}
		}
	}
public function actions(array $controllers, $method = 'any')
	{
		foreach ($controllers as $name => $actions)
		{
			$controller = Str::studly($name).'Controller';
			foreach($actions as $k => $action)
			{
				is_numeric($k) && $k = $action;
				$this->$method($name.($k == 'index' ? '' : '/'.$k), $controller.'@'.Str::camel($action));
			}
		}
	}
actions

@example $this->actions(['member' => ['index', 'edit', 'delete']]);
@example $this->actions(['member' => ['index', 'e' => 'edit', 'd' => 'delete']]);

@param  [string] $controllers
@param  [string] $method