mphpmaster/laravel-nova-helpers

1.2.0 2023-10-11 07:00 UTC

This package is auto-updated.

Last update: 2024-11-11 09:57:58 UTC


README

Part of mphpmaster/laravel-helpers:^3

v1.2.0

Dependencies:

  • php >=8.1 REQUIRED IN YOUR PROJECT
  • laravel >=9 REQUIRED IN YOUR PROJECT
  • nova >=4 REQUIRED IN YOUR PROJECT We didn't try it with nova 3, bet we started this code on nova 3
  • illuminate/support >=9 composer will install it automaticly
  • laravel/helpers ^1.5 composer will install it automaticly

Installation:

composer require mphpmaster/laravel-nova-helpers

Content

  • Functions:
    • getNovaResourceId
    • getNovaParentResource
    • getNovaParentResourceId
    • getNovaRequest
    • toCollect
    • currentLocale
    • isCurrentResource
    • getNovaResources
    • getNovaResourcesAsOptions
    • HiddenField
    • formatAttributeAsCurrency
    • formatValueAsCurrency
    • makeFormatValueAsCurrency
    • getNovaUrlPath
    • isClosure
    • getValue
    • getNovaResourceInfoFromRequest
    • getNovaRequestParameters
    • getNovaResource

Inspired by laravel/helpers.

License

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

The Laravel Helpers: App is open-sourced software licensed under the MIT license.

Stand with Palestine 🇵🇸 #FreePalestine