PHP code example of chapdel / laravel-tel-input

1. Go to this page and download the library: Download chapdel/laravel-tel-input 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/ */

    

chapdel / laravel-tel-input example snippets


  class ContactPage extends Component
  {
      public $showQuickContactForm = false;

      public function toggleQuickContactForm()
      {
          $this->showQuickContactForm = !$this->showQuickContactForm;

          if ($this->showQuickContactForm) {
              $this->dispatchBrowserEvent('telDOMChanged');
          }
      }
      //...
  }