Introduction
Laravisit by @ousid is a package to keep track of your pages & understand your audience, by providing a helpful API methods, easy to implement, and easy to use.
Prerequisite
You need to know the following:
- Need to know PHP
- Basics on Laravel & the artisan command Laravel
- Basics on composer [Composer][https://getcomposer.org]
Why this package?
If you want to keep track of your pages visits, and understand your audience (users), this package is built for you, to save you time and make your development experience simpler.
Installation
You can install the package via composer:
composer require coderflexx/laravisit
You can publish the config file with:
vendor:publish --provider="Coderflex\\Laravisit\\LaravisitServiceProvider"
then, run database migration
php artisan migrate
This is the contents of the published config file:
return [
/*
|--------------------------------------------------------------------------
| User Namespace
|--------------------------------------------------------------------------
|
| This value informs Laravist which namespace you will be
| selecting to get the user model instance
| If this value equals to null, "\Coderflex\Laravisit\Models\User" will be used
| by default.
|
*/
'user_namespace' => "\Coderflex\Laravisit\Models\User",
];
Usage
See more details and use cases on the package docs page.
Changelog
You can follow the changes on this package by accessing the changelog or the releases
Contributing
If you want to contribute, feel free to read the CONTRIBUTING guidelines, and make your PR
Conclusion
Today we s learned about Laravisit package, and how to use it. To make our development process easier and save us time.
Top comments (0)