PHP code example of armsys-tech / armada

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

    

armsys-tech / armada example snippets


// Livewire
$this->dispatch('toast', title: 'Saved', tone: 'success');

// Redirect with a flash message
return redirect()->route('creators.index')->with('toast', 'Creator created');
blade
<form wire:submit="save">
    <armada:input wire:model="email" type="email" label="Email" icon="mail"  />
    <armada:date-picker wire:model="startsOn" label="Start date" />
    <armada:time-picker wire:model="startsAt" label="Start time" step="30" min="09:00" max="18:00" />
    <armada:switch wire:model="active" label="Active" />
    <armada:button type="submit" variant="solid" tone="primary">Save</armada:button>
</form>
bash
php artisan vendor:publish --tag=armada-components