diff --git a/.github/alto-importmap.svg b/.github/alto-importmap.svg new file mode 100644 index 0000000..bf1c46b --- /dev/null +++ b/.github/alto-importmap.svg @@ -0,0 +1,16 @@ + + + ALTO Importmap + Install with composer require alto/importmap. + + + diff --git a/README.md b/README.md index 4dc4195..51f4e34 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,14 @@ -# Alto ImportMap +

+ + ALTO Importmap + +

Alto ImportMap is a PHP library to build, validate, and render [import maps](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap) in PHP for web applications. It supports imports, scopes and integrity metadata, and includes a resolver aligned with the WICG resolution algorithm. -## Installation - -```bash -composer require alto/importmap -``` - ## Basic Usage ### 1. Create an ImportMap @@ -63,6 +61,12 @@ echo $renderer->render($map); ``` +## Installation + +```bash +composer require alto/importmap +``` + ## Advanced Features ### Scoped Imports