syntaxerrorllc / stromite-filament
This package is designed to add customizable entities and workflows into a laravel project
Requires
- php: ^8.2
- filament/filament: ^3.2
- syntaxerrorllc/stromite: ^0.0.1@alpha
Requires (Dev)
- orchestra/testbench: ^9
- phpunit/phpunit: ^11
This package is not auto-updated.
Last update: 2025-04-08 15:50:27 UTC
README
WORK IN PROGRESS - Recomended for demo purposes only.
This package leverages Filament to create a dynamic UI for interacting with Stromite Entites and Workflows. This brings a significant amount of Database driven customization to authorized users of your project.
Installation
Required Update composer.json to allow auto-generated code to be loaded from app storage, and set the stability to alpha
{
"autoload": {
"psr-4": {
...
"Storage\\App\\": "storage/app/",
}
},
...
"minimum-stability": "alpha",
}
Then you can install the package via composer:
composer require syntaxerrorllc/stromite-filament
Run the migration:
php artisan migrate
This will also include the Filament package. You will need to follow the two steps linked below to complete the Filament Panel install and create a user.
These are required to continue.
php artisan filament:install --panels
php artisan make:filament-user
Usage
Make sure to register the plugin in the PanelProvider (app > Providers > Filament)
use SyntaxErrorLLC\StromiteFilament\StromiteFilament;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
StromiteFilament::make()
])
}
Login in to your filament panel. default would be something like http://localhost/admin
On the left navigation you should "Stromite Core" > "Entity Types"
Navigate to that page and click the "New Entity Type" button at the top right.
Enter a name, it can be anthing you would normally make a Model for. Keep it singluar if possible. I.E. "Movie"
Once Created, edit the new entity type in order to add settings to the entity.
Click the "New Setting" button on the data table, while on the edit page.
For starters let's give our Movie Model a "Title" field so each movie can record it's title.
Inputs:
Name = Title
Cast = Test
Unique = True (Toggle)
Validation Rules
Rule = required
Click "Create"
On the navigation at this point you should see a new group "Entites" Select "Movies".
Click "New Movie" at the top right and enter a title and click "Create"
That's It! You've made your first Entity!
More documentation to come.
Please keep in mind this is a work in progress, some features are not implemented and bugs are very likely.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.