socialdept / atp-appview-filament
Run and inspect AT Protocol AppViews from a Filament panel in Laravel
Package info
github.com/socialdept/atp-appview-filament
pkg:composer/socialdept/atp-appview-filament
Requires
- php: ^8.3
- filament/filament: ^5.0
- illuminate/support: ^11.28|^12.0|^13.0
- socialdept/atp-appview: ^0.4
- socialdept/atp-client: ^0.3.15
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.89
- orchestra/testbench: ^9.0|^10.0|^11.0
- phpunit/phpunit: ^11.0|^12.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Run and inspect AT Protocol AppViews from a Filament panel in Laravel.
Warning
In early development. Nothing here is ready to use yet. Expect breaking changes until the first tagged release.
This package is an operator panel for an AppView built on atp-appview, added to any Filament panel as a plugin. It shows whether the network is flowing into the index, what the index holds, what it does to stay correct and what is being backfilled, and it lets an operator reconcile, block and moderate accounts from the panel. To learn all about it, head over to the documentation.
Here are a few short examples of what you can do. Add the plugin to a panel:
use SocialDept\AtpAppviewFilament\AtpAppviewPlugin; public function panel(Panel $panel): Panel { return $panel // ... ->plugin(AtpAppviewPlugin::make()); }
Put its pages in a navigation group of your own, or in none:
AtpAppviewPlugin::make() ->navigationGroup('AppView');
Leave out the pages an app does not need:
AtpAppviewPlugin::make() ->lexicons(false) ->labelers(false);
Send AT-URIs and DIDs somewhere other than pds.ls:
AtpAppviewPlugin::make() ->recordLinks(fn (string $uri) => "https://pdsls.dev/{$uri}");
Documentation
You'll find the documentation on https://socialde.pt/docs/atp-appview-filament.
Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving it? Feel free to create an issue on GitHub.
Testing
vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see LICENSE for more information.