Skip to content

AMarwen/PhpAlgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Gitter

Php Algo is a library that consist of a single file that contain a set of functions that will do a Complex things for you and return a simple to understand result.just with a simple function Call.

php has a lot of built in functions but sometimes we need a function that did a custom thing that php built in function can't , so bottomline : if you search for a function that do a specific thing for you , you may found it in this library:

for ex axample we suppose that we we want to highlight a specific string in syntax to do so we can call a simple function which will do that for us instead of losing our time writing one from scratch :

in the Example below the function will search for each instance of php in php and the php World, yahoo with php . then it will highlight it using the highlightClass class :

echo PhpAlgo\CSS\highlightMatches("php","php and the php World, yahoo with php .",'highlightClass');}

Output :

phpAlgo_1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages