PHP code example of hirasso / attr

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

    

hirasso / attr example snippets


 /** Example: render a button with custom classes and styles */  

 /** Example: render an x-data attribute for Alpine.js */