sikessem/view

๐Ÿ“ฆ๏ธ Sikessem library builder template.

dev-main / 0.x-dev 2025-04-11 00:16 UTC

This package is auto-updated.

Last update: 2025-04-11 00:19:01 UTC


README

Handle HTML5 and CSS3 easily

php-icon packagist-version-icon packagist-download-icon license-icon actions-icon twitter-icon

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.