承接 nestboxphp/babbler 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nestboxphp/babbler

最新稳定版本:v0.0.6-alpha

Composer 安装命令:

composer require nestboxphp/babbler

包简介

Content management for website/blog functionality.

README 文档

README

Settings

Setting Description Default
babblerAuthorSize defines author column character width 32
babblerCategorySize defines category column character width 64
babblerSubCategorySize defines sub_category column character width 64
babblerTitleSize defines title column character width 255

Usage

Add Entry

add_entry(
    string $category,
    string $subCategory,
    string $title,
    string $content,
    string $author,
    string $created = null,
    string $published = "",
    bool   $isDraft = false,
    bool   $isHidden = false
): int|false

Edit Entry

edit_entry(
    string|int $entry_id,
    string     $editor,
    string     $category = "",
    string     $subCategory = "",
    string     $title = "",
    string     $content = "",
    string     $published = "",
    bool       $isDraft = null,
    bool       $isHidden = null,
): int|false

Delete Entry

delete_entry(int $entry_id): bool

Search Entries

search_entries(string $words, string $category = "*", bool $strict = true, int $buffer = 100): array

Search Title

search_title(string $title): array

Search URL Title

search_url_title(string $title): array

Fetch Entry Table

fetch_entry_table(string $orderBy = "", string $sort = "", int $limit = 50, int $start = 0): array

Fetch Entry

fetch_entry(int $entry_id): array

Fetch Categories

fetch_categories(): array

Fetch Subcategories

fetch_sub_categories(string $category = ''): array

Fetch Entries by Category

fetch_entries_by_category(string $category, string $subCategory = '', string $orderBy = 'created', string $sort = '', int $start = 0, int $limit = 10): array

Fetch Entry by Category and Title

fetch_entry_by_category_and_title(string $category, string $title, string $subCategory = ''): array

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0
  • 更新时间: 2024-05-12