This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
Ace editor mode get by file extension
v1.0.0 2018-06-27 09:42 UTC
Example How to use:
$fileInfo = pathinfo($filePath); // Path to the file// $aceEditorMode = new \LinkORB\Ace\AceEditorMode(); $aceMode = $aceEditorMode->getAceMode($fileInfo['extension']); echo $aceMode;
Please refer to
examples/ for examples.
MIT (see LICENSE.md)
Check out our other projects at linkorb.com/engineering.
Btw, we're hiring!