2 Commits

Author SHA1 Message Date
b8ef58e132 added code types into README 2025-05-28 18:12:54 +02:00
2f7f63b620 removed require ext-pdo 2025-05-28 18:07:35 +02:00
2 changed files with 4 additions and 5 deletions

View File

@ -6,7 +6,7 @@ A set of tools to simplify the work of creating backend APIs for your frontend p
For example, we create an API for calculator. So we create class `APIcalculator` and store in file `test/APIcalculator.php` where we defined each actions for API as public method.
```
```php
<?php
/**
@ -90,7 +90,7 @@ It is important to extend the `APIcalculator` class with the `\TPsoft\APIlite\AP
When you run this subfile through the webserver, you will see the JSON documentation in the browser
```
```js
{
"name": "APIcalculator",
"html_version": "http://localhost/APIlite/test/APIcalculator.php?format=html",
@ -194,7 +194,7 @@ and there is also an HTML version available
To connect to the API from TypeScript (e.g. Vue application) it is possible to download the backend script
```
```ts
/**
* Generated by APIlite
* https://gitea.tpsoft.org/TPsoft.org/APIlite

View File

@ -26,8 +26,7 @@
}
],
"require": {
"php": ">=8.2",
"ext-pdo": "*"
"php": ">=8.2"
},
"autoload": {
"psr-4": {