Symfony 4 Api Platform Installation


Create a new Symfony Flex project

$ composer create-project symfony/skeleton {project_name}
Create a new Symfony Flex project

Install the API Platform's server component in this skeleton

$ composer req api

Setup Database Connection



Setup Doctrine Configuration



Create / Generate Database and Schema

$ bin/console doctrine:database:create
$ bin/console doctrine:schema:create


Run Server Using Symfony WebServerBundle

$ composer req server --dev
$ bin/console server:run
$ bin/console server:start #background





Installation Result in Browser


Symfony welcome page at http://127.0.0.1:8000/

Api Platorm at  http://127.0.0.1:8000/api



Comments

Popular posts from this blog

Numpang Kerja Remote dari Bandung Creative Hub

Numpang Kerja Remote dari Bandung Digital Valley

Cara Decompile berkas Dex dan Apk Android