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)
- Host: GitHub
- URL: https://github.com/getargora/tabler-assets
- Owner: getargora
- License: mit
- Created: 2025-07-19T09:16:09.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-19T09:54:28.000Z (11 months ago)
- Last Synced: 2025-09-24T10:12:27.709Z (9 months ago)
- Language: JavaScript
- Size: 8.28 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.