PHPackages                             luberius/php-tw - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. luberius/php-tw

ActiveProject[Utility &amp; Helpers](/categories/utility)

luberius/php-tw
===============

A PHP project template with Tailwind CSS integration

v1.0.5(1y ago)013MITPHPPHP ^8.0

Since Sep 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/luberius/php-tw)[ Packagist](https://packagist.org/packages/luberius/php-tw)[ RSS](/packages/luberius-php-tw/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (7)Used By (0)

PHP-TW: PHP Project Template with Tailwind CSS
==============================================

[](#php-tw-php-project-template-with-tailwind-css)

PHP-TW is a project template that integrates PHP with Tailwind CSS, providing a streamlined setup for web development projects. It offers a pre-configured environment that you can quickly set up using Composer.

Features
--------

[](#features)

- Quick project setup with a single Composer command
- Integrated Tailwind CSS for efficient styling
- Built-in development server with live CSS updates
- Pre-configured project structure for immediate development

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Composer

Installation
------------

[](#installation)

You can create a new PHP-TW project using Composer's `create-project` command:

```
composer create-project luberius/php-tw my-new-project
```

This will create a new directory `my-new-project` with all the necessary files and dependencies installed.

Usage
-----

[](#usage)

### Starting the Development Server

[](#starting-the-development-server)

After creating your project, navigate to the project directory and start the development server:

```
cd my-new-project
php wand serve
```

This will start a PHP development server and Tailwind CSS watcher. Your project will be accessible at `http://localhost:6969`.

Project Structure
-----------------

[](#project-structure)

```
my-new-project/
├── app/
│   ├── css/
│   │   └── app.css
│   └── index.php
├── bootstrap/
│   ├── app.php
│   └── commands/
│       └── ServeCommand.php
├── vendor/
├── .gitignore
├── composer.json
├── tailwind.config.js
└── wand

```

- `app/`: Contains your application code
- `app/css/app.css`: Main CSS file (with Tailwind directives)
- `app/index.php`: Entry point of your application
- `bootstrap/`: Contains files for bootstrapping your application
- `vendor/`: Composer dependencies
- `tailwind.config.js`: Tailwind CSS configuration file
- `wand`: Command-line script for various project tasks

Customization
-------------

[](#customization)

### Tailwind CSS

[](#tailwind-css)

You can customize Tailwind CSS by editing the `tailwind.config.js` file in your project root. Refer to the [Tailwind CSS documentation](https://tailwindcss.com/docs/configuration) for more information.

### Adding New Commands

[](#adding-new-commands)

To add new commands to your project, create a new PHP file in the `bootstrap/commands/` directory. The command will be automatically registered and available through the `wand` script.

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

This project is open-sourced software licensed under the MIT license.

Support
-------

[](#support)

If you encounter any problems or have any questions, please open an issue on the [GitHub repository](https://github.com/luberius/php-tw).

Acknowledgements
----------------

[](#acknowledgements)

- [Tailwind CSS](https://tailwindcss.com/)
- [Symfony Console Component](https://symfony.com/doc/current/components/console.html)

---

Happy coding with PHP-TW!

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

603d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3870c96245189378af893b129d41e499cb8f847b06d6e307b5e7f4713f1e9219?d=identicon)[luberius](/maintainers/luberius)

---

Top Contributors

[![luberius](https://avatars.githubusercontent.com/u/50946587?v=4)](https://github.com/luberius "luberius (7 commits)")

### Embed Badge

![Health badge](/badges/luberius-php-tw/health.svg)

```
[![Health](https://phpackages.com/badges/luberius-php-tw/health.svg)](https://phpackages.com/packages/luberius-php-tw)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[overtrue/php-opencc

中文简繁转换，支持词汇级别的转换、异体字转换和地区习惯用词转换（中国大陆、台湾、香港、日本新字体）。基于 \[BYVoid/OpenCC\](https://github.com/BYVoid/OpenCC) 数据实现。

12130.7k](/packages/overtrue-php-opencc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
