mphpmaster/laravel-guesser-helpers

Laravel Guesser Helpers

1.0.0 2023-02-17 17:58 UTC

This package is auto-updated.

Last update: 2024-12-17 22:22:27 UTC


README

Part of mphpmaster/laravel-helpers:^3

v1.0.0

Dependencies:

  • php >=8.1 REQUIRED IN YOUR PROJECT
  • laravel >=9 REQUIRED IN YOUR PROJECT
  • illuminate/support >=9 composer will install it automaticly
  • laravel/helpers ^1.5 composer will install it automaticly

Installation:

composer require mphpmaster/laravel-guesser-helpers

Content

  • Functions:
    • currentController
    • currentControllerFQN
    • currentControllerClass
    • currentAction
    • currentModelViaControllerName
    • isCurrentAction
    • guessPermissionName
    • guessUriKey
    • guessNamespace
    • currentNamespace
    • currentRoute
    • currentActionName
    • currentLocale
    • currentModel
    • routeParameter
    • getRealClassName

Inspired by laravel/helpers.

License

The Laravel framework is open-sourced software licensed under the MIT license.

These Helpers are open-sourced software licensed under the MIT license.