PHPackages                             shahariaazam/bd-stock-exchange - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. shahariaazam/bd-stock-exchange

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shahariaazam/bd-stock-exchange
==============================

Bangladeshi stock exchange (share market) stock price data fetch with PHP. Get Dhaka Stock Exchange (DSE) and Chittagong Stock Exchange (CSE) stock price data

4.0.0(5y ago)328820[2 issues](https://github.com/shahariaazam/dse-share-market-update/issues)MITHTML

Since Jul 8Pushed 5y ago4 watchersCompare

[ Source](https://github.com/shahariaazam/dse-share-market-update)[ Packagist](https://packagist.org/packages/shahariaazam/bd-stock-exchange)[ RSS](/packages/shahariaazam-bd-stock-exchange/feed)WikiDiscussions development Synced yesterday

READMEChangelog (5)Dependencies (9)Versions (7)Used By (0)

[![Code Checks](https://github.com/shahariaazam/DSE-Share-Market-Update/workflows/Code-Checks/badge.svg)](https://github.com/shahariaazam/DSE-Share-Market-Update/workflows/Code-Checks/badge.svg)[![Build](https://camo.githubusercontent.com/fa1b4583aa3b608d8ff1e51c9fd346f2ee26ed04892e34084ee06830564898bf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f4453452d53686172652d4d61726b65742d5570646174652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://camo.githubusercontent.com/fa1b4583aa3b608d8ff1e51c9fd346f2ee26ed04892e34084ee06830564898bf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f4453452d53686172652d4d61726b65742d5570646174652f6261646765732f6275696c642e706e673f623d6d6173746572)[![Code Coverage](https://camo.githubusercontent.com/058b349336b82ad3c9230c42d3ae1c9bdc96da194b0c6f9cfdf0713f6d7f2ff8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f4453452d53686172652d4d61726b65742d5570646174652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/058b349336b82ad3c9230c42d3ae1c9bdc96da194b0c6f9cfdf0713f6d7f2ff8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f4453452d53686172652d4d61726b65742d5570646174652f6261646765732f636f7665726167652e706e673f623d6d6173746572)[![Code Rating](https://camo.githubusercontent.com/474ddec3c1de7142f8c6f3117255ef7d4a323d8c64c1cd7a753b759fefdb5893/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f4453452d53686172652d4d61726b65742d5570646174652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/474ddec3c1de7142f8c6f3117255ef7d4a323d8c64c1cd7a753b759fefdb5893/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f4453452d53686172652d4d61726b65742d5570646174652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)[![Code Intellegence](https://camo.githubusercontent.com/6f84aae1456e2af31cd9b742ef7aa5957b1659237528b183312898800538fedb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f4453452d53686172652d4d61726b65742d5570646174652f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://camo.githubusercontent.com/6f84aae1456e2af31cd9b742ef7aa5957b1659237528b183312898800538fedb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616861726961617a616d2f4453452d53686172652d4d61726b65742d5570646174652f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)

[![Dhaka Stock Exchange & Chittagong Stock Exchange Pricing Data Library in PHP](https://camo.githubusercontent.com/df71385e13422e366ffa1b203a79d166cbdceb6cf2a36e05131cf74b7fcca6a8/68747470733a2f2f692e696d6775722e636f6d2f696c72343955372e6a7067)](https://camo.githubusercontent.com/df71385e13422e366ffa1b203a79d166cbdceb6cf2a36e05131cf74b7fcca6a8/68747470733a2f2f692e696d6775722e636f6d2f696c72343955372e6a7067)

Bangladesh Stock Exchange
-------------------------

[](#bangladesh-stock-exchange)

This PHP library provides a simple way to get and parse the stock price for [Dhaka Stock Exchange](https://www.dsebd.org) &amp; [Chittagong Stock Exchange](https://www.cse.com.bd/) in real time directly from the official website.

### Installation

[](#installation)

Install this library via `composer` by running the following command

`composer require shahariaazam/bd-stock-exchange`

Note: This library has been upgraded from it's old (legacy) code and made it as a standard library. if you still want to use legacy (OLD) codes, you can find that in [old-legacy-codes](https://github.com/shahariaazam/DSE-Share-Market-Update/tree/old-legacy-codes) branch.

Or you can download OLD codes as `zip`. [Click here](https://github.com/shahariaazam/DSE-Share-Market-Update/raw/old-legacy-codes/dse.zip) to download old codes.

### Usage

[](#usage)

After installing you can simply get the latest Dhaka Stock Exchange price data

#### Get Bangladeshi Stock Exchange Share Price

[](#get-bangladeshi-stock-exchange-share-price)

```
