【文件属性】:
文件名称:laravel-users-online:在Laravel应用程序中在线显示用户
文件大小:31KB
文件格式:ZIP
更新时间:2021-05-04 01:59:20
PHP
Laravel用户在线
Laravel兼容性
Laravel
包裹
6.xx
3.0.x
5.8.x
3.0.x
5.7.x
2.3.x
5.6.x
2.3.x
5.5.x
2.3.x
5.4.x
2.2.x
5.3.x
2.0.x
5.2.x
1.0.x
安装方式
在您的composer.json文件中添加新的必需包
"highideas/laravel-users-online": "^3.0"
运行composer update或php composer.phar update 。
或直接通过作曲家安装
composer require highideas/laravel-users-online
在composer命令之后,将特征添加到app/User.php中的模型User中:
class User extends Authenticatable
【文件预览】:
laravel-users-online-master
----.gitignore(60B)
----README.md(3KB)
----CHANGELOG.md(1KB)
----tests()
--------UsersOnlineTest.php(3KB)
--------UsersOnlineListenersTests.php(3KB)
--------TestCase.php(1KB)
----instructions()
--------5.5-7.md(2KB)
--------5.4.md(1KB)
--------5.2.md(1KB)
--------5.3.md(1KB)
----phpunit.xml(1KB)
----composer.lock(154KB)
----composer.json(1KB)
----src()
--------Listeners()
--------UsersOnlineServiceProvider.php(397B)
--------Traits()
--------Providers()
----.travis.yml(774B)