Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fuelviews/app-wrapper
App Wrapper Package
https://github.com/fuelviews/app-wrapper
Last synced: about 1 month ago
JSON representation
App Wrapper Package
- Host: GitHub
- URL: https://github.com/fuelviews/app-wrapper
- Owner: fuelviews
- License: mit
- Created: 2024-10-23T19:46:21.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T22:45:25.000Z (about 1 month ago)
- Last Synced: 2024-11-12T23:28:39.550Z (about 1 month ago)
- Language: Blade
- Homepage:
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/funding.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# App Wrapper Package
[![Latest Version on Packagist](https://img.shields.io/packagist/v/fuelviews/app-wrapper.svg?style=flat-square)](https://packagist.org/packages/fuelviews/app-wrapper)
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/fuelviews/app-wrapper/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/fuelviews/app-wrapper/actions?query=workflow%3Arun-tests+branch%3Amain)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/fuelviews/app-wrapper/fix-php-code-style-issues.yml?label=code%20style&style=flat-square)](https://github.com/fuelviews/app-wrapper/actions?query=workflow%3A"Fix+PHP+code+style+issues")
[![Total Downloads](https://img.shields.io/packagist/dt/fuelviews/app-wrapper.svg?style=flat-square)](https://packagist.org/packages/fuelviews/app-wrapper)## Installation
You can install the package via composer:
```bash
composer require fuelviews/app-wrapper
```You can publish the config file with:
```bash
php artisan vendor:publish --tag="app-wrapper-config"
```This is the contents of the published config file:
```php
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
```bash
php artisan vendor:publish --tag="app-wrapper-views"
```## Usage
Wrap your blade files using:
```php
```
## Tailwindcss classes
Add laravel-forms to your tailwind.config.js file:
```javascript
content: [
'./vendor/fuelviews/laravel-*/resources/**/*.{js,vue,blade.php}',
]
```## Testing
```bash
composer test
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Thejmitchener](https://github.com/thejmitchener)
- [Fuelviews](https://github.com/fuelviews)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.