{"id":33952112,"url":"https://github.com/simongomes/bd-stock-exchange-update-php","last_synced_at":"2025-12-12T19:24:09.648Z","repository":{"id":57051241,"uuid":"141970161","full_name":"simongomes/bd-stock-exchange-update-php","owner":"simongomes","description":"A PHP library to fetch updates from Bangladesh share market, including Dhaka and Chittagong Stock Exchange (DSE \u0026 CSE).","archived":false,"fork":false,"pushed_at":"2018-07-24T08:23:16.000Z","size":9,"stargazers_count":20,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-17T15:08:40.579Z","etag":null,"topics":["bangladesh","bangladesh-share-market","bangladesh-stock-exchange","bd-share-market","bd-stock-exchange","chittagong-stock-exhange","cse","dhaka-stock-exchange","dse","library","php-library"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simongomes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-23T06:19:08.000Z","updated_at":"2025-02-15T03:32:40.000Z","dependencies_parsed_at":"2022-08-24T05:10:38.240Z","dependency_job_id":null,"html_url":"https://github.com/simongomes/bd-stock-exchange-update-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/simongomes/bd-stock-exchange-update-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simongomes%2Fbd-stock-exchange-update-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simongomes%2Fbd-stock-exchange-update-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simongomes%2Fbd-stock-exchange-update-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simongomes%2Fbd-stock-exchange-update-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simongomes","download_url":"https://codeload.github.com/simongomes/bd-stock-exchange-update-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simongomes%2Fbd-stock-exchange-update-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27689467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bangladesh","bangladesh-share-market","bangladesh-stock-exchange","bd-share-market","bd-stock-exchange","chittagong-stock-exhange","cse","dhaka-stock-exchange","dse","library","php-library"],"created_at":"2025-12-12T19:24:08.975Z","updated_at":"2025-12-12T19:24:09.639Z","avatar_url":"https://github.com/simongomes.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dhaka \u0026 Chittagong Stock Exchange Update (DSE \u0026 CSE)\n\nA PHP library to fetch updates from Bangladesh share market, including Dhaka and Chittagong Stock Exchange (DSE \u0026 CSE).\n\n[DSE](https://www.dsebd.org), [CSE](http://www.cse.com.bd)\n\n## Installation\n- ##### Install using ```composer``` (or go to [Manual Installation](#manual-installation))\n```composer require simongomes/bd-stock-exchange-update```\n\nor, add the following into your ```composer.json``` file\n\n```\n\"require\": {\n        \"simongomes/bd-stock-exchange-update\": \"^1.0\"\n}\n```\n\n#### Usages\n\n```php\n\u003c?php\n    require __DIR__ . '/vendor/autoload.php';\n    use Simon\\BDShareMarket;\n    \n    $BDShareMarket = new BDShareMarket();\n    print_r($BDShareMarket-\u003egetDSEData());\n```\n\n- ##### Manual installation\n\nDownload the latest release.\n\n[![Latest Version](https://img.shields.io/badge/release-v1.0.0-blue.svg?longCache=true\u0026style=for-the-badge)](https://github.com/gomessimon/bd-stock-exchange-update-php/releases/)\n\n#### Usages\n- Include the library\n```php\n\u003c?php\n    require __DIR__ . '/lib/autoload.php';  \n    use Simon\\BDShareMarket;\n```\n- Create an object and call the necessary methods\n \n ##### To fetch the updated from DSE use following\n```php\n$BDShareMarket = new BDShareMarket();\n\n// this will print the DSE data\nprint_r($BDShareMarket-\u003egetDSEData());\n```\n\n#### Output\n```\nArray\n(\n    [0] =\u003e Array\n        (\n            [company] =\u003e 1JANATAMF\n            [ltp] =\u003e 6.1\n            [high] =\u003e 6.1\n            [low] =\u003e 6.1\n            [closep] =\u003e 6.1\n            [ycp] =\u003e 6.2\n            [change] =\u003e -0.1\n            [trade] =\u003e 28\n            [value] =\u003e 0.25\n            [volume] =\u003e 40,942\n        )\n\n    [1] =\u003e Array\n        (\n            [company] =\u003e 1STPRIMFMF\n            [ltp] =\u003e 11.4\n            [high] =\u003e 11.4\n            [low] =\u003e 11.2\n            [closep] =\u003e 11.4\n            [ycp] =\u003e 11.2\n            [change] =\u003e 0.2\n            [trade] =\u003e 107\n            [value] =\u003e 1.973\n            [volume] =\u003e 174,194\n        )\n\n    [2] =\u003e Array\n        (\n            [company] =\u003e AAMRANET\n            [ltp] =\u003e 91.2\n            [high] =\u003e 92\n            [low] =\u003e 85.3\n            [closep] =\u003e 91\n            [ycp] =\u003e 84.2\n            [change] =\u003e 7\n            [trade] =\u003e 3,011\n            [value] =\u003e 144.176\n            [volume] =\u003e 1,616,666\n        )\n        ...\n```\n\u003cbr\u003e\n\n##### To fetch the updated for specific company from DSE use following\n\n```php    \n// To print DSE data for specific company replace COMPANY_NAME\nprint_r($BDShareMarket-\u003egetDSECompanyData('COMPANY_NAME'));\n    \n```\n\n\u003cbr\u003e\n\n ##### To fetch the updated from CSE use following\n \n ```php\nprint_r($BDShareMarket-\u003egetCSEData());\n ```\n \n \u003cbr\u003e\n \n ##### To fetch the updated for specific company from CSE use following\n ```php\n// To print CSE data for specific company replace COMPANY_NAME\nprint_r($BDShareMarket-\u003egetCSECompanyData('COMPANY_NAME'));\n ```\n\n## Courtesy \u0026 Contributions\n\nThanks goes to [Khyrul Alam](https://github.com/khyrulAlam) for the inspiration. A similar JavaScript library will be found here - [DSE-CSE-Market-Update JS Library](https://github.com/khyrulAlam/DSE-CSE-Market-Update) \n\n## License\n\n[![License](https://img.shields.io/badge/License-MIT-green.svg?longCache=true\u0026style=for-the-badge)](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2018, \u003ca href=\"https://simongomes.me\" target=\"_blank\"\u003eSimon Gomes\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimongomes%2Fbd-stock-exchange-update-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimongomes%2Fbd-stock-exchange-update-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimongomes%2Fbd-stock-exchange-update-php/lists"}