kesavanm / kural-piem
A mini lib to handle kurals
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kesavanm/kural-piem
Requires
- php: >=7.2
README
π'em - PIEM ( PI + POEM)
Trying to find a PIEM in தமிழ் திருக்குறள்.
Installation
- Can be used as standalone script
- As a dependency using
composer(tested using v2)-
Alternatively you can create a
composer.jsonwith the following$bat composer.json ────┬────────────────────────────────────────── │ File: composer.json ────┼────────────────────────────────────────── 1 │ { 2 │ "require": { 3 │ "kesavanm/kural-piem": "^1.0" 4 │ } 5 │ } ────┴──────────────────────────────────────────
and later execute
composer updateto install
Outcome
-
Live result: Sample usage of Kural page from
https://kesavan.infoSource avail here.
-
Standalone execution may similar to:
$php sample-kural.php வெற்றி! இந்த பாடல் பையம் (#PIEM) : உள்ளீடு: ==========>கவிதை நீ ஆகிறாய் பை, கண்டதும் காதல்தூண்டிவிடும் மாறா மாறிலிநீயடி<========== Array ( [0] => 3 : கவிதை [1] => 1 : நீ [2] => 4 : ஆகிறாய் [3] => 1 : பை [4] => 5 : கண்டதும் [5] => 9 : காதல்தூண்டிவிடும் [6] => 2 : மாறா [7] => 6 : மாறிலிநீயடி )

