PHPackages                             nhanchaukp/tempmail-edu-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nhanchaukp/tempmail-edu-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nhanchaukp/tempmail-edu-php
===========================

PHP SDK for TempMail.Id.Vn API (edu)

v1.0.0(6mo ago)00MITPHPPHP &gt;=8.0

Since Nov 10Pushed 6mo agoCompare

[ Source](https://github.com/nhanchaukp/tempmail-edu-php)[ Packagist](https://packagist.org/packages/nhanchaukp/tempmail-edu-php)[ RSS](/packages/nhanchaukp-tempmail-edu-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Tempmail Edu PHP SDK (nhanchaukp/tempmail-edu-php)
==================================================

[](#tempmail-edu-php-sdk-nhanchaukptempmail-edu-php)

A lightweight PHP SDK for TempMail.Id.Vn API to make integration simple and composer-installable.

Yêu cầu:

- PHP 8.0+
- Composer

Cài đặt:

```
composer require nhanchaukp/tempmail-edu-php
```

Nếu bạn muốn dùng .env để cung cấp access token (không cần gọi login):

1. Cài phpdotenv (nếu chưa có):

```
composer require vlucas/phpdotenv
```

2. Tạo file `.env` trong project của bạn (ví dụ copy .env.example):

```
TEMPMail_ACCESS_TOKEN=your_access_token_here

```

3. Trong mã ứng dụng, trước khi tạo client, load .env:

```
