deesynertz / laravel-visitor
laravel-visitor
v1.1.1
2024-03-26 10:36 UTC
Requires
- php: >=5.5.0
- illuminate/session: >=5.2.7
- illuminate/support: >=5.2.7
- simplesoftwareio/simple-qrcode: ~4
This package is auto-updated.
Last update: 2024-10-27 11:10:10 UTC
README
Features
Installation
Using Composer run
composer require deesynertz/laravel-visitor
Laravel >= 5.5
That's it! The package is auto-discovered on 5.5 and up!
Laravel <= 5.4
Add the service provider to the providers
array in your config/app.php
file:
'providers' => [ // Other Laravel service providers... /* * Package Service Providers... */ Deesynertz\Visitor\VisitorServiceProvider::class, // Other package service providers... ],
Usage
after Visitor wants to leave the building must sign out so that action will be facilitated by helper function
updateEndingAttr()
to change the ending time
add HasVistors
Contributions
Contributions and feedback are welcome! Feel free to open an issue or submit a pull request on GitHub.
License
This package is open-source software licensed under the MIT license.