diff --git a/composer.json b/composer.json index ad93f85..9b53d9d 100644 --- a/composer.json +++ b/composer.json @@ -1,65 +1,66 @@ { - "name": "tastyigniter/ti-ext-api", - "type": "tastyigniter-package", - "description": "Manages and generates RESTful APIs using available models in your TastyIgniter app.", - "license": "MIT", - "authors": [ - { - "name": "Sam Poyigi", - "email": "sam@sampoyigi.com" - } - ], - "keywords": [ - "tastyigniter", - "rest", - "api" - ], - "require": { - "laravel/sanctum": "^4.0", - "spatie/laravel-fractal": "^6.0", - "tastyigniter/core": "^v4.0@beta" + "name": "tastyigniter/ti-ext-api", + "type": "tastyigniter-package", + "description": "Manages and generates RESTful APIs using available models in your TastyIgniter app.", + "license": "MIT", + "authors": [ + { + "name": "Sam Poyigi", + "email": "sam@sampoyigi.com" + } + ], + "keywords": [ + "tastyigniter", + "rest", + "api" + ], + "require": { + "laravel/sanctum": "^4.0", + "spatie/laravel-fractal": "^6.0", + "tastyigniter/core": "^v4.0@beta || ^v4.0@dev", + "tastyigniter/ti-ext-user": "^v4.0@beta || ^v4.0@dev" + }, + "require-dev": { + "laravel/pint": "^1.2", + "larastan/larastan": "^2.4.0", + "sampoyigi/testbench": "dev-main as 1.0", + "pestphp/pest-plugin-laravel": "^2.0" + }, + "autoload": { + "psr-4": { + "Igniter\\Api\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Igniter\\Api\\Tests\\": "tests/" + } + }, + "extra": { + "tastyigniter-extension": { + "code": "igniter.api", + "name": "APIs for TastyIgniter", + "icon": { + "class": "fa fa-cloud", + "color": "#fff", + "backgroundColor": "#02586F" + }, + "homepage": "https://tastyigniter.com/marketplace/item/igniter-api" + } + }, + "scripts": { + "test": "vendor/bin/pest", + "test-coverage": "vendor/bin/pest --coverage", + "format": "vendor/bin/pint", + "static": "vendor/bin/phpstan analyse --ansi --memory-limit 1056M" + }, + "config": { + "allow-plugins": { + "pestphp/pest-plugin": true, + "composer/installers": true, + "php-http/discovery": true }, - "require-dev": { - "laravel/pint": "^1.2", - "larastan/larastan": "^2.4.0", - "sampoyigi/testbench": "dev-main as 1.0", - "pestphp/pest-plugin-laravel": "^2.0" - }, - "autoload": { - "psr-4": { - "Igniter\\Api\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Igniter\\Api\\Tests\\": "tests/" - } - }, - "extra": { - "tastyigniter-extension": { - "code": "igniter.api", - "name": "APIs for TastyIgniter", - "icon": { - "class": "fa fa-cloud", - "color": "#fff", - "backgroundColor": "#02586F" - }, - "homepage": "https://tastyigniter.com/marketplace/item/igniter-api" - } - }, - "scripts": { - "test": "vendor/bin/pest", - "test-coverage": "vendor/bin/pest --coverage", - "format": "vendor/bin/pint", - "static": "vendor/bin/phpstan analyse --ansi --memory-limit 1056M" - }, - "config": { - "allow-plugins": { - "pestphp/pest-plugin": true, - "composer/installers": true, - "php-http/discovery": true - }, - "sort-packages": true - }, - "minimum-stability": "beta" -} \ No newline at end of file + "sort-packages": true + }, + "minimum-stability": "beta" +}