dev-master
9999999-devfnm package for importing and exporting fnm file.
Afmparse
The Requires
- php >=5.4
The Development Requires
by Indradev Prasad
composer package fnm file grerate
fnm package for importing and exporting fnm file.
FNM package is for creating FNM file from JSON and this package can also be useful for reading fnm file ie Import and export FNM (1003 form)., (*1)
Add package in your composer.json, (*2)
"require": { "others" :"packages", "indradevzapbuild/FNM": "dev-master", }
Create your own json as sample.json, (*3)
<?php require "vendor/autoload.php"; use indradevzapbuild\FNM\FNM; $fnmObj = new FNM(); $get_json = json_decode(file_get_contents('sample.json')); $fnmObj->export($get_json); ?>
Pass created FNM file to it., (*4)
<?php require "vendor/autoload.php"; use indradevzapbuild\FNM\FNM; $fnmObj = new FNM(); $fnmfilepath = dirname(__FILE__).'/sample.fnm'; $arrObj = $fnmObj->import($fnmfilepath); echo "<pre>"; print_r($arrObj); ?>
Please create an issue if you found any trouble., (*5)
fnm package for importing and exporting fnm file.
Afmparse
composer package fnm file grerate