pib icon indicating copy to clipboard operation
pib copied to clipboard

A more generic and practical output

Open the-liquid-metal opened this issue 6 years ago • 6 comments

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.

the-liquid-metal avatar Nov 23 '19 08:11 the-liquid-metal

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

Goddard avatar Jan 18 '20 01:01 Goddard

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.

the-liquid-metal avatar Jan 19 '20 22:01 the-liquid-metal

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 avatar Aug 22 '20 07:08 seanmorris

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

seanmorris avatar Aug 22 '20 14:08 seanmorris

My changes have been pulled into the main branch.

seanmorris avatar Aug 23 '20 17:08 seanmorris

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.

uuf6429 avatar Jun 26 '22 18:06 uuf6429