Jump to content

how to add extension in php?


Go to solution Solved by gizmola,

Recommended Posts

I am trying to use

composer.json

file. but, when I am trying to run command '

composer require "jaggedsoft/php-binance-api @dev"

 

in my laravel project I am getting an error:

- Root composer.json requires PHP extension ext-http * but it is missing from your system. Install or enable PHP's http extension.

I already looked for the extension in my php.ini file and removed the semicolon from extension=intll. That was according to the solution i found on stack overflow but its not working for me. I would really appreciate you guys help .Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/315897-how-to-add-extension-in-php/
Share on other sites

  • Solution

I don't know what you found on SO, but it's unrelated to the intl extension.

  • What operating system are you running?
  • What version of php?
  • How is your development environment configured?
    • Are you using Docker?

 

Note: The library you are trying to use states that it is "depreciated"  (sic).  It was also forked by the originator to a different repo, with the intention of passing it on to other maintainers.

Since you are using Laravel, this one might be a better fit for your project:  https://github.com/TechTailor/Laravel-Binance-Api

It states it is still in alpha, but depending on what you intend to do it might be a better fit for you.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.