PHP code example of akhaled / laravel-hybrid-components

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

    

akhaled / laravel-hybrid-components example snippets


<x-hybrid-button>
    Delete
</x-hybrid-button>

<x-hybrid-modal times="true" cancel="true" confirm="false" open-on-init="false">
    <x-hybrid-button color="green">
        Open modal
    </x-hybrid-button>

    <x-slot name="title">
        My first modal
    </x-slot>

    <x-slot name="content">
        Content goes here
    </x-slot>

    <x-slot name="footer">
        <x-hybrid-button color="orange">Another action button</x-hybrid-button>
    </x-slot>
</x-hybrid-modal>