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: 5 months ago
JSON representation
Symfony REST Example
- Host: GitHub
- URL: https://github.com/hantsy/symfony-rest-sample
- Owner: hantsy
- License: gpl-3.0
- Created: 2020-12-09T05:26:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-05-06T08:48:37.000Z (5 months ago)
- Last Synced: 2025-05-06T09:48:01.594Z (5 months ago)
- Topics: doctrine, php8, postgresql, rest-api, symfony
- Language: PHP
- Homepage: https://hantsy.github.io/symfony-rest-sample/
- Size: 2.2 MB
- Stars: 51
- Watchers: 3
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Symfony Sample
Building Symfony RESTful APIs using the latest Symfony, Doctrine, PHPUnit, etc.
[](https://github.com/hantsy/symfony-rest-sample/actions/workflows/build.yml)
## 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)