#Installation
- Create a subfolder in the modules/addons folder of your cockpit installation (e.g. Todos).
- Copy the contents of this repository in the subfolder you just created.
- The addon is ready to be used and accessible from within the cockpit admin menu.
#Usage
All query methods available on cockpit collections can be used to query todos.
###Query all todos
$todos = todos()->find()->toArray();
###Query specific todos
$todos = todos()->find(["done" => true])->toArray();