PHP code example of lotharthesavior / livewire-hubspot
1. Go to this page and download the library: Download lotharthesavior/livewire-hubspot library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lotharthesavior / livewire-hubspot example snippets
@livewire('hubspot-tracking-code', [
[
'team' => auth()->user()->currentTeam->name,
'firstname' => auth()->user()->name,
'phone' => auth()->user()->currentTeam->phone,
],
])
@livewire('hubspot-tracking-code')
shell
php artisan vendor:publish --tag=livewire-hubspot-config