### Start Docker Container Source: https://github.com/beccha/ofxparser/blob/master/README.md Start and build a Docker container with PHP 7.4 for development. ```sh make start ``` -------------------------------- ### Install Composer Dependencies Source: https://github.com/beccha/ofxparser/blob/master/README.md Deploy Composer packages within the Docker environment. ```sh make init ``` -------------------------------- ### Install OFX Parser with Composer Source: https://github.com/beccha/ofxparser/blob/master/README.md Use Composer to require the OFX Parser package for your PHP project. ```sh $ composer require beccha/ofxparser ``` -------------------------------- ### Launch Unit Tests Source: https://github.com/beccha/ofxparser/blob/master/README.md Execute unit tests for the OFX Parser library. ```sh make unit ``` -------------------------------- ### Load and Parse OFX File Source: https://github.com/beccha/ofxparser/blob/master/README.md Instantiate the OFX Parser and load an OFX file from the specified path. Access bank accounts, statement dates, and transactions from the parsed object. ```php $ofxParser = new \Beccha\OfxParser\Parser(); $ofx = $ofxParser->loadFromFile('/path/to/your/bankstatement.ofx'); $bankAccounts = $ofx->getBankAccounts(); $firstBankAccount = $bankAccounts[0]; // Get the statement start and end dates $startDate = $firstBankAccount->getStatement()->getStartDate(); $endDate = $firstBankAccount->getStatement()->getEndDate(); // Get the statement transactions for the account $transactions = $firstBankAccount->getStatement()->getTransactions(); ``` -------------------------------- ### Run Quality Checks Source: https://github.com/beccha/ofxparser/blob/master/README.md Check the quality of your code before submitting a pull request using the provided Makefile command. ```sh make quality-check ``` -------------------------------- ### Clone OFX Parser Repository Source: https://github.com/beccha/ofxparser/blob/master/README.md Clone the OFX Parser project from GitHub to your local system. ```sh git clone https://github.com/beccha/ofxparser.git ``` -------------------------------- ### Access Docker Shell Source: https://github.com/beccha/ofxparser/blob/master/README.md Access the shell of the running Docker container for development tasks. ```sh make shell ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.