Search by

dolpstudio / image-module

dolpstudio

There is no license information available for the latest version (0.1.3) of this package.

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Package info

bitbucket.org/ramon_nogueira_de_sousa/image-module

Type:laravel-module

pkg:composer/dolpstudio/image-module

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

0.1.3 2023-01-05 18:08 UTC

This package is auto-updated.

Last update: 2023-11-05 20:23:02 UTC


README

Install

composer require dolpstudio/image-module
php artisan module:enable Image
php artisan module:migrate Image

Use this command to link storage path to public folder

php artisan storage:link
Optional commands

Publish configuration file:

php artisan module:publish-config

Seed:

php artisan module:seed Image

Usage

View (.blade.php)
@include('image::img', [
    'size' => 'thumbnail',
    'id' => $imageId,
    'style' => 'circular', // defined in config/image.php
    'class' => 'rounded-circle avatar-xl', // extra classes
    'alt' => "alt text"
])

@TODO