emincimen / dummy-api
This is my package dummyapi
dev-main
2024-01-03 19:00 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^10.0
- spatie/laravel-data: *
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.8
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.8
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
- squizlabs/php_codesniffer: 4.0.x-dev
This package is auto-updated.
Last update: 2025-01-03 21:12:59 UTC
README
You can install the package via composer:
composer require --dev emincimen/dummy-api:dev-main
Usage
use EminCimen\DummyApi\Facades\DummyApi; echo DummyApi::getPaginatedUserList(2); echo DummyApi::getSingleUser(2); echo DummyApi::createUser([ 'name' => 'Emin Cimen', 'job' => 'Software Developer' ]);
Testing
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.