Download the PHP package datomon/laravel-mailserve-test without Composer

On this page you can find all versions of the php package datomon/laravel-mailserve-test. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-mailserve-test

關於

(1)此 Laravel 套件是用來在本機快速測試 Laravel 專案的 Mail Server 資訊是否設定正確
(2)未使用 Redis 及 Laravel 的 Queue

版本

Laravel >= 5.5

用法

(1) 安裝套件

composer require datomon/laravel-mailserve-test

(2) 在 .env 檔中,修改 Mail Server 的資訊

MAIL_DRIVER=smtp
MAIL_HOST=Mail Server 的主機位置
MAIL_PORT=port號 (常見的有 25、465、587)
MAIL_USERNAME=Mail Server 的帳號
MAIL_PASSWORD=密碼
MAIL_ENCRYPTION=加密方式 (常見的有 ssl、tls,而若用不加密的 25 port 則填 null 即可)
MAIL_FROM_ADDRESS=寄件人的E-mail
MAIL_FROM_NAME=寄件人的名稱

以 Google 信箱的範例如下

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=你的 gmail 帳號
MAIL_PASSWORD=你的 gmail 帳號之登入密碼
MAIL_ENCRYPTION=tls
[email protected]
MAIL_FROM_NAME=ABC

(3) 寄出測試信

$ php artisan mailserve:send 收件人E-mail 標題 信件內容

例如:
$ php artisan mailserve:send [email protected] 測試標題 這是測試文字

License

MIT license.


All versions of laravel-mailserve-test with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package datomon/laravel-mailserve-test contains the following files

Loading the files please wait ...