Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 109 | All time: 9,659 This week: 40 |
Version | License | PHP version | Categories | |||
php-restful-api 1.0 | GNU General Publi... | 7 | Libraries, Web services, PHP 7 |
Description | Author | |
This package provides an example implementation of a REST API. |
<?php |
This is the source code of my Udemy course Build a Modern REST API with PHP 8.2 ?
It is indispensable to enroll the Udemy course in order to understand and setup properly this project.
Pierre-Henry Soria. A super passionate and enthusiastic software engineer! ? Also, a true cheese ?, dark chocolate, and espresso lover! ??
This source code is distributed under the open-source MIT license.
Files (36) |
File | Role | Description | ||
---|---|---|---|---|
.github (1 directory) | ||||
src (1 file, 7 directories) | ||||
tests (1 directory) | ||||
.env.dist | Data | Auxiliary data | ||
.htaccess | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
example-web-app-RE...PI-architecture.svg | Data | Auxiliary data | ||
index.php | Example | Example script | ||
license.md | Lic. | License text | ||
phpunit.xml.dist | Data | Auxiliary data | ||
readme.md | Doc. | Documentation |
Files (36) | / | src |
File | Role | Description | ||
---|---|---|---|---|
config (2 files) | ||||
Dal (3 files) | ||||
Entity (3 files) | ||||
helpers (2 files) | ||||
Route (5 files, 1 directory) | ||||
Service (3 files, 1 directory) | ||||
Validation (1 file, 1 directory) | ||||
AllowCors.php | Class | Class source |
Files (36) | / | src | / | config |
File | Role | Description |
---|---|---|
config.inc.php | Example | Example script |
database.inc.php | Example | Example script |
Files (36) | / | src | / | Dal |
File | Role | Description |
---|---|---|
FoodItemDal.php | Class | Class source |
TokenKeyDal.php | Class | Class source |
UserDal.php | Class | Class source |
Files (36) | / | src | / | Entity |
File | Role | Description |
---|---|---|
Entitable.php | Class | Class source |
Item.php | Class | Class source |
User.php | Class | Class source |
Files (36) | / | src | / | helpers |
File | Role | Description |
---|---|---|
headers.inc.php | Example | Example script |
misc.inc.php | Aux. | Auxiliary script |
Files (36) | / | src | / | Route |
File | Role | Description | ||
---|---|---|---|---|
Exception (1 file) | ||||
food-item.routes.php | Example | Example script | ||
Http.php | Class | Class source | ||
not-found.routes.php | Aux. | Auxiliary script | ||
routes.php | Example | Example script | ||
user.routes.php | Example | Example script |
Files (36) | / | src | / | Service |
File | Role | Description | ||
---|---|---|---|---|
Exception (3 files) | ||||
FoodItem.php | Class | Class source | ||
SecretKey.php | Class | Class source | ||
User.php | Class | Class source |
Files (36) | / | src | / | Service | / | Exception |
File | Role | Description |
---|---|---|
CannotLoginUserException.php | Class | Class source |
CredentialsInvalidException.php | Class | Class source |
EmailExistsException.php | Class | Class source |
Files (36) | / | src | / | Validation |
File | Role | Description | ||
---|---|---|---|---|
Exception (1 file) | ||||
UserValidation.php | Class | Class source |
Files (36) | / | src | / | Validation | / | Exception |
File | Role | Description |
---|---|---|
InvalidValidationException.php | Class | Class source |
Files (36) | / | tests | / | Entity |
File | Role | Description |
---|---|---|
ItemTest.php | Class | Class source |
UserTest.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.