phpkiteconnect
phpkiteconnect copied to clipboard
The official PHP client library for the Kite Connect trading APIs
Update default InputException status code to 400, as used in the [py-client](https://github.com/zerodha/pykiteconnect/blob/e6fe14dd403d0af4ee56ce8aa862bbf7352e3795/kiteconnect/exceptions.py#L62) and [go-client](https://github.com/zerodha/gokiteconnect/blob/bb43544a589eff79527a20847c7df1fd9dff298a/errors.go#L56).
Please test it thoroughly before publishing it to production. https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.mixed The feature is introduced in PHP 8.0, yet it's used widely in the code. Example error: ( ! ) Fatal...
I have face issue to fetch only LTP. When I tried to used getLTP Method it show below error Fatal error: Uncaught TypeError: Return value of KiteConnect\KiteConnect::getLTP() must be an...
For PHP 7.3 backward compatibility which resolves #19 . Tested this on PHP7.3 locally and all tests are passing. ![Screenshot from 2021-04-21 12-43-00](https://user-images.githubusercontent.com/31663512/115512070-305f8c00-a29f-11eb-9e93-435300b76c66.png) @vividvilla @ranjanrak
When i'm trying to install composer.json as mentioned in readme . I'm getting below error: composer require zerodha/phpkiteconnect Error: Using version ^4.0 for zerodha/phpkiteconnect Root package 'zerodha/phpkiteconnect' cannot require itself...
I want to send an email when the access token expires. I see there's a method in kiteconnect.php `setSessionExpiryHook` but I'm not sure how to use that. Can you post...
When i am trying to login using kite app, after login it redirects me to following url https://****.***/redirect.php?user_id=ZW4354&request_token=LQQAs0kRdOd31nNtRtycjGXBxVWdSgs5&action=login&status=success And when i call generateSession it gives me following error. Authentication failed:...
There is no function named login_url() in this kiteconnect class.