This package will add two directives that will support working with czim/laravel-paperclip.
You can install the package via composer:
composer require daniel-de-wit/lighthouse-paperclipApply the @attachment directive to get an url for the attachment.
type Blog {
image: String @attachment
}Apply the @variant to automatically generate an enum for available variant resizes.
type Blog {
image(variant: _ @variant): String @attachment
}composer testmake setupmake testPHP CLI
make appPlease see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.
