Skip to content

AndreaCodinLife/PHP-Components-Library

Repository files navigation

drawing

PHP Components Library

PHP Components Library is a library whose main purpose is to integrate components with PHP functions.

How to use it

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'); ?>

Result:
drawing

Features

  • Integrate simple components with a single call of a function
  • Easy to use
  • Customizable

Behind

PHP Components Library is made from Flowbite components for Tailwind

About

PHP Components Library is a library whose main purpose is to integrate components with PHP functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages