PHP code example of sbkinfo / languable

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

    

sbkinfo / languable example snippets



'providers' => array(

	SBKInfo\Languages\Provider::class,

)



class HomeController extends Controller{

	use SBKInfo\Languages\Languable;

}



public function __construct(){

	$translate = $this->translate();

}



public function __construct(){

	$translate = $this->translate('your-path');

}