Download the PHP package niladam/quick-links without Composer
On this page you can find all versions of the php package niladam/quick-links. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download niladam/quick-links
More information about niladam/quick-links
Files in niladam/quick-links
Package quick-links
Short Description Quickly open resource, and other files from within filament resource table in your PHPstorm editor.
License MIT
Homepage https://github.com/niladam/quick-links
Informations about the package quick-links
Quickly open resource, and other files from within filament panel in your PHPstorm editor.
Quickly open resource, models, and other files from within your FilamentPHP table in your PHPstorm editor.
[!NOTE] The links are rendered through Filament's
tables::header.afterrender hook, underneath the table header, so a table that already sets its owndescriptionkeeps it.That spot lives inside the table's header container, which Filament hides when a table has nothing to put in it. A table with no heading, no description, no header actions, no search, no filters and no column manager therefore won't show the links.
Installation
You can install the package via composer:
Run the install command:
Configuration
These are the contents of the published config file:
Styling
The links are rendered from a Blade view. Publish it if you want to change the markup:
It lands in resources/views/vendor/quick-links/quick-links.blade.php and receives $links (each with a url and a label), $prefix and $separator.
Conditional disabling
While you can disablee the package entirely by setting the QUICK_LINKS_ENABLED environment variable to false you can also use a closure to conditionally disable it.
Somewhere in a Service Provider..
Disabling for a specific resource using code:
Disabling quicklinks on a specific resource(s) using config
Simply add the FQCN(s) (fully qualified class name) to your resource in the quick-links.disabled config option.
Testing
The suite runs against Filament v3, v4 and v5.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Upgrading from v1? See UPGRADING.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Madalin Tache
- grafst - for rendering the links through a header render hook, so existing table descriptions are kept
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of quick-links with dependencies
filament/tables Version ^3.0|^4.0|^5.0
livewire/livewire Version ^3.5|^4.0
spatie/laravel-package-tools Version ^1.15.0