Download the PHP package setwise/nova-html-card without Composer
On this page you can find all versions of the php package setwise/nova-html-card. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package nova-html-card
Nova HTML Card
Adds a card to the Laravel Nova dashboard with any arbitrary HTML content.
Installation
You can install the package in to a Laravel app that uses Nova via composer:
Usage
Options
- Set content
->html('<h1>Hello!</h1>')
: Set HTML or plain content.->markdown('# Hello!')
: Set Markdown content that will be converted into HTML.->view('path.to.view', [])
: Specify blade view file and optionally pass an array of data to view.
- Styling
->center(false)
: Center card's content.false
by default.->withoutCardStyles(true)
: Whether to use standard Nova Card styles for a card (background, padding, etc).false
by default.->forceFullWidth(true)
: Force the card to be full width. A fix for nova cards order.
Why this package?
There are a few packages with similar functionality. Our package provides an API to cover all cases covered by these packages plus additionally provides some unique features like:
- markdown support
- easy switch between class Nova-card look and raw-HTML look
- Simple, Laravel-like API
Changelog
Please see Releases for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.
All versions of nova-html-card with dependencies
PHP Build Version
Package Version
The package setwise/nova-html-card contains the following files
Loading the files please wait ....