> For the complete documentation index, see [llms.txt](https://docs.tomatophp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tomatophp.com/plugins/tomato-api.md).

# Tomato API

<figure><img src="/files/po5VkurTCTl6Z553glAL" alt=""><figcaption></figcaption></figure>

### Installation

```
composer require tomatophp/tomato-api
```

after installation run this command

```
php artisan tomato-api:install
```

### Using

you can generate a new API CRUD with this command

```
php artisan tomato:api
```

it will ask you about the table name and module name if you like to use the HMVC arch

### Changelog

Please see [CHANGELOG](https://github.com/tomatophp/tomato-api/blob/master/CHANGELOG.md) for more information on what has changed recently.

### Security

Please see [SECURITY](https://github.com/tomatophp/tomato-api/blob/master/SECURITY.md) for more information about security.

### Credits

* [Fady Mondy](https://github.com/3x1io)
* [Ahmed Bana](https://github.com/Ahmed-Elbanna-Git)

### License

The MIT License (MIT). Please see [License File](https://github.com/tomatophp/tomato-api/blob/master/LICENSE.md) for more information.
