<?php namespace Pingpong\Admin\Observers;

class VisitorObserver {

    /**
     * Handle the specified event.
     *
     * @return void
     */
    public function handle()
    {
        $isOnAdmin = Request::is('admin') || Request::is('admin/*');

        if ( ! $isOnAdmin) Visitor::track();
    }

} 
<?php namespace Pingpong\Admin\Observers;

use Pingpong\Admin\Entities\Visitor;
use Illuminate\Support\Facades\Request;

class VisitorObserver {

    /**
     * Handle the specified event.
     *
     * @return void
     */
    public function handle()
    {
        $isOnAdmin = Request::is('admin') || Request::is('admin/*');

        if ( ! $isOnAdmin) Visitor::track();
    }

} 
Fix Visitor class not found
Fix Visitor class not found
