PHPackages                             yauhenko/rest-bundle - 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. yauhenko/rest-bundle

ActiveSymfony-bundle[API Development](/categories/api)

yauhenko/rest-bundle
====================

REST and TypeScript generator for Symfony 6

0.9.1(3y ago)01.1kMITPHPPHP ^8.1

Since Mar 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yauhenko/rest-bundle)[ Packagist](https://packagist.org/packages/yauhenko/rest-bundle)[ RSS](/packages/yauhenko-rest-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (7)Versions (30)Used By (0)

Install
-------

[](#install)

**Step 1: Run**

```
composer req yauhenko/rest-bundle
```

**Step 2: Add to `config/routes/annotations.yaml` two lines:**

```
rest_bundle:
    resource: '@RestBundle/config/routes.yaml'
```

It will register `/docs` routes

**Step 3: Create Types class in `src/Types.php`:**

```
