PHP code example of tarsisio-xavier / sprompt

1. Go to this page and download the library: Download tarsisio-xavier/sprompt 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/ */

    

tarsisio-xavier / sprompt example snippets




use TarsisioXavier\Sprompt\Sprompt;

);

// Input the name... e.g. Maeve Millay

Sprompt::info("You said that your name is {$name}");

// Output: You said that your name is Maeve Millay