PHP code example of alexstack / laravel-cms-plugin-external-image-link
1. Go to this page and download the library: Download alexstack/laravel-cms-plugin-external-image-link library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
alexstack / laravel-cms-plugin-external-image-link example snippets
<img src="https://github.githubassets.com/images/modules/marketplace/marketplace-illustration-01.svg" class="..." >
will automatically convert to below for you:
<img src="/laravel-cms/uploads/fb/9a3f5ebfa6aec1a597094ad6d3116edc09e2e2fb.svg" class="..." >
<a href="https://github.com/AlexStack/Laravel-CMS" class="text-info">Laravel CMS</a>
will automatically convert to below for you:
<a href="https://github.com/AlexStack/Laravel-CMS" class="text-info" target="_blank" rel="nofollow noopener external noindex">Laravel CMS</a>
composer isan migrate --path=./vendor/alexstack/laravel-cms-plugin-external-image-link/src/database/migrations
php artisan vendor:publish --force --tag=external-image-link-views
php artisan laravelcms --action=clear