# Contribute

## Fork

1. Open https://github.com/friendsofhyperf/components
2. Click "Fork"

## Clone

```shell
git clone https://github.com/<your-github-account>/components
cd components
git remote add upstream 'https://github.com/friendsofhyperf/components'
```

## Create feature branch

```shell
git checkout -b feature/my-feature
```

## Rebase

```shell
git fetch upstream
git rebase upstream/3.x
```

## Push commit

```shell
git add .
git commit
git push origin my-feature
```

## Create pull request

1. Open https://github.com/friendsofhyperf/components

2. Click "Compare & pull request"
