PHP code example of cleaniquecoders / flowstone
1. Go to this page and download the library: Download cleaniquecoders/flowstone library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cleaniquecoders / flowstone example snippets
// ✅ Flowstone way - Full IDE support!
class Document extends Model implements WorkflowContract
{
use InteractsWithWorkflow; // Get 50+ workflow methods instantly
// IDE autocomplete ✅ | Type hints ✅ | Dynamic workflows ✅
}
// ❌ Symfony way - Config-based, no IDE support
'supports' => [App\Models\Document::class], // Hard-coded in config
bash
php artisan vendor:publish --tag="flowstone-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="flowstone-config"