+
Skip to content

viewi/viewi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stand With Ukraine

Viewi

Viewi

Unique and efficient front-end framework for PHP

Examples

<div>
    <Thumbnail blog="$blog" />
    <a href="{$blog->url}">
        <h3>{$blog->title}</h3>
        <p>{$blog->description}</p>
    </a>
    <LikeButton liked="{$blog->favorite}" (click)="like" />
</div>
class Blog extends BaseComponent
{
    public BlogModel $blog;

    public function like(bool $liked)
    {
        $this->blog->favorite = !$this->blog->favorite;
    }
}

Blog

Discover more at https://viewi.net.

Documentation

https://viewi.net/docs

Discussions (Forum)

Testing

Run tests

All tests:

php vendor/bin/codecept run

Unit tests:

php vendor/bin/codecept run Unit

Specific test:

php vendor/bin/codecept run Unit JsTranspilerTest

Create test

php vendor/bin/codecept generate:test Unit JsTranspiler

Support

We all have full-time jobs and dedicate our free time to this project, and we would appreciate Your help of any kind. If you like what we are creating here and want us to spend more time on this, please consider supporting:

  • Give us a star⭐.
  • Support me on buymeacoffee
  • Follow us on Twitter.
  • Contribute by sending pull requests.
  • Any other ideas or proposals? Please mail me contact@viewi.net.
  • Feel welcome to share this project with your friends.

License

Copyright (c) 2020-present Ivan Voitovych

Please see MIT for license text

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载