1. Go to this page and download the library: Download mach3builders/ui 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/ */
mach3builders / ui example snippets
public function store()
{
alert('message', 'succes');
redirect('/home');
}
@component('ui::actions.delete', ['action' => "/user/{$user->id}"])
Are you sure you want to delete {{ $user->name }}
@endcomponent
return (new MailMessage)
->greeting('Hello!')
->line('One of your invoices has been paid!')
->action('View Invoice', $url)
->line('Thank you for using our application!');