PHP code example of forest-lynx / moonshine-input-extension-calculator

1. Go to this page and download the library: Download forest-lynx/moonshine-input-extension-calculator 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/ */

    

forest-lynx / moonshine-input-extension-calculator example snippets



//...
use ForestLynx\MoonShine\InputExtensions\Calculator;
//...
Text::make('Price')
    ->extension(new Calculator());
//or
Text::make('Price')
    ->extension(new Calculator(isKeyboard: false));