Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Sdk Laravel Package

m2collective/filament-sdk

A toolkit for integrating the Filament admin panel into Laravel applications, offering reusable components, helpers, and conventions to speed up building dashboards and resource-driven interfaces.

View on GitHub
Deep Wiki
Context7

Getting Started

The 0.1.0 release is the first public version of m2collective/filament-sdk. It provides a set of base classes and utilities to streamline development with Filament v3. To get started:

  1. Install the package via Composer: composer require m2collective/filament-sdk
  2. Publish any package assets (config, views, etc.) using php artisan vendor:publish --provider="M2Collective\FilamentSdk\FilamentSdkServiceProvider"
  3. Since documentation is not yet available, start by exploring the source code in vendor/m2collective/filament-sdk/src and any example files in the repository.
  4. Your first use case: create a custom Filament resource. Extend the SDK's base resource class (e.g., M2Collective\FilamentSdk\Resources\Resource) to inherit common configuration and helpers, then register it in your panel provider as usual.

Implementation Patterns

  • Extending base classes: Use the SDK's abstract classes for resources, pages, and widgets to reduce boilerplate. For example, M2Collective\FilamentSdk\Resources\Resource likely includes pre-configured authorization, navigation, and form/table methods.
  • Leveraging traits: The package may provide traits for common tasks like API integration, caching, or audit logging. Apply these to your own Filament components.
  • Service provider registration: Register custom components or macros in the package's service provider (if it exposes extension points) or in your own AppServiceProvider.
  • Custom fields and columns: If the SDK includes field/column generators, use them to quickly scaffold form inputs and table columns that follow Filament's conventions.
  • API integration: If the package provides an HTTP client or API resource generator, use it to standardize interactions between your Filament admin and external services.

Gotchas and Tips

  • Pre-release stability: Version 0.1.0 is early-stage; expect breaking changes in minor releases. Pin the exact version in composer.json until the API stabilizes.
  • Documentation gaps: The release notes only link to the changelog, so rely on source code and IDE autocompletion. Check the GitHub repository for examples or tests.
  • Filament version compatibility: Ensure you are using Filament v3, as the SDK is likely built for it. Check composer.json for version constraints.
  • Config publishing: If the package merges a config file, publish it to customize behavior. Look for config/filament-sdk.php after publishing.
  • Debugging: Use Laravel's dd() and ray() within SDK classes. Since it's early, there may be limited logging. Inspect the service provider to understand how the package boots.
  • Extension points: Look for interfaces and abstract classes that you can implement or extend. The package may also support custom macros via FilamentSdk::macro() if it registers a facade.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource