1. Go to this page and download the library: Download goodm4ven/arabicable 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/ */
goodm4ven / arabicable example snippets
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
Schema::create('notes', function (Blueprint $table): void {
$table->id();
$table->arabicText('content');
$table->timestamps();
});
use GoodMaven\Arabicable\Traits\Arabicable;
use Illuminate\Database\Eloquent\Model;
class Note extends Model
{
use Arabicable;
protected $fillable = ['content'];
}