You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-17Lines changed: 23 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,21 +50,21 @@ Basic knowledge of the [Common Gateway](https://github.com/CommonGateway)
50
50
51
51
This template is for rapid Symfony bundle development and meant as a model to base your custom plugin on. Follow the next steps to create your plugin within 45 minutes or less
52
52
53
-
1.Login on [GitHub](https://github.com)
3.Name your Bundle (CamelCase). The bundle needs to end with `Bundle` as per Symfony [naming](https://symfony.com/doc/current/bundles/best_practices.html#bundles-naming-conventions) conventions.
56
-
4.Press the green button `Create repository from template`
57
-
5.Update file names and namespace to your fitting :
53
+
1. Login on [GitHub](https://github.com)
54
+
2. Use [this template](https://github.com/CommonGateway/-HaalCentraalToStufBG/generate)
55
+
3. Name your Bundle (CamelCase). The bundle needs to end with `Bundle` as per Symfony [naming](https://symfony.com/doc/current/bundles/best_practices.html#bundles-naming-conventions) conventions.
56
+
4. Press the green button `Create repository from template`
57
+
5. Update file names and namespace to your fitting :
58
58
59
-
* Open composer.json, and change the name to your fitting. The first word should be the namespace, and the second the bundle's name.
59
+
* Open composer.json, and change the name to your fitting. The first word should be the namespace, and the second the bundle's name.
60
60
61
-
> Note: this is kebab-case. Also read: [naming your package](https://packagist.org/about#naming-your-package)
61
+
> Note: this is kebab-case. Also read: [naming your package](https://packagist.org/about#naming-your-package)
62
62
63
-
* Check the autoload field to be set accordingly.
64
-
* Open PetStoreBundle.php and change the Bundle `name` and `namespace`. The namespace should be the same as your package name in `composer.json` but in CamelCase. So `common-gateway/pet-store-bundle` becomes `CommonGateway/-HaalCentraalToStufBG`
65
-
* Rename the `/Service` and `/ActionHandler` accordingly (or delete if not used).
66
-
* Rename the `/DependencyInjection/PetStoreExtension.php` to your `BundleNameExtension.php`
67
-
* Rename the `/Resources/config/services.yaml` namespaces
63
+
* Check the autoload field to be set accordingly.
64
+
* Open PetStoreBundle.php and change the Bundle `name` and `namespace`. The namespace should be the same as your package name in `composer.json` but in CamelCase. So `common-gateway/pet-store-bundle` becomes `CommonGateway/-HaalCentraalToStufBG`
65
+
* Rename the `/Service` and `/ActionHandler` accordingly (or delete if not used).
66
+
* Rename the `/DependencyInjection/PetStoreExtension.php` to your `BundleNameExtension.php`
67
+
* Rename the `/Resources/config/services.yaml` namespaces
68
68
69
69
### Adding schemas
70
70
@@ -74,17 +74,23 @@ You can add existing schemas or create your own and add them to the`/Schema` fol
74
74
75
75
The following properties are required, and without them, the Gateway won't recognize the schema as valid:
Once you add schemas to the repository, you can also add objects/data for those schemas. There is an example shown in the [`/Data`](https://github.com/CommonGateway/-HaalCentraalToStufBG/tree/main/Data) folder.
0 commit comments