Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hantsy/symfony-rest-sample
- Owner: hantsy
- License: gpl-3.0
- Created: 2020-12-09T05:26:26.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-08T16:41:05.000Z (about 1 month ago)
- Last Synced: 2024-10-10T18:44:00.419Z (28 days ago)
- Topics: doctrine, php8, postgresql, rest-api, symfony
- Language: PHP
- Homepage: https://hantsy.github.io/symfony-rest-sample/
- Size: 1.95 MB
- Stars: 49
- Watchers: 3
- Forks: 11
- Open Issues: 4
-
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.
## 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)