> ## Documentation Index
> Fetch the complete documentation index at: https://doc-test-my.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PHP Server SDK Prerequisites

> Check the prerequisites before you integrate with Razorpay PHP server-side SDK.

Integrate the Razorpay PHP SDK with your PHP-based website to accept payments, initiate refunds and much more.

## Dependencies

You must use PHP v8.3 or higher. Know more about the [latest PHP versions](https://www.php.net/supported-versions.php).

## Installation

You can either download the file or run a composer command to install the Razorpay PHP SDK.

<Tabs>
  <Tab title="Download the File">
    Download the latest [razorpay-php.zip file](https://github.com/razorpay/razorpay-php/releases/) from the releases section on GitHub. The razorpay-php.zip is pre-compiled to include all dependencies.
  </Tab>

  <Tab title="Use Composer Command">
    You can install Razorpay using a composer command. Run the below command on your Composer: Unzip the SDK file and include the Razorpay.php file in your project.

    <CodeGroup>
      ```php Install using Composer theme={null}
      composer require razorpay/razorpay:2.*
      ```
    </CodeGroup>
  </Tab>
</Tabs>

<CardGroup cols={3}>
  <Card title="Payment Gateway" href="/docs/payments/server-integration/php/integration-steps#integrate-with-razorpay-payment-gateway">
    Integrate with Razorpay Payment Gateway.
  </Card>

  <Card title="API Sample Codes" href="https://github.com/razorpay/razorpay-php/tree/master/documents">
    Integrate using API sample codes.
  </Card>

  <Card title="Other Razorpay Products" href="/docs/payments/server-integration/php/integration-steps#integrate-with-other-razorpay-products">
    Integrate with other Razorpay products.
  </Card>
</CardGroup>

## Support

* **Queries**: If you have queries, [contact support](https://curlec.com/support/).

* **Feature Request**: If you have a feature request, [create an issue on GitHub](https://github.com/razorpay/razorpay-php/issues/new).
