Entity

Create new entity

composer require orm

add to .env
DATABASE_URL="mysql://root:@127.0.0.1:3306/sym?serverVersion=8&charset=utf8mb4"
php bin/console make:entity

will be created

entity:  created: src/Entity/BookProduct.php
connection with database: created: src/Repository/BookProductRepository.

Create CRUD

php bin/console make:crud BookProduct

will be created

created: src/Controller/BookProductController.php
created: src/Form/BookProductType.php
created: templates/book_product/_delete_form.html.twig
created: templates/book_product/_form.html.twig
created: templates/book_product/edit.html.twig
created: templates/book_product/index.html.twig
created: templates/book_product/new.html.twig
created: templates/book_product/show.html.twig
created: tests/Controller/BookProductControllerTest.php