PHP code example of gsferro / odometer-easy

1. Go to this page and download the library: Download gsferro/odometer-easy 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/ */

    

gsferro / odometer-easy example snippets

composer 
composer 
html
    <x-odometer-easy
        value="1000,00"
        format="<veja as opções na documentação oficial abaixo>" 
    />
    
html 
    <span id="{{ $key }}" class="odometer-item {{ $class ?? "" }}" data-value="{{ $value ?? 0 }}">0</span>
    
html 
    <x-odometer-easy value="123.456.789-10" format="(.ddd)-dd" animation="false" />