Follow these simple steps to install and set up Zinq for your Laravel project. Zinq is compatible with Laravel 11+ and Livewire 3.5+, so please confirm your project meets these requirements before proceeding.
Purchase a Zinq license from our website. Once your payment is confirmed, a license token will be sent to your registered email.
Open your terminal in the Laravel project directory and run this command to add a new composer repository:
composer config repositories.zinq '{"type": "composer", "url": "https://zinq.repo.repman.io"}'
Configure Composer package manager global authentication to access Zinq package:
composer config --global --auth http-basic.zinq.repo.repman.io token ${TOKEN}
Install Zinq package using Composer package manager
composer require mattb-it/zinq
Add Zinq assets
<head>
<!-- Add your custom scripts before @zinqStyles -->
@vite('...css')
...
@zinqStyles
@zinqHeadScripts
</head>
<body>
@zinqScripts
</body>
(optionally) Publish Zinq fonts. Read more about Zinq fonts configuration
php artisan vendor:publish --tag=zinq-fonts
Zinq is built using Tailwind CSS version 3, offering a modern and consistent design system. However, you don’t need to install Tailwind in your project to use Zinq. The framework includes precompiled styles served through the @zinqStyles
directive, ensuring seamless integration.