laravel-modules
  • v1
  • v2
  • v3
  • v4
  • v5
  • v6

    • Introduction
    • Requirements
    • Installation and setup
    • Lumen
    • Questions and issues
    • Changelog
  • Basic usage
    • Creating a module
    • Custom namespaces
    • Configuration
    • Helpers
    • Compiling Assets
  • Advanced Tools
    • Artisan Commands
    • Facade methods
    • Module methods
    • Publishing modules
    • Module Resources
    • Module Console Commands
    • Registering Module Events

Helpers

Module path function

Get the path to the given module.

$path = module_path('Blog');
  • ← Configuration
  • Compiling assets →
Edit on
Nicolas Widart | Documentation app by Spatie | Designed by Xiaoying Riley