Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/resend/resend-php-example

This example shows how to use Resend with PHP
https://github.com/resend/resend-php-example

Last synced: 5 days ago
JSON representation

This example shows how to use Resend with PHP

Awesome Lists containing this project

README

        

# Resend with PHP

This example shows how to use Resend with [PHP](https://www.php.net).

## Prerequisites

To get the most out of this guide, you’ll need to:

* [Create an API key](https://resend.com/api-keys)
* [Verify your domain](https://resend.com/domains)

## Instructions

1. Replace `re_123456789` on `index.php` with your API key.

2. Install dependencies:

```bash
composer install
```

3. Execute the following command:

```bash
php -S 127.0.0.1:8000
```

4. Open URL in the browser:

```
localhost:8000
```

## License

MIT License