> Source: https://tomatophp.com/docs/plugins/tomato-api

# ✈ Tomato API

<figure><img src="https://raw.githubusercontent.com/tomatophp/docs/HEAD/../.gitbook/assets/screenshot (31).png" 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.
