viewi/viewi

Powerful tool for building progressive and completely reactive web applications

Maintainers

Details

github.com/viewi/viewi

Source

Issues

Fund package maintenance!
www.buymeacoffee.com/ivan.v

Installs: 1 550

Dependents: 6

Suggesters: 0

Security: 0

Stars: 582

Watchers: 14

Forks: 26

Open Issues: 2

Language:JavaScript


README

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