Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hantsy/symfony-rest-sample

Symfony REST Example
https://github.com/hantsy/symfony-rest-sample

doctrine php8 postgresql rest-api symfony

Last synced: 12 days ago
JSON representation

Symfony REST Example

Awesome Lists containing this project

README

        

# Symfony Sample

Building Symfony RESTful APIs using the latest Symfony, Doctrine, PHPUnit, etc.

## Docs

Go to the [online docs](https://hantsy.github.io/symfony-rest-sample/) to read the step-by-step guide.

## Build

Start a Postgres database.

```
docker compose up postgres
```

Run the application

```
symfony server:start
```

## Resources

* [Symfony Reference Document](https://symfony.com/doc/current/index.html)
* [New in Symfony 5.4: PHP Enumerations Support](https://symfony.com/blog/new-in-symfony-5-4-php-enumerations-support)
* [New Release: Doctrine ORM 2.11 with Enums, Virtual Columns, Read-Only Properties, Nested Attributes and more](https://www.doctrine-project.org/2022/01/11/orm-2.11.html)
* [Backed enumerations](https://www.php.net/manual/en/language.enumerations.backed.php)
* [PHP.watch: PHP 8.1 Enums](https://php.watch/versions/8.1/enums)
* [Stitcher.io: PHP 8.1 Enums](https://stitcher.io/blog/php-enums)