You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New configurable settings to the config file. Developers can now change the primary session key that is used to store the visit history of the users.
Added the SessionHistory class for providing an elegant way of checking and adding new visits into the session of the user.
Integrated the SessionHistory functionality inside the HasPageVisitsCounter trait. Added two methods: addVisitThatExpiresAt( Carbon $expires_at ) and addVisitThatExpiresAtAndCountAll().
The tests/Models/Task model for using inside the TestCases.
The main TestCase base class (tests/TestCase.php).
The first TestCase: VisitVisitableTest with one method it_can_store_new_visits_into_the_database() and.
Changed
Improved the the documentation and project details inside README.md. Updated old code examples.
The directory where phpunit will search for tests inside phpunit.xml. From tests to tests/TestCases.
The namespace from CyrildeWit/.. to Cyrildewit/.. inside Models/PageVisit.php and Traits/HasPageVisitsCounter.php.