> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-881012b3.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.

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
  <span>🇸🇬 Singapore</span>
</div>

<CardGroup cols={2}>
  <Card title="PHP Changelog" href="/docs/payments/changelog#server-sdks">
    Discover new features, updates and deprecations related to the Razorpay PHP SDK (since Jan 2024).
  </Card>

  <Card title="Troubleshooting & FAQs" href="/docs/payments/server-integration/php/troubleshooting-faqs">
    Troubleshoot common error scenarios and find answers to frequently asked questions about Razorpay PHP SDK.
  </Card>
</CardGroup>

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://razorpay.com/support/).

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

### Related Information

[Address Verification System](/docs/payments/international-payments/address-verification-system)
