Skip to content

Commit

Permalink
Improve instructions of installing package via composer in README file (
Browse files Browse the repository at this point in the history
#592)

Summary:
Improve instructions to install the package via composer

Issue #593

Pull Request resolved: #592

Reviewed By: mengxuanzhangz

Differential Revision: D52914476

Pulled By: stcheng

fbshipit-source-id: 2afb490e89f2968aa27b1d7d52584d0a8ec8e148
  • Loading branch information
adb-simply-static authored and facebook-github-bot committed Jan 19, 2024
1 parent 9ce6056 commit 409e7a3
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,9 @@ The Facebook Business SDK requires PHP 8.0 or greater.

The Facebook Business SDK uses composer to manage dependencies. Visit the <a href="https://getcomposer.org/download/" target="_blank">composer documentation</a> to learn how to install composer.

Add the following to your `composer.json` file:

```json
{
"require": {
"facebook/php-business-sdk": "16.0.*"
}
}
```
then install it through composer:

Execute the command below in your project root:
```shell
php composer.phar install --no-dev
composer require facebook/php-business-sdk
```

This SDK and its dependencies will be installed under `./vendor`.
Expand Down

0 comments on commit 409e7a3

Please sign in to comment.