Fancybox v3.5.2
composer require alexandermatveev/fancybox-bundle
Refer to the desired files in your HTML template, e.g.
<link href="{{ asset('bundles/alexandermatveevfancybox/dist/jquery.fancybox.min.css') }}" rel="stylesheet">
<script src="{{ asset('bundles/alexandermatveevfancybox/dist/jquery.fancybox.min.js') }}"></script>
Refer to the source code of the included files for license information