Skip to content

Leshkens/orchid-help-hint-layout

Repository files navigation

Orchid Help Hints Layout package

Latest Version on Packagist Total Downloads

screenshot

Installation

Install via composer: composer require leshkens/orchid-help-hint-layout

For old orchid versions:

Orchid version Composer command
Orchid 9.x composer require leshkens/orchid-help-hint-layout:^2.0
Orchid 8.x composer require leshkens/orchid-help-hint-layout:^1.0

Install package migration:

php artisan migrate

Publish config file:

php artisan vendor:publish --provider="Leshkens\OrchidHelpHintLayout\Providers\ServiceProvider"

Usage

It easy. Add to you screen:

public function layout(): array
{
    return [
        HelpHintLayout::make('foobar')
    ];
}

Then add it to the hint map (in config/platform-hints.php):

'hints_map' => [
    'foobar' => 'My hint is somewhere'
],

Grant the user rights to hints and add an entry to the database in http://yousite.loc/dashboard/systems/help-hints/create

Credits

About

Hint Layout package for Orchid Platform. Allows you to add a layer with plain text (or HTML).

Resources

License

Stars

Watchers

Forks

Packages

No packages published