PHP code example of diviky / laravel-components
1. Go to this page and download the library: Download diviky/laravel-components 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/ */
diviky / laravel-components example snippets
<x-form-file name="file" label="Please upload file" data-upload-prefix="package" />
<x-form-file name="file" label="Please upload file" data-upload-prefix="package">
@slot('help)
<span>Allow only jpg, png files</span>
@endslot
</x-form-file>
<x-form-dropzone name="file" label="Please upload file" />