PHP code example of mohamedhabibwork / awt

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

    

mohamedhabibwork / awt example snippets


// Generate translation file based in current app locale 
 awtTrans('Hello World !')


mkhdev\AWT\AWTServiceProvider::class,

php artisan vendor:publish --provider=mkhdev\AWT\AWTServiceProvider

 awtTrans('Hello World !')

 {{awtTrans('Hello World !')}}

 @awt('Hello World !')

awtTrans('Hello World !', 'ar')
{{awtTrans('Hello World !', 'ar')}}
@awt('Hello World !', 'ar')