PHP code example of harrisonclewis / laravel-sleek
1. Go to this page and download the library: Download harrisonclewis/laravel-sleek 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/ */
harrisonclewis / laravel-sleek example snippets
// config/sleek.php
return [
'enabled' => true,
'ignore_tags' => [ /* additional tags to leave untouched */ ],
];
blade
<Layouts.App>
<Form method="POST" action="{{ route('login') }}">
<Form.Group>
<Form.Label>Email</Form.Label>
<Form.Input type="email" name="email" />
</Form.Group>
<Button type="submit">Sign in</Button>
</Form>
</Layouts.App>
bash
php artisan vendor:publish --tag=sleek-config