PHPackages                             convenia/checklistable - 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. convenia/checklistable

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

convenia/checklistable
======================

Make any model checklistable with answer per ID

v1.0.2(8y ago)815.6k3[2 issues](https://github.com/convenia/checklistable/issues)MITPHPPHP &gt;=7

Since Jun 2Pushed 8y ago6 watchersCompare

[ Source](https://github.com/convenia/checklistable)[ Packagist](https://packagist.org/packages/convenia/checklistable)[ Docs](http://github.com/convenia/checklistable)[ RSS](/packages/convenia-checklistable/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (7)Used By (0)

[![checklistable logo](https://raw.githubusercontent.com/convenia/checklistable/master/checklistable.png)](https://raw.githubusercontent.com/convenia/checklistable/master/checklistable.png)

[![Codacy Badge](https://camo.githubusercontent.com/8e98aaa768d010afbd6c174b8bba72f39a53b94c48a156af03366b60f92230b8/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6361613832346166653835663436353861323766303433326563666163346164)](https://www.codacy.com/app/Convenia/checklistable_2?utm_source=github.com&utm_medium=referral&utm_content=convenia/checklistable&utm_campaign=Badge_Grade)[![Codacy Badge](https://camo.githubusercontent.com/2b9245fb8561e6383777d7d0593723f1898bd1375bf34a50da2e7d9e4b29c1ef/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f6361613832346166653835663436353861323766303433326563666163346164)](https://www.codacy.com/app/Convenia/checklistable_2?utm_source=github.com&utm_medium=referral&utm_content=convenia/checklistable&utm_campaign=Badge_Coverage)[![Build Status](https://camo.githubusercontent.com/eb03634cbfca3cd0b794be8edfb839bba3a50d75cc6074828b9528669b22ee7e/68747470733a2f2f7472617669732d63692e6f72672f636f6e76656e69612f636865636b6c69737461626c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/convenia/checklistable)[![GitHub forks](https://camo.githubusercontent.com/b6548e80667072924d439d5e377b8e0869f70a99b639b80bb2c01bb87b09174b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f636f6e76656e69612f636865636b6c69737461626c652e737667)](https://github.com/convenia/checklistable/network)[![Dependencies](https://camo.githubusercontent.com/af5f885b1dd64b141209e1c1c9c7149368cc56c5bd7922b1a17e367c89dfe197/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d7570253230746f253230646174652d627269676874677265656e2e737667)](https://camo.githubusercontent.com/af5f885b1dd64b141209e1c1c9c7149368cc56c5bd7922b1a17e367c89dfe197/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d7570253230746f253230646174652d627269676874677265656e2e737667)[![GitHub Issues](https://camo.githubusercontent.com/d39cc0685edc9c1079b3edebf4b5038863520e7359ed6d5f0ef97b5bd504725a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f636f6e76656e69612f636865636b6c69737461626c652e737667)](https://github.com/convenia/checklistable/issues)[![Contributions welcome](https://camo.githubusercontent.com/382079383bf5ec051cfa878df7b3d9a70a5f5052e573c67033d4d3f7e376a6d4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d627269676874677265656e2e737667)](https://camo.githubusercontent.com/382079383bf5ec051cfa878df7b3d9a70a5f5052e573c67033d4d3f7e376a6d4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d627269676874677265656e2e737667)[![License](https://camo.githubusercontent.com/99dc541e93fa4cf5d6c3f958d0c182fcde688c6ae9382006c2d9118e0db037f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542532304c6963656e73652d627269676874677265656e2e737667)](https://opensource.org/licenses/MIT)

Basic Overview
--------------

[](#basic-overview)

Add checklist in your project associated any model in your project

Install
-------

[](#install)

```
composer require convenia/checklistable
```

### publish migrations

[](#publish-migrations)

```
php artisan vendor:publish --tag="checklistable"
```

### migrate

[](#migrate)

```
php artisan migrate
```

Usage
-----

[](#usage)

#### add a trait

[](#add-a-trait)

```
namespace App\Model;

use Illuminate\Database\Eloquent\Model;
use Convenia\Checklistable\Traits\ChecklistableTrait;

class ModelClass extends Model
{
    use ChecklistableTrait;
```

#### Checklist Methods

[](#checklist-methods)

##### checklist()

[](#checklist)

```
// Return ChecklistService Object
ModelClass::checklist($type, $ownerId);
```

##### checklist()-&gt;get()

[](#checklist-get)

```
// Return Checklist Model, if not existe will create it
ModelClass::checklist($type, $ownerId)->get();
```

#### Question Methods

[](#question-methods)

##### checklist()-&gt;questions()

[](#checklist-questions)

```
// Return QuestionService Object
ModelClass::checklist($type, $ownerId)
    ->questions();
```

##### checklist()-&gt;questions()-&gt;get()

[](#checklist-questions-get)

```
// Return Collection of questions
ModelClass::checklist($type, $ownerId)
    ->questions()
        ->get();
```

##### checklist()-&gt;questions()-&gt;fill()

[](#checklist-questions-fill)

```
// add and return question in lot (only if empty)
ModelClass::checklist($type, $ownerId)
    ->questions()
    ->fill([]);
```

##### checklist()-&gt;questions()-&gt;delete()

[](#checklist-questions-delete)

```
// delete one question
ModelClass::checklist($type, $ownerId)
    ->questions()
    ->delete($questionId);
```

##### checklist()-&gt;questions()-&gt;add()

[](#checklist-questions-add)

```
// add one question an d return all
ModelClass::checklist($type, $ownerId)
    ->questions()
    ->add([
        'question' => 'What does Marcellus wallace looks like ?'
    ]);
```

#### Answer Methods

[](#answer-methods)

##### checklist()-&gt;answer()

[](#checklist-answer)

```
// Return QuestionService Object
ModelClass::checklist($type, $ownerId)
    ->answer();
```

##### checklist()-&gt;answer()-&gt;get()

[](#checklist-answer-get)

```
// retrive all answers about checklistable, if do not have, fill it
ModelClass::checklist($type, $ownerId)
    ->answer()
    ->get($checklistableId);
```

##### checklist()-&gt;answer()-&gt;start()

[](#checklist-answer-start)

```
// fill the answers with the questions
ModelClass::checklist($type, $ownerId)
    ->answer()
    ->start($checklistableId);
```

##### checklist()-&gt;answer()-&gt;answer()

[](#checklist-answer-answer)

```
// change answer response
ModelClass::checklist($type, $ownerId)
    ->answer()
    ->start($checklistableId, $answerId, $answer = true)
```

License
-------

[](#license)

Checklistable is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 81.1% 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 ~114 days

Total

4

Last Release

2971d ago

Major Versions

v0.0.1 → v1.0.02017-06-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/378751?v=4)[euventura](/maintainers/euventura)[@euventura](https://github.com/euventura)

---

Top Contributors

[![euventura](https://avatars.githubusercontent.com/u/378751?v=4)](https://github.com/euventura "euventura (30 commits)")[![edbizarro](https://avatars.githubusercontent.com/u/84926?v=4)](https://github.com/edbizarro "edbizarro (5 commits)")[![codacy-badger](https://avatars.githubusercontent.com/u/23704769?v=4)](https://github.com/codacy-badger "codacy-badger (1 commits)")[![StefanoDucci](https://avatars.githubusercontent.com/u/16004892?v=4)](https://github.com/StefanoDucci "StefanoDucci (1 commits)")

---

Tags

checklistchecklistablecodacy-badgehacktoberhacktoberfestlaravellaravel5laravel5-packagephp7laravelmodelchecklist

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/convenia-checklistable/health.svg)

```
[![Health](https://phpackages.com/badges/convenia-checklistable/health.svg)](https://phpackages.com/packages/convenia-checklistable)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90128.1k](/packages/emargareten-inertia-modal)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)[wearepixel/laravel-cart

A cart implementation for Laravel

1355.6k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

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