PHPackages                             mms80/todo-api - 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. [API Development](/categories/api)
4. /
5. mms80/todo-api

ActiveLibrary[API Development](/categories/api)

mms80/todo-api
==============

todo api

03PHP

Since Jul 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mms80/todo-api)[ Packagist](https://packagist.org/packages/mms80/todo-api)[ RSS](/packages/mms80-todo-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

todo-api
========

[](#todo-api)

This project is defined for Laravel to design a project-independent package that adds the Todo ability to the main project. At the end, after copying your package files to the main project and adding it to composer , your package is expected to connect to the main project and enable the Todo feature for that project.

Installation
============

[](#installation)

```
  composer require mms80/todo-api

```

requires
--------

[](#requires)

- PHP ^7.4
- Laravel ^7.x

environments
------------

[](#environments)

- [mailtrap](https://mailtrap.io/)

Documentation
=============

[](#documentation)

- To create tables in the database :

    ```
      php artisan migrate

    ```
- Create a user in database.
- All requests must include the "Authorization" parameter in the header (Authorization value is an Bearer TOKEN) .
- Config "mailtrap" environments in ".env" file.

### task api :

[](#task-api-)

- To show all tasks of the logged in user :

    ```
      GET "/tasks"

    ```
- To create a task :

    ```
      POST "/tasks" -d {"title":"foo","description":"bar","labels --optional":["label1","label2"]}

    ```
- To show a task :

    ```
      GET "/tasks/{id}"

    ```
- To edit a task :

    ```
      PUT "/tasks/{id}" -d {"title --optional":"foo" , "description --optional":"bar" , "status --optional":"1 || 2" , "labels --optional":["label1","label2"] , "detaching --optional":true}

    ```

    **When the "status" is "1" , the task is open and when the "status" is "2" , the task is closed.**

    **"detaching" is an optional parameter . When it is true , new labels are added to the task and old labels are removed, and when it is false , new labels are added to old task labels (It is false by default).**

### label api :

[](#label-api-)

- To Show all labels :

    ```
      GET "/labels"

    ```
- To create a label :

    ```
      POST "/labels" -d {"title --unique":"foo"}

    ```

Test
====

[](#test)

in the package folder path :

```
composer update
composer run test

```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e835323882b8cefded46fa61b6c6ae8eb3e5c0c3ac85e4eeb6a56e9df3185257?d=identicon)[mms80](/maintainers/mms80)

---

Top Contributors

[![mms80](https://avatars.githubusercontent.com/u/46449799?v=4)](https://github.com/mms80 "mms80 (5 commits)")

### Embed Badge

![Health badge](/badges/mms80-todo-api/health.svg)

```
[![Health](https://phpackages.com/badges/mms80-todo-api/health.svg)](https://phpackages.com/packages/mms80-todo-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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