akichi139/bladeboostrap

This is my package bladeboostrap

dev-main 2023-08-25 07:36 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us

68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f626c616465626f6f73747261702e6a70673f743d31

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Installation

You can install the package via composer:

composer require akichi139/bladeboostrap

You can publish and run the view with:

php artisan vendor:publish --tag="bladeboostrap-views"

Usage

#table

<x-bladeboostrap::table>
    <x-slot name="header">
        <th>Name</th>
        <th>Department</th>
        <th>Email</th>
    </x-slot>
    <tr>
        <td>Alfred Rowe</td>
        <td>Outsourcing</td>
        <td>alfred@therowe.com</td>
    </tr>
    <tr>
        <td>Michael K. Ocansey</td>
        <td>Tech</td>
        <td>kabutey@gmail.com</td>
    </tr>
</x-bladeboostrap::table>

#input

//normal input
<x-bladeboostrap::input placeholder="string you want to show" required="true"/>
//password input
<x-bladeboostrap::input type="password" placeholder="password"/>
//color input
<x-bladeboostrap::input type="color"/>
//datetime input
<x-bladeboostrap::input type="datetime-local"/>

#calendar

@php
$eventsData = [['title' => 'testevent', 'start' => '2023-08-25 08:00:00', 'end' => '2023-08-25 11:00:00', 'color' => '#09FF9B'],
                ['title' => 'testevent', 'start' => '2023-08-26 08:00:00', 'end' => '2023-08-26 11:00:00', 'color' => '#F00000']];
@endphp

<x-bladeboostrap::calendar :events="$eventsData" />

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.