ivanaquino / laravel-taildashboards
Laravel Taildashboards a seamless integration between Taildashboards and Laravel, allowing developers to easily incorporate beautiful, pre-designed dashboard components into their Laravel applications.This is my package laravel-taildashboards
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 2
Language:Blade
Requires
- php: ^8.1
- illuminate/contracts: ^10.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.8
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.8
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
This package is auto-updated.
Last update: 2025-01-09 15:12:52 UTC
README
This Laravel package provides an effortless way to implement beautiful and responsive dashboard templates from Taildashboards. Taildashboards offers a collection of pre-designed templates built with Tailwind CSS, and this package helps you to incorporate them into your Laravel application with ease.This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require ivanaquino/laravel-taildashboards
You need tailwind installation on your laravel, if you're using jetstream or breeze you have it installed but if not you can follow the official tailwindcss guide
You will need the npm package @tailwindcss/typography, and add the font config to your tailwind.config.js
export default { theme: { extend: { fontFamily: { sans: ["Figtree", ...defaultTheme.fontFamily.sans], }, }, }, plugins: [require("@tailwindcss/typography")], };
If you're having problems with broken styles you can add this line into tailwind.config.js
export default { content: [ // ... "./vendor/ivanaquino/laravel-taildashboards/resources/views/**/*.blade.php", // ... ], };
You can publish the config file with:
php artisan vendor:publish --tag="taildashboards-config"
In this file you'll be able to edit the menu for the dashboard
'menu' => [ [ 'label' => 'Dashboard', 'route' => 'dashboard', 'active_route' => 'dashboard', 'icon' => 'home', ], [ 'label' => 'View 1', 'route' => 'view-1', 'active_route' => 'view-1', 'icon' => 'circle', ], [ 'label' => 'View 2', 'route' => 'view-2', 'active_route' => 'view-2', 'icon' => 'home', ], ],
Optionally, you can publish the views using
php artisan vendor:publish --tag="laravel-taildashboards-views"
Usage
# As blade layout @extends('laravel-taildashboards::layouts.tailapp') @section('content') Lorem ipsum dolor sit amet consectetur adipisicing elit. @endsection # Or as a component layout <x-laravel-taildashboards::layout-tailapp> Lorem, ipsum dolor sit amet consectetur </x-laravel-taildashboards::layout-tailapp>
Availables
@extends('laravel-taildashboards::layouts.tailapp') @extends('laravel-taildashboards::layouts.tailism') <x-laravel-taildashboards::layout-tailapp> <x-laravel-taildashboards::layout-tailism>
Roadmap
- TailApp
- TailTube
- TailFlix
- TailLism
- TailAdmin
- TailSocial
- Custom components for each dashboard
- Test suit
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.