PHP code example of acr / acr_fl

1. Go to this page and download the library: Download acr/acr_fl 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/ */

    

acr / acr_fl example snippets


php artisan vendor:publish --tag=public --force

 {!! Acr_fl::css() !!}  
 
PHP
{!! Acr_fl::form() !!}
 
PHP
$acr_file_id = Acr_fl::acr_file_id();
$fl_data = [
    'acr_file_id' => $acr_file_id,
]

<a href="/acr/fl/download?file_id={{$data->id}}&token={{csrf_token()}}">İNDİR</a>
 
{!! Acr_fl::get_file($acr_file_id, $file_name, $loc = '') !!}
 
{!! Acr_fl::files_list($acr_file_id) !!}
 
{!! Acr_fl::files_galery($acr_file_id) !!}
 
{!! Acr_fl::views_image($acr_file_id) !!}
 
{!! Acr_fl::views_galery($acr_file_id) !!}
 
PHP
{!! Acr_fl::js($fl_data) !!}

'Acr_fl' => \Acr\Acr_fl\Facades\Acr_fl::class,