ramiz/contact
最新稳定版本:v1.0.6
Composer 安装命令:
composer require ramiz/contact
包简介
this is contact admin package using this package user can send mail to admin
README 文档
README
The Contact Admin Package is a simple Laravel package that provides functionality to manage contact messages, including name, email, and message fields. It allows you to easily collect and manage contact information from users on your website.
Features
- Capture and store contact messages from users.
- Easily configure receiver email address for contact messages.
- Seamless integration with Laravel's mail system.
Installation
To get started with the Contact Admin Package, follow these steps:
-
Install the Package: Install the package using Composer:
composer require ramiz/contact
-
Set Mail Credentials: Add your mail credentials to your
.envfile to ensure the package can send email notifications:MAIL_MAILER=smtp MAIL_HOST=smtp.example.com MAIL_PORT=587 MAIL_USERNAME=your_username MAIL_PASSWORD=your_password MAIL_ENCRYPTION=tls
-
Configure Receiver Email: Set the receiver email address for contact messages in the
config.contactfile located in your Laravel project'sconfigdirectory. -
Publish Configuration: Publish the package's configuration files:
php artisan vendor:publish --provider="Ramiz\Contact\ContactServiceProvider"
-
Run Migrations: Run the database migrations to create the necessary tables:
php artisan migrate
Usage
Once the package is installed and configured, you can easily manage contact messages through the provided routes and views. Access the contact admin panel by navigating to /contact in your browser.
License
This package is open-source software licensed under the MIT License.
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-08