Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find package jaytaph/transphpile at any version for your minimum-stability (dev). #11

Open
programmatix opened this issue Sep 29, 2016 · 2 comments

Comments

@programmatix
Copy link

Hey.
So I think this issue is down to my php-n00bness rather than a problem, but I can't seem to install it:

> composer require jaytaph/transphpile


  [InvalidArgumentException]
  Could not find package jaytaph/transphpile at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability

I've set my minimum-stability down to dev as you can see, but still no joy.

I tried compiling the source, which succeeded, but on run I get (and again this is probably just me being new to PHP and composer):

> php transPHPILE.PHAR transpile ..\screen_signup_login.php

Fatal error: Uncaught Error: Class 'Transphpile\Transpile\Visitors\phar:\\E:\dev\all3\SEOPalWordpress\Transphpile\transphpile.phar\lib\Transphpile\Transpile\Visitors\Php70\AnonymousClassVisitor' not found in phar://E:/dev/all3/SEOPalWordpress/Transphpile/transphpile.phar/lib/Transphpile/Transpile/Transpile.php:93
@jaytaph
Copy link
Owner

jaytaph commented Sep 29, 2016

Hi @grahampople

Thanks for trying the transpiler. To be honest, this project is a very early phase, and should be seen as rather a proof of concept than something that is actually usable in (production) code for now. This is why it's not on composer/packagist.

@programmatix
Copy link
Author

Ah okay, I was just going from the instructions on the first page. I'm mostly looking for PHP 7's scalar type hinting. Would you say that's reliable enough to use now? I'm writing a Wordpress plugin and need maximum compatibility with 5.X, but I really want 7's type hinting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants