Skip to content

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

License

Notifications You must be signed in to change notification settings

getargora/tabler-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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:

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published