Looking to hire Laravel developers? Try LaraJobs

laravel-visitor maintained by deesynertz

Description
laravel-visitor
Last update
2024/03/27 10:51 (dev-master)
License
Downloads
29

Comments
comments powered by Disqus

deesynertz/laravel-visitor

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.