Download the PHP package maurobonfietti/slim4-api-skeleton without Composer
On this page you can find all versions of the php package maurobonfietti/slim4-api-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download maurobonfietti/slim4-api-skeleton
More information about maurobonfietti/slim4-api-skeleton
Files in maurobonfietti/slim4-api-skeleton
Package slim4-api-skeleton
Short Description Useful skeleton for RESTful API development, using PHP and Slim 4.
License MIT
Homepage https://github.com/maurobonfietti/slim4-api-skeleton
Informations about the package slim4-api-skeleton
SLIM 4 - API SKELETON
Useful skeleton for RESTful API development, using Slim PHP micro-framework.
💻 TECHNOLOGIES USED:
The main technologies used in this project are:
- PHP 8
- Slim 4
- MySQL
- PHPUnit
- dotenv
- Docker
- Docker Compose
⚙️ QUICK INSTALL:
Requirements:
- Composer.
- PHP >= 8.1
- MySQL/MariaDB.
- or Docker.
With Composer:
You can create a new project running the following commands:
Configure your connection to MySQL Server:
By default, the API uses a MySQL database.
You should check and edit this configuration in your .env
file:
With Docker:
If you like Docker, you can use this project with Docker and Docker Compose.
Minimal Docker Version:
- Engine: 18.03+
- Compose: 1.21+
Docker Commands:
📦 DEPENDENCIES:
LIST OF REQUIRE DEPENDENCIES:
- slim/slim: Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
- slim/psr7: PSR-7 implementation for use with Slim 4.
- pimple/pimple: A small PHP dependency injection container.
- vlucas/phpdotenv: Loads environment variables from
.env
togetenv()
,$_ENV
and$_SERVER
automagically.
LIST OF DEVELOPMENT DEPENDENCIES:
- phpunit/phpunit: The PHP Unit Testing framework.
- symfony/console: The Console component eases the creation of beautiful and testable command line interfaces.
- nunomaduro/phpinsights: Instant PHP quality checks from your console.
- maurobonfietti/slim4-api-skeleton-crud-generator: CRUD Generator for Slim 4 - Api Skeleton.
🔖 ENDPOINTS:
BY DEFAULT:
-
Hello:
GET /
- Health Check:
GET /status
📹 TUTORIAL:
Learn how to develop a RESTful API with PHP and Slim 4 by following this video [🎥 🔈 🇪🇸 🇦🇷]
:heart: SUPPORT THE PROJECT
If you would like to support this project, you can:
- Invite the author a coffee :coffee: :yum:
- Give a star to the repository :star: :blush:
:sunglasses: AND THAT'S IT!
Now, go to build an excellent RESTful API.
All versions of slim4-api-skeleton with dependencies
ext-pdo Version *
ext-json Version *
pimple/pimple Version ^3.2
slim/psr7 Version ^1.4.0
slim/slim Version ^4.5
vlucas/phpdotenv Version ^5.1