An open API service indexing awesome lists of open source software.

https://github.com/getargora/tabler-assets

Compiled Tabler CSS/JS/img/libs for PHP apps (no NPM needed)
https://github.com/getargora/tabler-assets

Last synced: 5 months ago
JSON representation

Compiled Tabler CSS/JS/img/libs for PHP apps (no NPM needed)

Awesome Lists containing this project

README

          

# Tabler Assets for PHP Projects

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:

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

---

## ✅ How to Use in Your PHP Project

1. **Require the package via Composer:**

```bash
composer require argora/tabler-assets
```

2. **Add the following to your `composer.json` to automatically copy the assets to your `public/` directory:**

```bash
"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/"
]
}
```

3. **Reference the assets in your HTML or Twig templates:**

```bash

```

---

## 🔄 Updating

To get the latest version of the assets:

```bash
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

- **Version:** 1.4.0
- **License:** MIT
- **Source:** [https://github.com/tabler/tabler](https://github.com/tabler/tabler)

This package redistributes the compiled output from the official [Tabler UI](https://tabler.io) 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](https://github.com/tabler/tabler).
> This package simply republishes their compiled output for convenience in Composer-based PHP workflows.