fuelviews / app-wrapper
SAB Hero Wrapper Package
Installs: 116
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.1||^8.2||^8.3||^8.4
- livewire/livewire: >=3.5.19
- ralphjsmit/laravel-seo: >=1.6.7
- spatie/laravel-google-fonts: >=1.4.1
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^9.0.0||^8.22.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-arch: ^2.7
- pestphp/pest-plugin-laravel: ^2.3
README
Installation
You can install the package via composer:
composer require fuelviews/laravel-sabhero-wrapper
You can publish the config file with:
php artisan vendor:publish --tag="sabhero-wrapper-config"
This is the contents of the published config file:
return [ // Enable or disable Livewire 'livewire_enabled' => true, // Enable or disable Navigation 'navigation_enabled' => true, // Enable or disable footer 'footer_enabled' => true, // Enable or disable Forms Modal 'forms_modal_enabled' => false, // Enable or disable Google Tag Manager 'gtm_enabled' => false, ];
Optionally, you can publish the views using
php artisan vendor:publish --tag="sabhero-wrapper-views"
Usage
Wrap your blade files using:
<x-sabhero-wrapper::layouts.app>
<div class="h-screen">
<div class="flex w-full h-full bg-gray-300">
</div>
</div>
</x-sabhero-wrapper::layouts.app>
Tailwindcss classes
Add laravel-forms to your tailwind.config.js file:
content: [ './vendor/fuelviews/laravel-*/resources/**/*.{js,vue,blade.php}', ]
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.