Package Data | |
---|---|
Maintainer Username: | rahmatawaludin |
Maintainer Contact: | rahmat.awaludin@gmail.com (Rahmat Awaludin) |
Package Create Date: | 2014-02-11 |
Package Last Update: | 2014-03-03 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:15:38 |
Package Statistics | |
---|---|
Total Downloads: | 124 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 22 |
Total Watchers: | 4 |
Total Forks: | 10 |
Total Open Issues: | 3 |
Inpired by Rails Rake notes, Laravel Notes helps you manage your notes when developing an application. It will search comment begin with TODO, FIXME, or OPTIMIZE.
"rahmatawaludin/laravel-notes": "dev-master"
{
"require": {
"laravel/framework": "4.1.*",
"rahmatawaludin/laravel-notes": "dev-master"
},
...
}
composer update
in the Terminal'Rahmatawaludin\LaravelNotes\LaravelNotesServiceProvider'
to the laravel providers array in the file app/config/app.php
'providers' => array(
...
'Rahmatawaludin\LaravelNotes\LaravelNotesServiceProvider'
)
Add your comment to file within app
directory begin with @TODO, @FIXME, or @OPTIMIZE.
example:
app/controllers/HomeController.php:
...
// @TODO create different layout
...
app/routes.php
// @FIXME missing controller for router
app/models/User.php
/**
* This is really important
* @OPTIMIZE better looping for this model
* @var string
*/
Then use notes
in terminal to view all notes:
$ php artisan notes
$ php artisan notes todo
$ php artisan notes --extra-filters=foo,bar
$ php artisan notes --include-path=app/views
$ php artisan notes --exclude-path=app/views
Laravel Notes will check your plataform and run grep
of you are on a UNIX system. For Windows users it will use PHP to read and parse files. Non-formal tests have found that grep is 2x faster.
Version | Feature
--- | ---
~~1.0~~ | ~~Basic viewing notes~~
~~1.1~~ | ~~Filter notes by type~~
~~1.2~~ | ~~Filter notes by custom type~~
~~1.3~~ | ~~View notes on specific directory~~
~~1.4~~ | ~~Excludes notes on specific directory~~
~~2.0~~ | ~~Improved lookup~~
2.1 | Add --group-by-file
and --group-by-type
2.2 | Any idea?