diff --git a/composer.json b/composer.json index 9a80932..4a560fd 100644 --- a/composer.json +++ b/composer.json @@ -1,23 +1,30 @@ { - "name": "laravel/laravel", - "type": "project", - "repositories": [ + "name": "takeone/cropper", + "description": "A professional image cropping component for Laravel using Bootstrap and Cropme.", + "type": "library", + "license": "MIT", + "authors": [ { - "type": "vcs", - "url": "https://git.innovator.bh/ghassan/laravel-image-cropper" + "name": "Ghassan", + "email": "ghassan.yousif.83@gmail.com" } ], "require": { "php": "^8.2", - "laravel/framework": "^11.0", - "takeone/cropper": "dev-main" + "laravel/framework": "^11.0|^12.0" + }, + "autoload": { + "psr-4": { + "Takeone\\Cropper\\": "src/" + } + }, + "extra": { + "laravel": { + "providers": [ + "Takeone\\Cropper\\CropperServiceProvider" + ] + } }, "minimum-stability": "dev", - "prefer-stable": true, - "config": { - "allow-plugins": { - "pestphp/pest-plugin": true, - "php-http/discovery": true - } - } + "prefer-stable": true } \ No newline at end of file