argora/tabler-assets

Compiled Tabler UI assets (CSS, JS, fonts, etc.) for PHP projects without NPM

Installs: 9

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:JavaScript

1.4.0 2025-07-19 09:25 UTC

This package is not auto-updated.

Last update: 2025-07-23 09:24:33 UTC


README

This package provides the compiled Tabler UI assets (CSS, JS, fonts, etc.) for PHP projects that do not use NPM or Webpack.

It is designed to work with frameworks like Slim, Laravel, Symfony, or any plain PHP setup.
You can install it via Composer and automatically copy the assets into your public directory using post-install scripts.

📦 Package Contents

After installation, you'll find the following folders inside:

vendor/argora/tabler-assets/public/
├── css/
├── js/
├── img/
└── libs/

✅ How to Use in Your PHP Project

  1. Require the package via Composer:
composer require argora/tabler-assets
  1. Add the following to your composer.json to automatically copy the assets to your public/ directory:
"scripts": {
  "post-install-cmd": [
    "@copy-tabler"
  ],
  "post-update-cmd": [
    "@copy-tabler"
  ],
  "copy-tabler": [
    "mkdir -p public/assets",
    "cp -r vendor/argora/tabler-assets/public/* public/assets/"
  ]
}
  1. Reference the assets in your HTML or Twig templates:
<link rel="stylesheet" href="/assets/css/tabler.min.css">
<script src="/assets/js/tabler.min.js"></script>

🔄 Updating

To get the latest version of the assets:

composer update argora/tabler-assets

This will pull any new versions and re-copy the assets if you have the scripts configured.

📖 About This Package

This package redistributes the compiled output from the official Tabler UI project.

It is not affiliated with the Tabler authors.
All original rights and credit belong to the Tabler team. This package simply makes the compiled output accessible via Composer for projects that do not use NPM.

📝 License

This package and the original Tabler code are distributed under the MIT License.

Tabler is © the original authors at https://github.com/tabler/tabler.
This package simply republishes their compiled output for convenience in Composer-based PHP workflows.