liberty-technologies / components
Shared components
Fund package maintenance!
liberty-technologies
Installs: 118
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.2
- blade-ui-kit/blade-icons: ^1.8
- gehrisandro/tailwind-merge-laravel: ^1.3
- illuminate/contracts: ^11.0|^12.0
- spatie/laravel-package-tools: ^1.19
Requires (Dev)
- larastan/larastan: ^3.1
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.1.1||^7.10.0
- orchestra/testbench: ^10.0.0||9.0.0
- pestphp/pest: ^3.7
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.1
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- roave/security-advisories: dev-latest
- spatie/laravel-ray: ^1.35
README
Shared Laravel View Components for Liberty Technologies
Requirements
You must have installed Tailwind 3.0
Installation
You can install the package via composer:
composer require liberty-technologies/components
Then, publish the configuration for Blade Icons, uncomment the default icon set, and create the resources/svg
directory
php artisan vendor:publish --tag=blade-icons
Add the components directory to tailwind.config.js content array
"./vendor/liberty-technologies/components/resources/views/**/*.blade.php",
Optionally, you can publish the views using
php artisan vendor:publish --tag="components-views"
Usage
Buttons
Delete
Displays a delete button and asks for confirmation when clicked
Variables
object
for it will check thedelete
policy.route
the given route to redirect after confirmation
<x-lt-components::buttons.delete :object="$splitter" :route="route('splitters.destroy', $splitter)" />
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.
TODO
Add to Readme
Buttons
- Delete
- Collapse
- Primary
- Submit
Card
- Card
Description List
- List
- Item
Header
- Header
- Dropdown
- Dropdown Item
Inputs
- Text
- Label
- Error
Links
- Create
- Edit
- Info
- Internal
- External
- Text
- View
Sidebar
- Sidebar
- Title
- Item
Table
- Table
- Table Row
- Table Cell Header
- Table Cell
Misc
- Errors
- Footer
- Spinner
- Widget