Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/resend/resend-php-example
- Owner: resend
- License: mit
- Created: 2023-06-02T21:51:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-02T21:14:23.000Z (4 months ago)
- Last Synced: 2024-08-02T23:43:27.509Z (4 months ago)
- Language: PHP
- Homepage: https://resend.com/docs/send-with-php
- Size: 6.84 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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