【文件属性】:
文件名称:laravel-invite-codes:此软件包可让您轻松管理Laravel应用程序的邀请代码
文件大小:24KB
文件格式:ZIP
更新时间:2021-02-03 12:49:23
php laravel hacktoberfest invites invite-users
Laravel邀请码
该软件包可让您轻松管理Laravel应用程序的邀请代码。
文献资料
安装
要开始使用Laravel邀请代码,请使用Composer将软件包添加到项目的依赖项中:
composer require mateusjunges/laravel-invite-codes
或在require部分中的composer.json中添加以下行:
{
" require " : {
" mateusjunges/laravel-invite-codes " : " ^1.3 " ,
}
}
然后运行composer install 。
安装laravel邀请代码包后,在config/app.php文件中注册服务提供商:
在Laravel 5.5或更高版本中是可选的
'providers' => [
Junges \ InviteCodes \ InviteCodesServiceProvider ::class,
Junges \ InviteCodes \ InviteCodesEventServiceProvider
【文件预览】:
laravel-invite-codes-master
----.github()
--------ISSUE_TEMPLATE()
--------workflows()
----database()
--------migrations()
----src()
--------Contracts()
--------InviteCodesEventServiceProvider.php(506B)
--------Http()
--------Events()
--------Facades()
--------Exceptions()
--------InviteCodes.php(7KB)
--------Console()
--------InviteCodesServiceProvider.php(2KB)
----config()
--------invite-codes.php(2KB)
----LICENSE(1KB)
----README.md(11KB)
----CHANGELOG.md(838B)
----composer.json(1KB)