Milan Felix ล ulc
๐ฆ Package maker โข ๐ท Architect ModernTV โข ๐ PHP enthusiast โข ๐ฟ Multimedia engineer โข ๐จโ๐ฉโ๐งโ๐ฆ Father โข โ๏ธ Coffee-based
How To Build Readme Webโ
26.09.2020
@xf3l1x
f3l1x.io
# Console
Contributte Console is super yummy hummy tool, you gonna love it.
![](https://onlytruestats.tld/travis/working/contributte/console)
![](https://onlytruestats.tld/composer/downloads/15M/contributte/console)
![](https://onlytruestats.tld/phpstan/oh-yes/contributte/console)
![](https://onlytruestats.tld/release/639.2.1/stables/contributte/console)
## Install
Please, just install it and you'll get all the love of the world.
```
please install contributte/console
```
## Usage
Only think about it and console will call the proper command.
```
$console = new Console();
$console->add(new YourCommand());
$console->run($it);
```
## Help
Don't hesitate to ask me about anything, I am here for you. Felix
~100 repositories
yummy
npx create-vuepress-site contributte
{
"scripts": {
"docs:dev": "vuepress dev src",
"docs:build": "vuepress build src"
}
}
echo "Hello" > src/index.md
GITHUB
API
DATA
repos.json
RESOURCES
repos.json
VCS
git repos
VUE PAGES
{$repo}.md
clone/pull repos
drain metadata
generate pages
fetch repos
fetch team
fetch releases
GITHUB
TOKEN
{
"contributte/console": {
"org": "contributte",
"name": "console",
"category": "symfony",
"enabled": true,
"priority": 100,
"docs": { "v": "v1" },
"description": "๐ฅ Best minimal console (symfony/console) to Nette Framework (@nette)",
"releases": {
"last": {
"org": "contributte",
"repo": "console",
"tag": "v0.8.0",
"name": "v0.8.0",
"created_at": "2020-01-03T18:18:33Z",
"published_at": "2020-01-03T18:40:33Z",
"html_url": "https://github.com/contributte/console/releases/tag/v0.8.0",
"body": "<p>Diff: <a class=\"commit-link\" href=\"https://github.com/contributte/console/compare/v0.7.1...v0.8.0\"><tt>v0.7.1...v0.8.0</tt></a></p>\n<p>Changes:</p>\n<ul>\n<li>Allows symfony/console ^5.0.0 <a class=\"commit-link\" data-hovercard-type=\"commit\" data-hovercard-url=\"https://github.com/contributte/console/commit/9b043282ed3063ff992d4223618dffc99380a074/hovercard\" href=\"https://github.com/contributte/console/commit/9b043282ed3063ff992d4223618dffc99380a074\"><tt>9b04328</tt></a></li>\n<li>Fixed helperSet <a class=\"commit-link\" data-hovercard-type=\"commit\" data-hovercard-url=\"https://github.com/contributte/console/commit/ebcac95e76216d14452510aa8d33ac15f9eed791/hovercard\" href=\"https://github.com/contributte/console/commit/ebcac95e76216d14452510aa8d33ac15f9eed791\"><tt>ebcac95</tt></a></li>\n</ul>"
}
},
"stars": 54, "watchers": 54,
"forks": 18, "issues": 2
}
}
repos.json
---
metaTitle: '<%= $repository.org+" / "+$repository.name %> - <%= $repository.description %>'
meta:
- name: description
content: '<%= $repository.description %>'
- name: keywords
content: php, nette, <%= $repository.org %>, <%= $repository.name %>
---
<%= $readme %>
package.tpl
const _ = require('lodash');
const compiler = _.template(template);
const compiled = compiler({
$readme: fs.readFileSync(readmePath),
$repository: repo
});
generator
readme versions
pkg
โโโ .docs
โ โโโ README.md
โโโ src
โ โโโ *.php
โโโ tests
โโโ README.md
v1
pkg
โโโ .docs
โ โโโ page1.md
โ โโโ page2.md
โโโ src
โ โโโ *.php
โโโ tests
โโโ README.md
v2
pkg
โโโ src
โ โโโ *.php
โโโ tests
โโโ README.md
v0
npx vuepress build site
wait Extracting site metadata...
tip Apply local theme at /path-to-contributte/.vuepress/theme...
tip Apply theme local (extends @vuepress/theme-default) ...
tip Apply plugin container (i.e. "vuepress-plugin-container") ...
tip Apply plugin @vuepress/register-components (i.e. "@vuepress/plugin-register-components") ...
tip Apply plugin @vuepress/active-header-links (i.e. "@vuepress/plugin-active-header-links") ...
tip Apply plugin @vuepress/search (i.e. "@vuepress/plugin-search") ...
tip Apply plugin @vuepress/nprogress (i.e. "@vuepress/plugin-nprogress") ...
tip Apply plugin @vuepress/google-analytics (i.e. "@vuepress/plugin-google-analytics") ...
tip Apply plugin sitemap (i.e. "vuepress-plugin-sitemap") ...
tip Apply plugin smartlook (i.e. "vuepress-plugin-smartlook") ...
โ Client
Compiled successfully in 32.98s
โ Server
Compiled successfully in 26.48s
vercel
Vercel CLI 20.1.1
๐ Linked to nette/contributte (created .vercel and added it to .gitignore)
โ๏ธ The `name` property in now.json is deprecated (https://vercel.link/name-prop)
๐ Inspect: https://vercel.com/nette/contributte/1ovl43y92 [15s]
โ
Preview: https://contributte-f3l1x.nette1.vercel.app [copied to clipboard] [1m]
๐ To deploy to production (contributte.org +2), run `vercel --prod`
github.com/planette/playground
github.com/contributte/bare
features
heatbadger.now.sh/github/readme/contributte/latte/
Heatbadger
badgen.net/travis/contributte/console
Badgen.net
composer
documentation
versions
maintainers
support & thanks
contact
# Datagrid
## Table of Content
- [Actions](#actions)
- [Api](#api)
- [Parameters](#parameters)
- [Icon](#icon)
- [Class](#class)
- [Title](#title)
- [Confirmation](#confirmation)
- [Ajax](#ajax)
- [Redrawing the data](#redrawing-the-data)
- [Redrawing one row](#redrawing-one-row)
## Usage
....
TOC
# Datagrid
<!-- contributte/toc -->
## Table of Content
- [Actions](#actions)
- [Api](#api)
- [Parameters](#parameters)
- [Icon](#icon)
- [Class](#class)
- [Title](#title)
- [Confirmation](#confirmation)
- [Ajax](#ajax)
- [Redrawing the data](#redrawing-the-data)
- [Redrawing one row](#redrawing-one-row)
<!-- /contributte/toc -->
## Usage
....
TOC
## Ajax
### Redrawing the data
```php
public function handleDelete($id)
{
$this->connection->delete('ublaboo_example')
->where('id = ?', $id)
->execute();
$this->flashMessage("Item deleted [$id] (actually, it was not)", 'info');
if ($this->isAjax()) {
$this->redrawControl('flashes');
$this['actionsGrid']->reload();
} else {
$this->redirect('this');
}
}
```
MEDIA
## Ajax
### Redrawing the data
<!-- contributte/media -->
<iframe src="https://www.youtube.com/embed/dyMd0V7p0OU"></iframe>
<!-- /contributte/media -->
```php
public function handleDelete($id)
{
$this->connection->delete('ublaboo_example')
->where('id = ?', $id)
->execute();
$this->flashMessage("Item deleted [$id] (actually, it was not)", 'info');
if ($this->isAjax()) {
$this->redrawControl('flashes');
$this['actionsGrid']->reload();
} else {
$this->redirect('this');
}
}
```
MEDIA
Contributte Status
releasebutler.now.sh
automation wins
set expectations
keep standards
step-by-step
deliver, deliver, deliver
have fun
[0.99 vs 1.01]
@xf3l1x
f3l1x.io
?
What? Why? How? No? Oh.
@xf3l1x
f3l1x.io
By Milan Felix ล ulc
๐ฆ Package maker โข ๐ท Architect ModernTV โข ๐ PHP enthusiast โข ๐ฟ Multimedia engineer โข ๐จโ๐ฉโ๐งโ๐ฆ Father โข โ๏ธ Coffee-based