PHPackages                             ronssij/filament-simple-draft - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ronssij/filament-simple-draft

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ronssij/filament-simple-draft
=============================

Is a simple FilamentPHP plugin that allows to save forms as drafts.

v1.0.6(1y ago)12.2k↓47.1%MITPHP

Since Dec 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ronssij/filament-simple-draft)[ Packagist](https://packagist.org/packages/ronssij/filament-simple-draft)[ RSS](/packages/ronssij-filament-simple-draft/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

A simple FilamentPHP plugin that allows to save forms as drafts.
================================================================

[](#a-simple-filamentphp-plugin-that-allows-to-save-forms-as-drafts)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c7cdda2685dc765c22bf05c91cfe67c5fc2ad7050862198445bcc879465e92df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6e7373696a2f66696c616d656e742d73696d706c652d64726166742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ronssij/filament-simple-draft)[![Total Downloads](https://camo.githubusercontent.com/67fec5d7bfef98bb2e6cc6d74806f4df6dc42ed9ec7e65ac59e02fe12aff99a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6e7373696a2f66696c616d656e742d73696d706c652d6472616674)](https://packagist.org/packages/ronssij/filament-simple-draft/stats)[![Licence](https://camo.githubusercontent.com/372ae1244eb30d397c17632cf9302ed4b178261b49b56d8ccfdabba29e5b11ad/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f726f6e7373696a2f66696c616d656e742d73696d706c652d6472616674)](LICENSE.md)

This package is a simple plugin to allow required fields on forms to be draftable. Filament field components already could do it on demand using:

```
->nullable(true|false)
```

[![](https://raw.githubusercontent.com/ronssij/filament-simple-draft/1.x/screens/sample-draft.gif)](https://raw.githubusercontent.com/ronssij/filament-simple-draft/1.x/screens/sample-draft.gif)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require ronssij/filament-simple-draft
```

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-simple-draft-config"
```

This is the contents of the published config file:

```
// config/filament-simple-draft.php
return [
    'publishable_column' => 'published_at',
];
```

Usage
-----

[](#usage)

On your model, these classes should be used. Make sure all of you draftable fields are nullable columns on your model.

```
use Ronssij\FilamentSimpleDraft\Contracts\CanBePublished;
use Ronssij\FilamentSimpleDraft\Publishable;

class User extends Authenticatable implements CanBePublished
{
    // Optionally, you can set you published column identifier
    // Or you can set it via configuration (config/filament-simple-draft.php).
    protected ?string $publishColumn = 'published_date';

    use Publishable;
}
```

On your Resources for CreateRecord and EditRecord:

```
use Filament\Resources\Pages\EditRecord;
use Ronssij\FilamentSimpleDraft\Pages\Traits\Edit\Draftable;

class EditUser extends EditRecord
{
    use Draftable;
}
```

```
use Filament\Resources\Pages\CreateRecord;
use Ronssij\FilamentSimpleDraft\Pages\Traits\Create\Draftable;

class CreateUser extends CreateRecord
{
    use Draftable;
}
```

Resource form usage:

By chaining `->draftable()` on any form fields it will be required when Published and nullable on Save Draft.

```
use Filament\Forms;
use Filament\Forms\Form;
use FilamentTiptapEditor\Enums\TiptapOutput;
use FilamentTiptapEditor\TiptapEditor;

public static function form(Form $form): Form
{
    return $form
        ->schema([
            Forms\Components\TextInput::make('title')
                ->label('Blog title')
                ->draftable()
            Forms\Components\Textarea::make('description')
                ->label('Blog description')
                ->rows(5)
                ->draftable()
            TiptapEditor::make('content')
                ->label('Blog content')
                ->draftable()
                ->output(TiptapOutput::Html)
        ]);
}
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance44

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

8

Last Release

438d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2164da70cf2759bfbd28af7528bfd8c8bbbc2f4f33cf326a6e934e2c28ce0f0?d=identicon)[ronssij](/maintainers/ronssij)

---

Top Contributors

[![ronssij](https://avatars.githubusercontent.com/u/24932380?v=4)](https://github.com/ronssij "ronssij (11 commits)")

### Embed Badge

![Health badge](/badges/ronssij-filament-simple-draft/health.svg)

```
[![Health](https://phpackages.com/badges/ronssij-filament-simple-draft/health.svg)](https://phpackages.com/packages/ronssij-filament-simple-draft)
```

###  Alternatives

[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)[pelmered/filament-money-field

94162.4k1](/packages/pelmered-filament-money-field)[asmit/resized-column

Resizeable column for filament

4857.4k1](/packages/asmit-resized-column)[josespinal/filament-record-navigation

Record navigation from views

3142.0k2](/packages/josespinal-filament-record-navigation)[asmit/filament-mention

A Laravel Filament package for implementing a customizable mention editor with support for tagging users or entities.

4416.2k](/packages/asmit-filament-mention)[monzer/filament-workflows

Automation made easy!

646.3k](/packages/monzer-filament-workflows)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
