8000 Helpers · akaunting/laravel-module Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Helpers

Denis Duliçi edited this page Nov 19, 2019 · 2 revisions

The package comes with some useful helpers such as:

Module Instance

You can get the module instance using the following snippet:

$module = module('my-blog');

Module Path

You can get the module path using the following snippet:

$module_path = module_path('my-blog');

Config Path

You can get the config path using the following snippet:

$config_path = config_path('my-blog');

Public Path

You can get the public path using the following snippet:

$public_path = public_path('my-blog');
Clone this wiki locally
0