Download the PHP package virtualorz/tag without Composer
On this page you can find all versions of the php package virtualorz/tag. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package tag
Installation
install by composer
composer require virtualorz/tag
edit config/app.php
'providers' => [
...
Virtualorz\Tag\TagServiceProvider::class,
Virtualorz\Pagination\PaginationServiceProvider::class,
...
]
'aliases' => [
...
'Tag' => Virtualorz\Tag\TagFacade::class,
'Pagination' => Virtualorz\Pagination\PaginationFacade::class,
...
]
migration db table
php artisan migrate
usage
1. get cate list data
$dataSet = Tag::list($page=0,$is_backend=0);
$page : page for data display,
$is_backend : if 0 then display disabled data, if 1 then display enable data only
$dataSet : return date
$_GET['keyword'] : search for name keyword
2. add data to cate
Tag::add();
with request variable name required : tag-name,tag-enable
3. get cate detail
$dataRow = Tag::detail($tag_id);
4. edit data to cate
Tag::edit();
with request variable name required : tag-name,tag-enable
5. delete cate data
Tag::delete();
with request variable name required : id as integer or id as array
6. enable cate data
Tag::enable($type);
with request variable name required : id as integer or id as array $type is 0 or1 , 0 to disable i to enable
All versions of tag with dependencies
PHP Build Version
Package Version
Requires
virtualorz/pagination Version
^1.0.0
The package virtualorz/tag contains the following files
Loading the files please wait ....