Download the PHP package davide-casiraghi/laravel-cards without Composer
On this page you can find all versions of the php package davide-casiraghi/laravel-cards. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download davide-casiraghi/laravel-cards
More information about davide-casiraghi/laravel-cards
Files in davide-casiraghi/laravel-cards
Package laravel-cards
Short Description A flexible and extensible content container with multiple variants and options.
License MIT
Homepage https://github.com/davide-casiraghi/laravel-cards
Informations about the package laravel-cards
Laravel Cards
This Laravel package show a responsive card made by text on one side of the page and an image on the other.
The library replace all the occurances of this snippet
With the some HTML code of a responsive card made by text on one side and an image on the other.
This code uses bootstrap 4.
Installation
You can install the package via composer:
Publish all the vendor files
Import the _card.scss file in /resources/scss/app.scss
and then run in console:
Usage
Authorization
To work the package aspect that in your user model and table you have a field called group that can have this possible values:
- null: Registered user
- 1: Super Admin
- 2: Admin
Just the users that have Admin and Super admin privileges can access to the routes that allow to create, edit and delete the blogs, categories and posts. Otherwise you get redirected to the homepage.
Access to the package
After the package is published this new route will be available:
Accessing to this routes you can manage the cards.
Then to replace all the occurrance of the card snippets:
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Davide Casiraghi
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-cards with dependencies
astrotomic/laravel-translatable Version ^11.1
davide-casiraghi/laravel-form-partials Version ^1.0
illuminate/support Version 5.8.* || ^6.0
intervention/image Version ^2.4
mcamara/laravel-localization Version ^1.3
nesbot/carbon Version ^2.19