Download the PHP package careset/zermelobladecard without Composer
On this page you can find all versions of the php package careset/zermelobladecard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package zermelobladecard
ZermeloBladeCard
Blade based bootstrap 4.1+ card based view for Zermelo reporting engine
How to get started using it
Installation
This package requires the Zermelo package. You will nedd to follow the zermelo installation instructions on how to configure your app to use zermelo.
After that is complete, use composer to install, and artisan to configure the Card Report
Then use artisan to configure it
This may ask you to confirm the replacement of some assets... you can safely choose to replace or not replace, it makes little difference.
How the cards work
The cards are based on the bootstrap card system implemented using blade templates..
There are several functions that appear in a card report that do not appear in other report types, specifically:
- The is_fluid() function determines if a fluid layout will be used
- the cardWidth() function sets the default width of every card (which you can control with data by including a card_width in the report. Both of these will support valudes that belong in a "style" parameter of the card div. Like style='width: 200px' or style='width: 80%'. In this case, you would return just '200px' or '80%' in either the cardWidth function or in the card_width data field below.
Run an example
To test if you have installed correctly, see if you have Zermelo Card urls in your route using artisan..
You should see 3 different routes in the result... if you see nothing.. something has gone wrong...
Then copy over the example data and reports to your installation
That will create the zermelo_cards test database, populate it with example data... And copy the Card test report to your installation...
Remember that you will need to ensure that your laravel DB user has SELECT access to the zermelo_cards database..
Then point your browser to
https://example.com/ZermeloCard/CardTest/
and you should see the content