Skip to content
Examining Client Side PHP using WebAssembly and Web Components.
JavaScript HTML CSS Shell
Branch: master
Clone or download
Latest commit 092039c Dec 30, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets use LitElement to render Dec 25, 2019
bin initial commit Dec 22, 2019
dev use LitElement to render Dec 25, 2019
icons use LitElement to render Dec 25, 2019
service-worker use LitElement to render Dec 25, 2019
src/x-php-app add example php code Dec 30, 2019
.babelrc use LitElement to render Dec 25, 2019
.editorconfig use LitElement to render Dec 25, 2019
.eslintignore use LitElement to render Dec 25, 2019
.eslintrc use LitElement to render Dec 25, 2019
.gitignore
.nojekyll use LitElement to render Dec 25, 2019
404.html use LitElement to render Dec 25, 2019
README.md
favicon.ico use LitElement to render Dec 25, 2019
index.html use LitElement to render Dec 25, 2019
manifest.json
package.json
rollup.config.js use LitElement to render Dec 25, 2019
theme.css use LitElement to render Dec 25, 2019

README.md

<x-php-app>

About

Try it out

<html><body>
<x-php>
  <script type="text/php">
    <?php
      $it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator('.'));

      foreach ($it as $name => $entry) {
        echo "$name <br/>";
      }
  </script>
</x-php>
<script>window.__XPHP_REMOTE_PACKAGE_BASE = 'https://kherrick.github.io/x-php/assets/'</script>
<script type="module" src="https://kherrick.github.io/x-php/dist/esm/XPHP.js"></script>
</body></html>
You can’t perform that action at this time.