You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
@@ -37,6 +37,7 @@ This page will help you get started with this API.
37
37
* PHP 5.6
38
38
* MySQL or MariaDB
39
39
* Apache Server
40
+
* Slim Framework v3
40
41
41
42
<aname="installation"></a>
42
43
### Installation
@@ -220,6 +221,13 @@ SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
220
221
221
222
Change the database configuration in the new file.
222
223
224
+
<aname="Donate"></a>
225
+
## :gift: Donate!
226
+
227
+
If you want to help me to continue this project, you might donate via PayPal.
228
+
229
+
<ahref="https://paypal.me/ManuelFGil"><imgsrc="https://www.paypalobjects.com/webstatic/en_US/i/btn/png/btn_donate_92x26.png"alt="Donate via PayPal"></a>
230
+
223
231
<aname="deployment"></a>
224
232
## :package: Deployment
225
233
@@ -235,74 +243,133 @@ SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
235
243
236
244
*`get` => `/ping` - This method is used for testing the api. e.g.:
237
245
238
-
> uri = `/public/webresources/mobile_app/ping`
246
+
> uri = `http://localhost/REST-Api-with-Slim-PHP/public/webresources/mobile_app/ping`
239
247
240
248
241
249
*`get` => `/login/{user}/{password}` - This method gets a user into the database. e.g.:
242
250
243
-
> uri = `/public/webresources/mobile_app/login/testUser/testPwd`
251
+
> uri = `http://localhost/REST-Api-with-Slim-PHP/public/webresources/mobile_app/login/testUser/testPwd`
244
252
253
+
```php
254
+
parameters = [
255
+
/** @var string $user - username */
256
+
string $user => "testUser",
257
+
/** @var string $password - password */
258
+
string $password => "testPwd"
259
+
]
260
+
```
245
261
246
-
*`post` => `/register` - This method sets a user into the database. e.g.:
247
262
248
-
> uri = `/public/webresources/mobile_app/register`
263
+
*`post` => `/register` - This method sets a user into the database. e.g.:
* XAMPP for Windows 5.6.32 ([XAMPP](https://www.apachefriends.org/download.html))
405
+
* Visual Studio Code ([VSCode](https://code.visualstudio.com/))
406
+
* COMPOSER ([COMPOSER](https://getcomposer.org/))
407
+
* RestEasy Extension for Chrome ([RestEasy](https://chrome.google.com/webstore/detail/resteasy/nojelkgnnpdmhpankkiikipkmhgafoch))
408
+
330
409
<aname="changelog"></a>
331
410
## :information_source: Changelog
332
411
412
+
**1.0.0.8** (10/16/2019)
413
+
414
+
* <tableborder="0"cellpadding="4">
415
+
<tr>
416
+
<td>
417
+
<strong>Language:</strong>
418
+
</td>
419
+
<td>
420
+
PHP
421
+
</td>
422
+
</tr>
423
+
<tr>
424
+
<td><strong>
425
+
Requirements:
426
+
</strong></td>
427
+
<td>
428
+
<ul>
429
+
<li>
430
+
PHP 5.6
431
+
</li>
432
+
<li>
433
+
MySQL or MariaDB
434
+
</li>
435
+
<li>
436
+
Apache Server
437
+
</li>
438
+
</ul>
439
+
</td>
440
+
</tr>
441
+
<tr>
442
+
<td>
443
+
<strong>Changes:</strong>
444
+
</td>
445
+
<td>
446
+
<ul>
447
+
<li>
448
+
Fix responses
449
+
</li>
450
+
<li>
451
+
Implements caches
452
+
</li>
453
+
</ul>
454
+
</td>
455
+
</tr>
456
+
</table>
457
+
333
458
**1.0.0.7** (01/24/2019)
334
459
335
460
* <tableborder="0"cellpadding="4">
@@ -652,17 +777,10 @@ Checks if the `iat` (issued at) and `exp` (expiration time) are correct in [http
652
777
</tr>
653
778
</table>
654
779
655
-
<aname="Donate"></a>
656
-
## :gift: Donate!
657
-
658
-
If you want to help me to continue this project, you might donate via PayPal.
659
-
660
-
<ahref="https://paypal.me/ManuelFGil"><imgsrc="https://www.paypalobjects.com/webstatic/en_US/i/btn/png/btn_donate_92x26.png"alt="Donate via PayPal"></a>
0 commit comments