1. Go to this page and download the library: Download laravel-attributes/todo 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/ */
laravel-attributes / todo example snippets
use IMohamedSheta\Todo\Attributes\TODO;
use IMohamedSheta\Todo\Enums\Priority;
#[TODO('Need to create extractChunks.', Priority::Medium)]
class ExcelTextExtractor
{
// Class implementation...
}
use IMohamedSheta\Todo\Attributes\TODO;
use IMohamedSheta\Todo\Enums\Priority;
class RegisterAction
{
#[TODO('Generate a unique billing code for the clinic', Priority::High)]
public function createClinicAdmin()
{
// Method implementation...
}
}
use IMohamedSheta\Todo\Attributes\TODO;
use IMohamedSheta\Todo\Enums\Priority;
#[TODO('Not finished yet', Priority::Medium)]
function array_only()
{
// Function logic...
}
#[TODO] // Shows "Not finished yet" in output and priority medium as default
class PendingFeature
{
// ...
}
bash
php artisan todo
bash
php artisan todo --src=app/Http/Controllers
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.