sikessem / view
๐ฆ๏ธ Sikessem library builder template.
Requires
- php: >=8.2
- ext-dom: *
Requires (Dev)
- sikessem/php-devtools: ^1.2
This package is auto-updated.
Last update: 2025-04-11 00:19:01 UTC
README
Handle HTML5 and CSS3 easily
Read the documentation to learn more.
An example to see how the code works :
- The
View
code
<html>
[lang="fr"]
{color:red;}
(
<head>
(
<meta>[charset="UTF-8"]
<title>(View source)
)
<body>
(
<p>[id="main-content"]{color:blue}(Welcome to View !)
)
)
- The equivalent
HTML5
code
<!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"/> <title>View source</title> <style> html { color: red; } p#main-content { color: blue; } </style> </head> <body> <p>Welcome to View !</p> </body> </html>
The equivalent PHP5
code
<?php use Sikessem\View\Document; $document = new Document('html', 5); $document->setAttribute('lang', 'fr'); $document->setProperty('color', 'red'); $document->head->meta->charset = 'UTF-8'; $document->title = 'Welcome to View !'; $p = $document->createElement('p'); $p->setAttribute('id', 'main-content'); $p->setProperty('color', 'red'); $p->setContent('Welcome to View !'); $document->prepend($p, $body); $document->save();
๐ Documentation
The full documentation for the Sikessem View can be found here.
๐ Contribution
The main purpose of this repository is to continue evolving Sikessem. We want to make contributing to this project as easy and transparent as possible, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving Sikessem.
๐ท Code of Conduct
Sikessem has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
๐ฅ Contributing Guide
Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Sikessem.
๐๏ธ Good First Issues
We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.
๐ฌ Discussions
Larger discussions and proposals are discussed in Sikessem's GitHub discussions.
๐ Security Reports
If you discover a security vulnerability within any of Sikessem's projects, please email SIGUI Kessรฉ Emmanuel at contact@sigui.ci. All security vulnerabilities will be promptly addressed.
๐ License
View is licensed under the MIT License - see the LICENSE file for details.
Made with โค๏ธ by @siguici.