https://github.com/jaxon-php/jaxon-demo-calc
A simple calculator implemented as a Jaxon package
https://github.com/jaxon-php/jaxon-demo-calc
Last synced: 6 months ago
JSON representation
A simple calculator implemented as a Jaxon package
- Host: GitHub
- URL: https://github.com/jaxon-php/jaxon-demo-calc
- Owner: jaxon-php
- License: bsd-3-clause
- Created: 2025-06-27T17:48:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-22T13:32:45.000Z (12 months ago)
- Last Synced: 2025-07-22T15:26:29.952Z (12 months ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A simple calculator implemented as a Jaxon package
==================================================
This repo demonstrates a Jaxon package implementation.
Installation
------------
In a project that already have the Jaxon packages installed.
```bash
composer require jaxon-php/jaxon-demo-calc
```
Insert the calculator in a page
-------------------------------
The HTML code of the calculator is returned by this call.
It uses the Bootstrap 5 CSS framework.
```php
jaxon()->package(Jaxon\Demo\Calc\Package::class)->getHtml()
```