Skip to content

Commit

Permalink
BAP-21548: Boilerplate code generation (#33688)
Browse files Browse the repository at this point in the history
Implemented initial code generation based on provided configuration for:
- Bundle
- Doctrine Entities
- Validation Configuration
- Translations
- Data Grids
- Configure Search
- Add ACLs
- Form Types
- CreateOrSelect form types with select grid
- Controllers (CRUD)
- Ability to add toMany relation with UI
- Actions (actions.yml)
- Navigation
- API
- Import Export
- Import Export of collections

Co-authored-by: Kateryna Isakova <[email protected]>
Co-authored-by: Andrey Yatsenko <[email protected]>
  • Loading branch information
3 people authored Nov 1, 2022
1 parent 942f7d6 commit c39def9
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
"oro/twig-inspector": "1.0.*",
"oro/commerce-documentation-examples": "5.0.x-dev",
"oro/crm-documentation-examples": "5.0.x-dev",
"oro/platform-documentation-examples": "5.0.x-dev"
"oro/platform-documentation-examples": "5.0.x-dev",
"oro/maker": "5.0.x-dev"
},
"config": {
"bin-dir": "bin",
Expand Down
133 changes: 131 additions & 2 deletions dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "bfe5c3be89de3e6f3d00c4d3845ce767",
"content-hash": "6f7f0b8ca0b04007ddac7783e800711b",
"packages": [
{
"name": "ass/xmlsecurity",
Expand Down Expand Up @@ -17543,6 +17543,46 @@
"relative": true
}
},
{
"name": "oro/maker",
"version": "dev-master",
"dist": {
"type": "path",
"url": "../../package/maker",
"reference": "1b8e35cd89d8b5fa6ae81fab2f2522c914b31bb3"
},
"require": {
"oro/platform": "5.0.*",
"symfony/maker-bundle": "1.39"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "5.0-dev"
}
},
"autoload": {
"psr-4": {
"Oro\\Bundle\\MakerBundle\\": "src/Oro/Bundle/MakerBundle"
},
"exclude-from-classmap": [
"/Tests/"
]
},
"license": [
"OSL-3.0"
],
"authors": [
{
"name": "Oro, Inc",
"homepage": "https://www.orocommerce.com"
}
],
"description": "Code generation/makers for Oro platform",
"transport-options": {
"relative": true
}
},
{
"name": "oro/platform-documentation-examples",
"version": "dev-master",
Expand Down Expand Up @@ -19798,6 +19838,94 @@
],
"time": "2022-08-03T13:09:21+00:00"
},
{
"name": "symfony/maker-bundle",
"version": "v1.39.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/maker-bundle.git",
"reference": "f2b99ba44e22a44fcf724affa53b5539b25fde90"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/maker-bundle/zipball/f2b99ba44e22a44fcf724affa53b5539b25fde90",
"reference": "f2b99ba44e22a44fcf724affa53b5539b25fde90",
"shasum": ""
},
"require": {
"doctrine/inflector": "^1.2|^2.0",
"nikic/php-parser": "^4.11",
"php": ">=7.1.3",
"symfony/config": "^4.4|^5.0|^6.0",
"symfony/console": "^4.4|^5.0|^6.0",
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
"symfony/deprecation-contracts": "^2.2|^3",
"symfony/filesystem": "^4.4|^5.0|^6.0",
"symfony/finder": "^4.4|^5.0|^6.0",
"symfony/framework-bundle": "^4.4|^5.0|^6.0",
"symfony/http-kernel": "^4.4|^5.0|^6.0"
},
"require-dev": {
"composer/semver": "^3.0",
"doctrine/doctrine-bundle": "^1.12.3|^2.0",
"doctrine/orm": "^2.3",
"symfony/http-client": "^4.4|^5.0|^6.0",
"symfony/phpunit-bridge": "^4.4|^5.0|^6.0",
"symfony/polyfill-php80": "^1.16.0",
"symfony/process": "^4.4|^5.0|^6.0",
"symfony/security-core": "^4.4|^5.0|^6.0",
"symfony/yaml": "^4.4|^5.0|^6.0",
"twig/twig": "^2.0|^3.0"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-main": "1.0-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Bundle\\MakerBundle\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.",
"homepage": "https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html",
"keywords": [
"code generator",
"generator",
"scaffold",
"scaffolding"
],
"support": {
"issues": "https://github.com/symfony/maker-bundle/issues",
"source": "https://github.com/symfony/maker-bundle/tree/v1.39.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-04-21T18:16:11+00:00"
},
{
"name": "symfony/phpunit-bridge",
"version": "v5.4.14",
Expand Down Expand Up @@ -20130,7 +20258,8 @@
"oro/commerce-demo-checkouts": 20,
"oro/commerce-documentation-examples": 20,
"oro/crm-documentation-examples": 20,
"oro/platform-documentation-examples": 20
"oro/platform-documentation-examples": 20,
"oro/maker": 20
},
"prefer-stable": true,
"prefer-lowest": false,
Expand Down

0 comments on commit c39def9

Please sign in to comment.