Installation
Composer Installation
The only thing you have to do is to run this command, and you're ready to go.
composer require michalsn/codeigniter-translatable
Manual Installation
In the example below we will assume that files from this project will be located in app/ThirdParty/translatable
directory.
Download this project and then enable it by editing the app/Config/Autoload.php
file and adding the Michalsn\CodeIgniterTranslatable
namespace to the $psr4
array, like in the below example:
<?php
// ...
public $psr4 = [
APP_NAMESPACE => APPPATH, // For custom app namespace
'Michalsn\CodeIgniterTranslatable' => APPPATH . 'ThirdParty/translatable/src',
];
// ...