-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
…ation-developer into IBX-6404-bundle-extension
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
Check warning on line 1 in docs/administration/project_organization/bundle_extension/upload_packagist.md GitHub Actions / vale[vale] docs/administration/project_organization/bundle_extension/upload_packagist.md#L1
Raw output
|
||
description: Upload created bundle extension to Packagist. | ||
--- | ||
|
||
# Upload bundle to Packagist | ||
|
||
The following section explains how to upload it on the [packagist.org](https://packagist.org/) website. | ||
|
||
1\. Go to the Packagist website. Click submit. | ||
|
||
2\. Provide the repository url to your package, for example, | ||
Check warning on line 11 in docs/administration/project_organization/bundle_extension/upload_packagist.md GitHub Actions / vale[vale] docs/administration/project_organization/bundle_extension/upload_packagist.md#L11
Raw output
|
||
`https://github.com/githubusername/example-3rd-party-extension` | ||
|
||
!!! note | ||
When you add a new feature, you need to create a tag. | ||
Check warning on line 15 in docs/administration/project_organization/bundle_extension/upload_packagist.md GitHub Actions / vale[vale] docs/administration/project_organization/bundle_extension/upload_packagist.md#L15
Raw output
|
||
|
||
|
||
3\. In PHPStorm or other PHP IntelliJ editor, go to commits, Log and create a new tag. | ||
Check warning on line 18 in docs/administration/project_organization/bundle_extension/upload_packagist.md GitHub Actions / vale[vale] docs/administration/project_organization/bundle_extension/upload_packagist.md#L18
Raw output
|
||
|
||
4\. Link your bundle repository with Packagist. | ||
Make sure your repository is set to public. | ||
Each time you add a new feature to your bundle, you need to also add a new tag. | ||
New version will be released on Packagist. | ||
Check warning on line 23 in docs/administration/project_organization/bundle_extension/upload_packagist.md GitHub Actions / vale[vale] docs/administration/project_organization/bundle_extension/upload_packagist.md#L23
Raw output
|
||
|
||
5\. Click the **Check** button to verify the completeness of the bundle. | ||
Check warning on line 25 in docs/administration/project_organization/bundle_extension/upload_packagist.md GitHub Actions / vale[vale] docs/administration/project_organization/bundle_extension/upload_packagist.md#L25
Raw output
|
||
|
||
In `composer.json` in the repositories indicate the type and bundle URL: | ||
|
||
```json | ||
"repositories": { | ||
"ibexa": { | ||
"type": "composer", | ||
"url": "https://updates.ibexa.co" | ||
}, | ||
"acme/currency-exchange-rate":{ | ||
"type": "vcs", | ||
"url": "https://github.com/githubusername/example-3rd-party-extension" | ||
} | ||
} | ||
``` | ||
|
||
Any change in repository immediately affects the other bundle so you can see the changes. |
This file was deleted.