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

A more generic and practical output #36

Open
the-liquid-metal opened this issue Nov 23, 2019 · 6 comments
Open

A more generic and practical output #36

the-liquid-metal opened this issue Nov 23, 2019 · 6 comments

Comments

@the-liquid-metal
Copy link

the-liquid-metal commented Nov 23, 2019

I guess that people want to use it like this way:

<script type="text/php">
    // php code here
</script>

so, make it as generic as possible and register it to packagist.org.

Rather than instruct people how to build it, it is more reasonable to provide the output. If my output is the same output as yours, why do i have to build my self while we have the same needs: a common php engine. Let your output be the "official" one.

@Goddard
Copy link

Goddard commented Jan 18, 2020

Do you have any experience submitting packages to packagist.org?

@the-liquid-metal
Copy link
Author

I guest this question is for @oraoto:

Do you have any experience submitting packages to packagist.org?

More fundamental question:
Is "a generic and practical output" not your original goal and prevent you submitting package to packagist.org?

Well, your work opens the door for people who dream for a long time replacing javascript with php.

@seanmorris
Copy link
Contributor

seanmorris commented Aug 22, 2020

Do you have any experience submitting packages to packagist.org?

Its already on npm under php-wasm. I don't think it makes sense to put this on packagist as its a php binding for javascript, so I see it as more of a JS package than a PHP one.

@seanmorris
Copy link
Contributor

Also my fork implements PHP script tags: https://github.com/seanmorris/php-wasm

@seanmorris
Copy link
Contributor

My changes have been pulled into the main branch.

@uuf6429
Copy link

uuf6429 commented Jun 26, 2022

I'd like this functionality as well, especially since <?php makes IDEs and servers go crazy trying to render PHP.

Unfortunately, I get mixed messages from the points above - is this functionality implemented in oraoto/pib or not?
Either way, neither original repo nor the fork show an example without the PHP open tag (and, while at it, they also incorrectly show the 'equal' (in the html tag) surrounded with space.

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

4 participants