still-code / ar-php-laravel Goto Github PK
View Code? Open in Web Editor NEWprovides a set of tools that enable Arabic website developers to serve professional search, present and process Arabic content in laravel
License: MIT License
provides a set of tools that enable Arabic website developers to serve professional search, present and process Arabic content in laravel
License: MIT License
Hi ,
I have a database with arabic records now i want to search exact word like Words that include
شَهْر
But excluding
شَهْرَيْنِ
Words that include
سَنَة
And
سِنِين
Laravel approach
Verse::where('text','like','%'.$string.'%')->get()
Your Package
Verse::searchAr('text',$string)->get();
your package also giving same result , i mean search for all similar words which contain شَهْر but i want to search where word is only شَهْر
any soultion or suggestion
Avoid too many return
statements within this method.
Hello
I have one question, does it support filament?
thanks
Avoid using static access to class 'AtmCode\ArPhpLaravel\Macroables' in method 'register'.
return Macroables::setSearchOrder($this, $search, $field);
Avoid unused parameters such as '$app'.
protected function overrideApplicationProviders($app)
Avoid unused parameters such as '$app'.
protected function getPackageProviders($app)
Describe the bug
i am using your package to render Arabic text inside images but i found that there is
a word cause error
To Reproduce
Try execute ArPhpLaravel::utf8Glyphs($text)
with this word "للاستكشاف"
Code Example
$result = ArPhpLaravel::utf8Glyphs($result);
Versions:
Error Undefined array key -1
I found that this part للا is the problem
Avoid unused parameters such as '$app'.
protected function getPackageProviders($app)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.