定制 tekki/core 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tekki/core

Composer 安装命令:

composer require tekki/core

包简介

Helper to build webpages

README 文档

README

Small PHP lib to build webpages in pure PHP.

Install via Composer

composer require tekki/core

HTML5

  • All HTML5 tags included

Example use of class HTML

<?php
require_once './vendor/autoload.php';
use tekki\core\html\HTML;
use tekki\core\w3css\W3css as W3;

$html = new HTML();
$html->setLang('de');
$head = $html->head();
$head->meta()->setCharsetUtf8();
$head->meta()->setViewport();
$head->meta()->setAuthor('Authorname');
$head->meta()->setApplicationName('Applicationname');
$head->meta()->setDescription('This Application is for showing Texts or Images in a HTML-Format.');
$head->meta()->setKeywords('Composer PHP HTML5 Bibliothek');
$head->includeCSS('https://www.w3schools.com/w3css/4/w3.css');
$body = $html->body();
$body->setClass(W3::BLACK);
$header = $body->header();
$header->setClass(W3::BLUE_GREY);
$h1 = $header->h1();
$h1->setClass(W3::TEXT_DEEP_ORANGE);
$h1->text('Composer PHP HTML5 Bibliothek');
$div = $body->div();
$button = $div->button();
$button->setClass(W3::INPUT.W3::BLUE.W3::HOVER_AMBER);
$button->onClick('alert(\'Hello World\');');
$button->text('Press me!');
$main = $div->main();
$main->setClass(W3::DARK_GREY);
$main->text('Content');
$footer = $body->footer();
$footer->setClass(W3::BLUE_GREY);
$footer->text('Footer');
?>

统计信息

  • 总下载量: 68
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-12-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固