Skip to content

Commit

Permalink
Merge pull request #16 from omarxp/master
Browse files Browse the repository at this point in the history
update readme and version
  • Loading branch information
omarxp committed Aug 26, 2021
2 parents eb9b1a7 + 6bed337 commit c61d4ba
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
Binary file removed .DS_Store
Binary file not shown.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Let your Drupal Commerce 2 store integrated with Midtrans payment gateway.
This is the official Midtrans extension for the Drupal Commerce 2 E-commerce platform.

### Version
2.0.0
2.0.1
(for Drupal v8.x and Drupal v9.x)

### Requirements
Expand All @@ -20,25 +20,28 @@ The following plugin is tested under following environment:
* [Drupal Commerce 8.x-2.xx ](http://www.drupal.org/project/commerce)

#### Composer Installation
If you are using [Composer](https://getcomposer.org), you can install via composer CLI:
If you are using [Composer](https://getcomposer.org), you can install via composer CLI
By default, composer.json in drupal site only add drupal repository, because this plugin store in github, you need add this require line to your `composer.json` file:

```json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/midtrans/midtrans-drupal8"
}
]
```
composer require midtrans/midtrans-drupal8
```

**or**

add this require line to your `composer.json` file:
run: `composer require midtrans/midtrans-drupal8` on your terminal.

or
```json
{
"require": {
"midtrans/midtrans-drupal8": "2.0.0"
"midtrans/midtrans-drupal8": "2.0.1"
}
}
```

and run `composer update` on your terminal.
run `composer update` on your terminal.

#### Manual Instalation
The manual installation method involves downloading our feature-rich plugin and uploading it to your webserver via your favourite FTP application.
Expand Down
2 changes: 1 addition & 1 deletion commerce_midtrans.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package: Commerce (contrib)
dependencies:
- commerce:commerce_payment
# Information
version: '2.0.0'
version: '2.0.1'
core: '8.x'
core_version_requirement: ^8 || ^9
project: 'commerce_midtrans'
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "midtrans/midtrans-drupal8",
"description": "The official Midtrans extension for the Drupal Commerce 2",
"homepage": "https://midtrans.com",
"version": "2.0.0",
"version": "2.0.1",
"type": "drupal-module",
"license":"MIT",
"require": {
Expand Down

0 comments on commit c61d4ba

Please sign in to comment.