PHP Components Library is a library whose main purpose is to integrate components with PHP functions.
| Required | Link |
|---|---|
| Tailwind | http://tailwindcss.com |
| Flowbite | ✅ included |
- Add the code component you like in your assets folder.
Example:
include_once 'assets/path_to_file/buttons.php';- Include the component in your php files.
Example of a button component in your html code (must be a .php file):
//buttonAdd('Label of the button', 'page to go when clicked',padding [optionnal])
<?php buttonAdd('ADD PARAGRAPH', 'add_paragraph.php'); ?>- Integrate simple components with a single call of a function
- Easy to use
- Customizable
PHP Components Library is made from Flowbite components for Tailwind

