├── .gitignore ├── .github ├── FUNDING.yml ├── SECURITY.md ├── dependabot.yml ├── ISSUE_TEMPLATE │ ├── config.yml │ └── bug.yml ├── workflows │ └── update-changelog.yml └── CONTRIBUTING.md ├── src ├── HooksHelper.php ├── Facades │ └── HooksHelper.php ├── HooksHelperServiceProvider.php ├── Livewire │ └── ToggleHooks.php └── HooksHelperPlugin.php ├── assets └── images │ ├── activated.jpg │ └── deactivated.jpg ├── resources ├── views │ ├── switcher.blade.php │ └── livewire │ │ └── toggle-hooks.blade.php └── lang │ ├── en │ └── hookshelper.php │ ├── fr │ └── hookshelper.php │ └── de │ └── hookshelper.php ├── CHANGELOG.md ├── LICENSE.md ├── config └── hookshelper.php ├── composer.json └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea 3 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: agencetwogether 2 | -------------------------------------------------------------------------------- /src/HooksHelper.php: -------------------------------------------------------------------------------- 1 | 2 | @livewire('hookshelper::toggle-hooks') 3 | 4 | -------------------------------------------------------------------------------- /.github/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | If you discover any security related issues, please email contact@agencetwogether.fr instead of using the issue tracker. 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to `HooksHelper` will be documented in this file. 4 | 5 | ## v0.0.3 - 2025-09-25 6 | 7 | Add german translation 8 | 9 | ## v0.0.2 - 2025-06-16 10 | 11 | Support Filamentphp V4 12 | 13 | ## 1.0.0 - 202X-XX-XX 14 | 15 | - initial release 16 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Please see the documentation for all configuration options: 2 | # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 3 | 4 | version: 2 5 | updates: 6 | 7 | - package-ecosystem: "github-actions" 8 | directory: "/" 9 | schedule: 10 | interval: "weekly" 11 | labels: 12 | - "dependencies" -------------------------------------------------------------------------------- /src/Facades/HooksHelper.php: -------------------------------------------------------------------------------- 1 | ':Action hooks visibility', 5 | 'success' => [ 6 | 'title' => 'Hooks visibility :status', 7 | ], 8 | 'activate' => 'activate', 9 | 'deactivate' => 'deactivate', 10 | 'activated' => 'activated', 11 | 'deactivated' => 'deactivated', 12 | 'show' => 'Show hooks', 13 | 'hide' => 'Hide hooks', 14 | ]; 15 | -------------------------------------------------------------------------------- /resources/lang/fr/hookshelper.php: -------------------------------------------------------------------------------- 1 | ':Action la visibilité des Hooks', 5 | 'success' => [ 6 | 'title' => 'Visibilité des Hooks :status', 7 | ], 8 | 'activate' => 'activer', 9 | 'deactivate' => 'désactiver', 10 | 'activated' => 'activée', 11 | 'deactivated' => 'désactivée', 12 | 'show' => 'Afficher Hooks', 13 | 'hide' => 'Masquer Hooks', 14 | ]; 15 | -------------------------------------------------------------------------------- /resources/lang/de/hookshelper.php: -------------------------------------------------------------------------------- 1 | ':Action Hooks-Sichtbarkeit', 5 | 'success' => [ 6 | 'title' => 'Hooks-Sichtbarkeit :status', 7 | ], 8 | 'activate' => 'aktivieren', 9 | 'deactivate' => 'deaktivieren', 10 | 'activated' => 'aktiviert', 11 | 'deactivated' => 'deaktiviert', 12 | 'show' => 'Hooks anzeigen', 13 | 'hide' => 'Hooks ausblenden', 14 | ]; 15 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Ask a question 4 | url: https://github.com/agencetwogether/HooksHelper/discussions/new?category=q-a 5 | about: Ask the community for help 6 | - name: Request a feature 7 | url: https://github.com/agencetwogether/HooksHelper/discussions/new?category=ideas 8 | about: Share ideas for new features 9 | - name: Report a security issue 10 | url: https://github.com/agencetwogether/HooksHelper/security/policy 11 | about: Learn how to notify us for sensitive bugs 12 | -------------------------------------------------------------------------------- /resources/views/livewire/toggle-hooks.blade.php: -------------------------------------------------------------------------------- 1 | 8 | @unless(config('hookshelper.tiny_toggle')) 9 | {{ $isShow ? __('hookshelper::hookshelper.hide') : __('hookshelper::hookshelper.show') }} 10 | @endif 11 | 12 | -------------------------------------------------------------------------------- /.github/workflows/update-changelog.yml: -------------------------------------------------------------------------------- 1 | name: "Update Changelog" 2 | 3 | on: 4 | release: 5 | types: [released] 6 | 7 | permissions: 8 | contents: write 9 | 10 | jobs: 11 | update: 12 | runs-on: ubuntu-latest 13 | 14 | steps: 15 | - name: Checkout code 16 | uses: actions/checkout@v4 17 | with: 18 | ref: main 19 | 20 | - name: Update Changelog 21 | uses: stefanzweifel/changelog-updater-action@v1 22 | with: 23 | latest-version: ${{ github.event.release.name }} 24 | release-notes: ${{ github.event.release.body }} 25 | 26 | - name: Commit updated CHANGELOG 27 | uses: stefanzweifel/git-auto-commit-action@v5 28 | with: 29 | branch: main 30 | commit_message: Update CHANGELOG 31 | file_pattern: CHANGELOG.md 32 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) agencetwogether 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/HooksHelperServiceProvider.php: -------------------------------------------------------------------------------- 1 | name(static::$name) 23 | ->hasConfigFile() 24 | ->hasTranslations() 25 | ->hasViews(static::$viewNamespace) 26 | ->hasInstallCommand(function (InstallCommand $command) { 27 | $command 28 | ->publishConfigFile() 29 | ->askToStarRepoOnGitHub('agencetwogether/hookshelper'); 30 | }); 31 | } 32 | 33 | public function packageRegistered(): void {} 34 | 35 | public function packageBooted(): void {} 36 | } 37 | -------------------------------------------------------------------------------- /config/hookshelper.php: -------------------------------------------------------------------------------- 1 | 'global-search.before', 14 | /* 15 | |-------------------------------------------------------------------------- 16 | | Icon 17 | |-------------------------------------------------------------------------- 18 | | You may select a different Heroicon to display for the hooks visibility 19 | | toggle button. If null, the default will be 'heroicon-m-cursor-arrow-rays'. 20 | | 21 | */ 22 | 'icon' => 'heroicon-m-cursor-arrow-rays', 23 | /* 24 | |-------------------------------------------------------------------------- 25 | | Minify Button 26 | |-------------------------------------------------------------------------- 27 | | Setting this to true will only display a small icon as a toggle button. 28 | | Otherwise, the button will display action label to perform. 29 | | 30 | */ 31 | 'tiny_toggle' => false, 32 | ]; 33 | -------------------------------------------------------------------------------- /src/Livewire/ToggleHooks.php: -------------------------------------------------------------------------------- 1 | isShow = request()->hasCookie('showHooks') ?? session()->get('showHooks') ?? false; 17 | } 18 | 19 | public function changeVisibility(): Redirector 20 | { 21 | $this->isShow = ! $this->isShow; 22 | 23 | if ($this->isShow) { 24 | session()->put('showHooks', true); 25 | cookie()->queue(cookie()->forever('showHooks', true)); 26 | } else { 27 | session()->forget('showHooks'); 28 | cookie()->queue(cookie()->forget('showHooks')); 29 | } 30 | 31 | Notification::make() 32 | ->title(__('hookshelper::hookshelper.success.title', [ 33 | 'status' => $this->isShow ? __('hookshelper::hookshelper.activated') : __('hookshelper::hookshelper.deactivated'), 34 | ])) 35 | ->success() 36 | ->send(); 37 | 38 | return redirect(request()->header('Referer')); 39 | } 40 | 41 | public function render(): View 42 | { 43 | return view('hookshelper::livewire.toggle-hooks'); 44 | } 45 | 46 | public static function getShowHooks(): bool 47 | { 48 | return request()->hasCookie('showHooks'); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "agencetwogether/hookshelper", 3 | "description": "Simple plugin to toggle display hooks available in current page.", 4 | "keywords": [ 5 | "agencetwogether", 6 | "laravel", 7 | "filamentphp", 8 | "filament", 9 | "hooks", 10 | "helper" 11 | ], 12 | "homepage": "https://github.com/agencetwogether/hookshelper", 13 | "support": { 14 | "issues": "https://github.com/agencetwogether/hookshelper/issues", 15 | "source": "https://github.com/agencetwogether/hookshelper" 16 | }, 17 | "license": "MIT", 18 | "authors": [ 19 | { 20 | "name": "Max", 21 | "email": "contact@agencetwogether.fr", 22 | "role": "Developer" 23 | } 24 | ], 25 | "require": { 26 | "php": "^8.1", 27 | "filament/filament": "^3.0|^4.0", 28 | "spatie/laravel-package-tools": "^1.15.0" 29 | }, 30 | "require-dev": { 31 | "laravel/pint": "^1.0", 32 | "nunomaduro/collision": "^7.9", 33 | "orchestra/testbench": "^8.0", 34 | "pestphp/pest": "^2.1", 35 | "pestphp/pest-plugin-arch": "^2.0", 36 | "pestphp/pest-plugin-laravel": "^2.0" 37 | }, 38 | "autoload": { 39 | "psr-4": { 40 | "Agencetwogether\\HooksHelper\\": "src/" 41 | } 42 | }, 43 | "scripts": { 44 | "post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi", 45 | "format": "vendor/bin/pint" 46 | }, 47 | "extra": { 48 | "laravel": { 49 | "providers": [ 50 | "Agencetwogether\\HooksHelper\\HooksHelperServiceProvider" 51 | ] 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug.yml: -------------------------------------------------------------------------------- 1 | name: Bug Report 2 | description: Report an Issue or Bug with the Package 3 | title: "[Bug]: " 4 | labels: ["bug"] 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | We're sorry to hear you have a problem. Can you help us solve it by providing the following details. 10 | - type: textarea 11 | id: what-happened 12 | attributes: 13 | label: What happened? 14 | description: What did you expect to happen? 15 | placeholder: I cannot currently do X thing because when I do, it breaks X thing. 16 | validations: 17 | required: true 18 | - type: textarea 19 | id: how-to-reproduce 20 | attributes: 21 | label: How to reproduce the bug 22 | description: How did this occur, please add any config values used and provide a set of reliable steps if possible. 23 | placeholder: When I do X I see Y. 24 | validations: 25 | required: true 26 | - type: input 27 | id: package-version 28 | attributes: 29 | label: Package Version 30 | description: What version of our Package are you running? Please be as specific as possible 31 | placeholder: 2.0.0 32 | validations: 33 | required: true 34 | - type: input 35 | id: php-version 36 | attributes: 37 | label: PHP Version 38 | description: What version of PHP are you running? Please be as specific as possible 39 | placeholder: 8.2.0 40 | validations: 41 | required: true 42 | - type: input 43 | id: laravel-version 44 | attributes: 45 | label: Laravel Version 46 | description: What version of Laravel are you running? Please be as specific as possible 47 | placeholder: 9.0.0 48 | validations: 49 | required: true 50 | - type: dropdown 51 | id: operating-systems 52 | attributes: 53 | label: Which operating systems does with happen with? 54 | description: You may select more than one. 55 | multiple: true 56 | options: 57 | - macOS 58 | - Windows 59 | - Linux 60 | - type: textarea 61 | id: notes 62 | attributes: 63 | label: Notes 64 | description: Use this field to provide any other notes that you feel might be relevant to the issue. 65 | validations: 66 | required: false 67 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Contributions are **welcome** and will be fully **credited**. 4 | 5 | Please read and understand the contribution guide before creating an issue or pull request. 6 | 7 | ## Etiquette 8 | 9 | This project is open source, and as such, the maintainers give their free time to build and maintain the source code 10 | held within. They make the code freely available in the hope that it will be of use to other developers. It would be 11 | extremely unfair for them to suffer abuse or anger for their hard work. 12 | 13 | Please be considerate towards maintainers when raising issues or presenting pull requests. Let's show the 14 | world that developers are civilized and selfless people. 15 | 16 | It's the duty of the maintainer to ensure that all submissions to the project are of sufficient 17 | quality to benefit the project. Many developers have different skills, strengths, and weaknesses. Respect the maintainer's decision, and do not be upset or abusive if your submission is not used. 18 | 19 | ## Viability 20 | 21 | When requesting or submitting new features, first consider whether it might be useful to others. Open 22 | source projects are used by many developers, who may have entirely different needs to your own. Think about 23 | whether or not your feature is likely to be used by other users of the project. 24 | 25 | ## Procedure 26 | 27 | Before filing an issue: 28 | 29 | - Attempt to replicate the problem, to ensure that it wasn't a coincidental incident. 30 | - Check to make sure your feature suggestion isn't already present within the project. 31 | - Check the pull requests tab to ensure that the bug doesn't have a fix in progress. 32 | - Check the pull requests tab to ensure that the feature isn't already in progress. 33 | 34 | Before submitting a pull request: 35 | 36 | - Check the codebase to ensure that your feature doesn't already exist. 37 | - Check the pull requests to ensure that another person hasn't already submitted the feature or fix. 38 | 39 | ## Requirements 40 | 41 | If the project maintainer has any additional requirements, you will find them listed here. 42 | 43 | - **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](https://pear.php.net/package/PHP_CodeSniffer). 44 | 45 | - **Add tests!** - Your patch won't be accepted if it doesn't have tests. 46 | 47 | - **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date. 48 | 49 | - **Consider our release cycle** - We try to follow [SemVer v2.0.0](https://semver.org/). Randomly breaking public APIs is not an option. 50 | 51 | - **One pull request per feature** - If you want to do more than one thing, send multiple pull requests. 52 | 53 | - **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please [squash them](https://www.git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages) before submitting. 54 | 55 | **Happy coding**! 56 | -------------------------------------------------------------------------------- /src/HooksHelperPlugin.php: -------------------------------------------------------------------------------- 1 | renderHook( 28 | Str::start(config('hookshelper.render_hook') ?? 'global-search.before', 'panels::'), 29 | fn () => view('hookshelper::switcher') 30 | ); 31 | $panel->renderHook( 32 | 'panels::auth.login.form.before', 33 | fn () => view('hookshelper::switcher') 34 | ); 35 | $panel->renderHook( 36 | 'panels::auth.password-reset.request.form.before', 37 | fn () => view('hookshelper::switcher') 38 | ); 39 | $panel->renderHook( 40 | 'panels::auth.password-reset.reset.form.before', 41 | fn () => view('hookshelper::switcher') 42 | ); 43 | $panel->renderHook( 44 | 'panels::auth.register.form.before', 45 | fn () => view('hookshelper::switcher') 46 | ); 47 | 48 | if (ToggleHooks::getShowHooks()) { 49 | // Panel Hooks 50 | $panelHooks = new ReflectionClass(PanelsRenderHook::class); 51 | // Table Hooks 52 | $tableHooks = new ReflectionClass(TablesRenderHook::class); 53 | // Widget Hooks 54 | $widgetHooks = new ReflectionClass(WidgetsRenderHook::class); 55 | 56 | $panelHooks = $panelHooks->getConstants(); 57 | $tableHooks = $tableHooks->getConstants(); 58 | $widgetHooks = $widgetHooks->getConstants(); 59 | 60 | foreach ($panelHooks as $hook) { 61 | $panel->renderHook($hook, function () use ($hook) { 62 | return Blade::render('
{{ $name }}
', [ 63 | 'name' => Str::of($hook)->remove('tables::'), 64 | ]); 65 | }); 66 | } 67 | foreach ($tableHooks as $hook) { 68 | $panel->renderHook($hook, function () use ($hook) { 69 | return Blade::render('
{{ $name }}
', [ 70 | 'name' => Str::of($hook)->remove('tables::'), 71 | ]); 72 | }); 73 | } 74 | foreach ($widgetHooks as $hook) { 75 | $panel->renderHook($hook, function () use ($hook) { 76 | return Blade::render('
{{ $name }}
', [ 77 | 'name' => Str::of($hook)->remove('tables::'), 78 | ]); 79 | }); 80 | } 81 | } 82 | } 83 | 84 | public function shouldShowSwitcher(): bool 85 | { 86 | return Str::of(request()->route()->getName())->contains([ 87 | 'auth.login', 88 | 'auth.password', 89 | 'auth.profile', 90 | 'auth.register', 91 | ]); 92 | } 93 | 94 | public function boot(Panel $panel): void 95 | { 96 | // 97 | } 98 | 99 | public static function make(): static 100 | { 101 | return app(static::class); 102 | } 103 | 104 | public static function get(): static 105 | { 106 | /** @var static $plugin */ 107 | $plugin = filament(app(static::class)->getId()); 108 | 109 | return $plugin; 110 | } 111 | } 112 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Filament Hooks helper 2 | 3 | [![Latest Version on Packagist](https://img.shields.io/packagist/v/agencetwogether/hookshelper.svg?style=flat-square)](https://packagist.org/packages/agencetwogether/hookshelper) 4 | [![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/agencetwogether/hookshelper/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/agencetwogether/hookshelper/actions?query=workflow%3Arun-tests+branch%3Amain) 5 | [![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/agencetwogether/hookshelper/fix-php-code-styling.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/agencetwogether/hookshelper/actions?query=workflow%3A"Fix+PHP+code+styling"+branch%3Amain) 6 | [![Total Downloads](https://img.shields.io/packagist/dt/agencetwogether/hookshelper.svg?style=flat-square)](https://packagist.org/packages/agencetwogether/hookshelper) 7 | 8 | This plugin allows you to easily look ALL render hooks available in Filament on current page with a toggle. 9 | 10 | ## Table of contents 11 | 12 | * [Installation](#installation) 13 | * [Setup](#setup) 14 | * [Usage](#usage) 15 | * [Placement](#placement) 16 | * [Icon](#icon) 17 | * [Minify toggle](#minify-toggle) 18 | 19 | ## Installation 20 | 21 | You can install the package via composer: 22 | 23 | ```bash 24 | composer require agencetwogether/hookshelper 25 | ``` 26 | 27 | You can publish the config file with: 28 | 29 | ```bash 30 | php artisan vendor:publish --tag="hookshelper-config" 31 | ``` 32 | 33 | This is the contents of the published config file: 34 | 35 | ```php 36 | return [ 37 | /* 38 | |-------------------------------------------------------------------------- 39 | | Render Hook 40 | |-------------------------------------------------------------------------- 41 | | You may customize the render hook used to display the hooks visibility 42 | | toggle button. If null, this will be set to 'global-search.before'. 43 | | The 'panels::' prefix will be added automatically if omitted. 44 | | 45 | */ 46 | 'render_hook' => 'global-search.before', 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Icon 50 | |-------------------------------------------------------------------------- 51 | | You may select a different Heroicon to display for the hooks visibility 52 | | toggle button. If null, the default will be 'heroicon-m-cursor-arrow-rays'. 53 | | 54 | */ 55 | 'icon' => 'heroicon-m-cursor-arrow-rays', 56 | /* 57 | |-------------------------------------------------------------------------- 58 | | Minify Button 59 | |-------------------------------------------------------------------------- 60 | | Setting this to true will only display a small icon as a toggle button. 61 | | Otherwise, the button will display action label to perform. 62 | | 63 | */ 64 | 'tiny_toggle' => false, 65 | ]; 66 | ``` 67 | 68 | You can publish the translations with: 69 | 70 | ```bash 71 | php artisan vendor:publish --tag="hookshelper-translations" 72 | ``` 73 | 74 | Optionally, you can publish the views using 75 | 76 | ```bash 77 | php artisan vendor:publish --tag="hookshelper-views" 78 | ``` 79 | 80 | ## Setup 81 | 82 | First, instantiate the plugin in your Panel's configuration: 83 | 84 | ```php 85 | use Agencetwogether\HooksHelper\HooksHelperPlugin; 86 | 87 | ... 88 | 89 | public function panel(Panel $panel) : Panel 90 | { 91 | return $panel 92 | ->plugins([ 93 | HooksHelperPlugin::make(), 94 | ]); 95 | } 96 | ``` 97 | 98 | ## Usage 99 | 100 | The plugin will add a toggle button to your Filament Admin Panel, left to the global search bar. 101 | 102 | Clicking it will trigger display all hooks available in current page otherwise hide them. 103 | 104 | ![image](https://raw.githubusercontent.com/agencetwogether/hooksHelper/main/assets/images/deactivated.jpg) 105 | 106 | ![image](https://raw.githubusercontent.com/agencetwogether/hooksHelper/main/assets/images/activated.jpg) 107 | 108 | ### Placement 109 | 110 | The toggle button will be placed before the global search bar by default. If you want to change this, you can tweak the 111 | `render_hook` key in the config file. 112 | 113 | You can use any of the [render hooks](https://filamentphp.com/docs/3.x/support/render-hooks#available-render-hooks) 114 | provided by Filament. 115 | 116 | ### Icon 117 | 118 | The toggle button show an icon. If you want to change this, you can tweak the `icon` key in the config file. 119 | 120 | ### Minify toggle 121 | 122 | You can only show icon in toggle. If you want to set this, you can tweak the `tiny_toggle` key in the config file. 123 | 124 | ## Changelog 125 | 126 | Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. 127 | 128 | ## Contributing 129 | 130 | Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details. 131 | 132 | ## Security Vulnerabilities 133 | 134 | Please review [our security policy](../../security/policy) on how to report security vulnerabilities. 135 | 136 | ## Credits 137 | 138 | - [Max](https://github.com/agencetwogether) 139 | - [All Contributors](../../contributors) 140 | 141 | ## Thanks 142 | 143 | - [PovilasKorop](https://github.com/povilaskorop) for idea 144 | 145 | ## License 146 | 147 | The MIT License (MIT). Please see [License File](LICENSE.md) for more information. 148 | --------------------------------------------------------------------------------