PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, December 31, 2021

[FIXED] Composer [InvalidArgumentException] Could not find package mtibben/html2text

 December 31, 2021     composer-php, laravel     No comments   

Issue

I have tried to install html2text via composer to my laravel application. Here is a link to the html2text repository. https://github.com/mtibben/html2text

I have tried composer require mtibben/html2text giving this error:

[InvalidArgumentException]
Could not find package mtibben/html2text at any version for your minimum-stability (stable). Check the package spel ling or your minimum-stability

Also I have tried composer require https://github.com/mtibben/html2text.git giving this error:

[UnexpectedValueException]
Could not parse version constraint //github.com/mtibben/html2text.git: Invalid version string "//github.com/mtibben /html2text.git"

enter image description here

How do I install html2text?


Solution

Its a php package, u can't install with composer require

U may want to read this tutorial

http://laraveldaily.com/how-to-use-external-classes-and-php-files-in-laravel-controller/



Answered By - arun
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing