inalto/filament-exposure-picker

Filament Solar Exposure widget

v1.0.1 2024-02-23 18:11 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

The FilamentPHP Exposure Picker is an intuitive and efficient tool designed to enhance user experience by allowing easy selection of the sun's exposure direction through a simple dropdown. Users can input cardinal and intercardinal directions such as N (North), NE (Northeast), E (East), SE (Southeast), S (South), SW (Southwest), W (West), and NW (Northwest) to accurately specify the direction of sunlight exposure. This feature is particularly useful for applications related to real estate, gardening, or any other domain where sunlight direction plays a critical role. The picker simplifies data entry, ensuring that users can quickly and effortlessly input precise information.

Installation

You can install the package via composer:

composer require inalto/filament-exposure-picker

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-exposure-picker-views"

Usage

return $form
          ->schema([
            ...
            ExposurePicker::make('exposure')
                        ->label(__('inalto.report.fields.exposure'))
                        ->suffixIcon('heroicon-o-sun'),
            ...
            ]);

Testing

composer test

🤑 Support Us 🤑

These codes make your life easier and you avoid wasting time?
Give us some RedBull!

USDT(BEP20)
0x367B9207ACBC30022F9A7262320E36661D7Ffeb5

✉️ Contact Us ✉️

Do you have any suggestions?
Do you need to customise this plugin?

Mail: webmaster@inalto.com
Telegram: @inaltoDev

Credits

License

The MIT License (MIT). Please see License File for more information.