elem
a functional html api
File Explorer
- tests.yml
- basic-examples.md
- composition-and-dynamism.md
- how-it-works.md
- imperative-style.md
- templating-and-layouts.md
- handlers.php
- 404.css
- base.css
- dynamic-content-demo.css
- htmx-demo.css
- index.css
- layout-demo.css
- template-demo.css
- dynamic-content-demo.php
- htmx-demo.php
- index.php
- layout-demo.php
- layout-raw.php
- template-demo.php
- server.php
- Anchor.php
- Body.php
- Button.php
- Div.php
- Form.php
- Head.php
- Heading.php
- Html.php
- Image.php
- Input.php
- Label.php
- Link.php
- ListItem.php
- Meta.php
- Option.php
- OrderedList.php
- Paragraph.php
- RawHtml.php
- Script.php
- Select.php
- Span.php
- Style.php
- Table.php
- TableCell.php
- TableHeader.php
- TableRow.php
- Text.php
- Textarea.php
- Title.php
- UnorderedList.php
- Element.php
- ElementFactory.php
- ElementsList.php
- functions.php
- ElemTest.php
- Pest.php
- .gitignore
- benchmark.php
- CHANGELOG.md
- composer.json
- composer.lock
- LICENSE
- phpstan.neon
- phpunit.xml
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Link
Example
Command Glossary
Commands referenced in this DOCs, explained below.
composer
View Details ▼
composer
A package-based dependency manager for PHP projects.
composer init
Interactively create a `composer.json` file:
composer require {{user/package}}
Add a package as a dependency for this project, adding an entry to `composer.json`:
composer install
Install all the dependencies in this project's `composer.json` and create `composer.lock`:
php
View Details ▼
php
PHP command-line interface.
php {{path/to/file}}
Parse and execute a PHP script:
php {{[-l|--syntax-check]}} {{path/to/file}}
Check syntax on (i.e. [l]int) a PHP script:
php {{[-a|--interactive]}}
Run PHP inter[a]ctively:
# Project Badges
// repository documentation
Was this content helpful?
(0 ratings)
