deesynertz/laravel-visitor

v1.1.1 2024-03-26 10:36 UTC

This package is auto-updated.

Last update: 2024-04-27 10:14:35 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.