PHP code example of webx-ui / widgets
1. Go to this page and download the library: Download webx-ui/widgets 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/ */
webx-ui / widgets example snippets
return FormResponse::redirect(route('account')); // or ::message($heading, $html), ::html($view), ::ok()
blade
<x-webx-form :action="route('checkout.contact')" :rules="FormRules::for($rules, $attributes)">
<x-webx-field type="tel" name="contact.phone" :label="__('checkout.phone')" mask />
<x-webx-field type="file" name="documents" :label="__('checkout.documents')" multiple />
</x-webx-form>