Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yii-extension/simple-view-bulma
Simple view bulma web application for yii.
https://github.com/yii-extension/simple-view-bulma
bulma php8 php81 yii3
Last synced: about 1 month ago
JSON representation
Simple view bulma web application for yii.
- Host: GitHub
- URL: https://github.com/yii-extension/simple-view-bulma
- Owner: yii-extension
- License: bsd-3-clause
- Created: 2021-04-14T15:21:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-05T06:43:26.000Z (about 1 year ago)
- Last Synced: 2024-09-28T20:41:05.239Z (about 2 months ago)
- Topics: bulma, php8, php81, yii3
- Language: PHP
- Homepage:
- Size: 126 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Simple view bulma web application for yii.
[![Total Downloads](https://poser.pugx.org/yii-extension/simple-view-bulma/downloads.png)](https://packagist.org/packages/yii-extension/simple-view-bulma)
[![Build Status](https://github.com/yii-extension/simple-view-bulma/workflows/build/badge.svg)](https://github.com/yii-extension/simple-view-bulma/actions?query=workflow%3Abuild)
[![codecov](https://codecov.io/gh/yii-extension/simple-view-bulma/branch/master/graph/badge.svg?token=tUznVx9Em7)](https://codecov.io/gh/yii-extension/simple-view-bulma)
[![static analysis](https://github.com/yii-extension/simple-view-bulma/workflows/static%20analysis/badge.svg)](https://github.com/yii-extension/simple-view-bulma/actions?query=workflow%3A%22static+analysis%22)
[![type-coverage](https://shepherd.dev/github/yii-extension/simple-view-bulma/coverage.svg)](https://shepherd.dev/github/yii-extension/simple-view-bulma)## Directory structure
config/ application directory configurations
common contains common config local classes
src/ application directory
Action contains action classes
Asset contains asset classes
Handler contains handlers classes
ViewInjection contains view injection classes## Installation
```shell
composer create-project --prefer-dist --stability dev yii-extension/simple-app
cd
composer require yii-extension/simple-view-bulma:@dev
```## Using translations
By default the package includes the translation into spanish and russian.
The translation is in the `/storage/translations` directory.
## Translation extractor
```shell
composer require yiisoft/translator-extractor --prefer-dist
```The root directory of simple-app: `config/packages/yiisoft-translator-extractor/console.php`:
```php
[
'__construct()' => [
'messageReader' => static fn (Aliases $aliases) => new \Yiisoft\Translator\Message\Php\MessageSource(
$aliases->get('@simple-view-bulma/translations')
),
'messageWriter' => static fn (Aliases $aliases) => new \Yiisoft\Translator\Message\Php\MessageSource(
$aliases->get('@simple-view-bulma/translations')
),
],
],
];
```The root directory of simple-app:
```shell
./yii translator/extract --languages=es --only=**/vendor/yii-extension/simple-view-bulma/storage/**
```## Codeception testing
The package is tested with [Codeception](https://github.com/Codeception/Codeception). To run tests:
```shell
php -S 127.0.0.1:8080 -t public > yii.log 2>&1 &
vendor/bin/codecept run
```## Static analysis
The code is statically analyzed with [Psalm](https://psalm.dev/docs). To run static analysis:
```shell
./vendor/bin/psalm
```## License
The `yii-extension/simple-view-bulma` for Yii Packages is free software.
It is released under the terms of the BSD License. Please see [`LICENSE`](./LICENSE.md) for more information.
Maintained by [Yii Extension](https://github.com/yii-extension).
## Support the project
[![Official website](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](https://www.yiiframework.com/)
[![Open Collective](https://img.shields.io/badge/Open%20Collective-sponsor-7eadf1?logo=open%20collective&logoColor=7eadf1&labelColor=555555)](https://opencollective.com/yiisoft)