https://github.com/viewi/viewi
Unique and efficient front-end framework for PHP
https://github.com/viewi/viewi
csr engine frontend html javascript php reactive ssr
Last synced: 14 days ago
JSON representation
Unique and efficient front-end framework for PHP
- Host: GitHub
- URL: https://github.com/viewi/viewi
- Owner: viewi
- License: mit
- Created: 2020-09-28T12:37:08.000Z (over 4 years ago)
- Default Branch: v2
- Last Pushed: 2025-03-23T08:06:28.000Z (about 1 month ago)
- Last Synced: 2025-03-23T09:18:56.639Z (about 1 month ago)
- Topics: csr, engine, frontend, html, javascript, php, reactive, ssr
- Language: JavaScript
- Homepage: https://viewi.net
- Size: 2.94 MB
- Stars: 576
- Watchers: 14
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://stand-with-ukraine.pp.ua)
Viewi
Unique and efficient front-end framework for PHP
### Examples
```html
``````php
class Blog extends BaseComponent
{
public BlogModel $blog;public function like(bool $liked)
{
$this->blog->favorite = !$this->blog->favorite;
}
}
```
Discover more at [https://viewi.net](https://viewi.net).
## Documentation
[https://viewi.net/docs](https://viewi.net/docs/introduction)
[Discussions (Forum)](https://github.com/viewi/viewi/discussions)
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](https://www.buymeacoffee.com/ivan.v)
- Follow us on [Twitter](https://twitter.com/viewiphp).
- Contribute by sending pull requests.
- Any other ideas or proposals? Please mail me [email protected].
- Feel welcome to share this project with your friends.License
--------Copyright (c) 2020-present Ivan Voitovych
Please see [MIT](/LICENSE) for license text