PHP code example of mxms / checklist
1. Go to this page and download the library: Download mxms/checklist 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/ */
mxms / checklist example snippets
use Mxms\Checklist\Checklist;
Checklist::make('Tasks')
->placeholder('Add another task') // Defaults to "Add item"
->withPlaceholderCount() // Not active by default
->logUsers() // Not active by default, accepts user-model column. Uses "name" when column isn't provided.
->showTimestamps() // Not active by default
->showItemStatusOnIndex() // Not active by default
->showCompletionOnIndex(), // Not active by default