WordPress Content Framework

Overview

WP Content Framework

CI Status License: GPL v2+ PHP: >=5.6 WordPress: >=3.9.3

WordPressのプラグインやテーマ開発用のフレームワークです。

Table of Contents

Details

要件

  • PHP 5.6 以上
  • WordPress 3.9.3 以上

手順

プラグインからの利用

  1. プラグインフォルダの作成 wp-content/plugins フォルダに プラグイン用のフォルダを作成 例:wp-content/plugins/example

  2. プラグインファイルの作成 作成したプラグインフォルダに適当なPHPファイル (例:autoload.php) を作成 標準プラグイン情報 を参考にプラグインの情報を入力

  3. このライブラリのインストール composer を使用してインストールします。 作成したプラグインフォルダで以下のコマンドを実行します。 composer require wp-content-framework/core

  4. ライブラリの使用 作成したプラグインファイルにライブラリを使用する記述を追記します。 プラグインファイルはおおよそ以下のようになります。

最終的なプラグインの構成は以下のようになります。

example
    |
    - autoload.php
    |
    - functions.php
    |
    - assets
    |
    - configs
    |
    - languages
    |
    - src
       |
        - classes
       |     |
       |     - controllers
       |     |      |
       |     |      - admin
       |     |      |
       |     |      - api
       |     |
       |     - models
       |     |
       |     - tests
       |
       - views
           |
           - admin
               |
               - help

テーマからの利用

  1. テーマフォルダの作成 wp-content/themes フォルダに テーマ用のフォルダを作成 例:wp-content/themes/example

  2. テーマ用CSSの作成 作成したテーマフォルダに style.css を作成 テーマスタイルシート を参考にテーマの情報を入力

  3. このライブラリのインストール composer を使用してインストールします。 作成したプラグインフォルダで以下のコマンドを実行します。 composer require wp-content-framework/core

  4. ライブラリの使用 テーマフォルダに functions.php を作成しライブラリを使用する記述を追記します。 functions.php はおおよそ以下のようになります。

最終的なテーマの構成は以下のようになります。

example
    |
    - style.css
    |
    - functions.php
    |
    - assets
    |
    - configs
    |
    - languages
    |
    - src
    |  |
    |   - classes
    |  |     |
    |  |     - controllers
    |  |     |      |
    |  |     |      - admin
    |  |     |      |
    |  |     |      - api
    |  |     |
    |  |     - models
    |  |     |
    |  |     - tests
    |  |
    |  - views
    |      |
    |      - admin
    |          |
    |          - help
    |
    - header.php
    - footer.php
    - index.php
    - searchform.php
    - sidebar.php
    ...

  複数のプラグイン及びテーマでこのライブラリを使用する場合、モジュールも含めて最新のものが自動的に使用されます。

モジュール

必要に応じてモジュールを追加します。 いくつかのモジュールは依存関係によって自動的にインストールされます。

  • core 最新のモジュールの読み込み機能などのコアの機能を提供します。
    • 依存モジュール
      • common
      • cache
  • common 共通で使用する機能を提供します。
  • cache キャッシュ機能を提供します。
    • 関連モジュール
      • cron 期限切れのキャッシュを定期的に削除する場合に必要です。
  • db データベースを扱う機能を提供します。
  • presenter 描画機能を提供します。
  • view 共通の描画テンプレートを提供します。
    • 依存モジュール
      • presenter
  • cron cron機能を提供します。
  • controller コントローラ機能を提供します。
    • 依存モジュール
      • presenter
  • admin 管理画面に関する機能を提供します。
    • 依存モジュール
      • controller
      • view
  • api APIに関する機能を提供します。
    • 依存モジュール
      • controller
  • update 更新情報を表示する機能を提供します。
    • 依存モジュール
      • presenter
  • update_check 公式ディレクトリ以外で更新を行う機能を提供します。
  • upgrade アップグレードに関する機能を提供します。
    • 関連モジュール
      • log アップグレード履歴を保存する場合に必要です。
  • mail メール送信機能を提供します。
    • 依存モジュール
      • presenter
  • log ログの機能を提供します。
    • 依存モジュール
      • db
      • cron
      • admin
    • 関連モジュール
      • mail メールを送信する場合に必要です。
  • post 投稿を扱う機能を提供します。
  • device User Agent の判定などの機能を提供します。
  • editor エディタに関連する機能を提供します。
  • social ソーシャルログイン機能を提供します。
    • 依存モジュール
      • session
  • session セッション機能を提供します。
  • custom_post カスタム投稿タイプに関する機能を提供します。
    • 依存モジュール
      • db
      • session
      • admin
      • api
  • test テスト機能を提供します。
    • 依存モジュール
      • admin

画面の追加

admin

API の追加

api

filter の追加

今後ドキュメント追加予定

cron の追加

cron

カスタム投稿タイプの追加

custom_post

テストの追加

test

コンフィグ

設定

  • configs/setting.php

設定例:

// priority => 詳細
'10' => array(

    // 設定グループ => 詳細
    'Performance' => array(

        // priority => 詳細
        '10' => array(

            // 設定名 => 詳細
            'minify_js'  => array(
                // 説明
                'label'   => 'Whether to minify js which generated by this plugin',
                // タイプ (bool or int or float or string)
                'type'    => 'bool', // [default = string]
                // デフォルト値
                'default' => true,
            ),
            'minify_css' => array(
                'label'   => 'Whether to minify css which generated by this plugin',
                'type'    => 'bool',
                'default' => true,
            ),
        ),
    ),
),

設定ページで設定可能になります。 プログラムで使用するには以下のようにします。

$this->apply_filters( 'minify_js' ) // true or false

if ( $this->apply_filters( 'minify_js' ) ) {
    // ...
}

フィルタ

  • configs/filter.php 今後追加予定

DB

  • configs/db.php db

権限

  • configs/capability.php 今後追加予定

デフォルトの動作の上書き

今後追加予定

基本設定

  • configs/config.php
設定値 説明
required_php_version 動作に必要なPHPの要求バージョン [default = 5.6]
required_wordpress_version 動作に必要なWordPressの要求バージョン [default = 3.9.3]
filter_separator filter prefix の separator [default = '/']
  • configs/settings.php
設定値 説明
admin_menu_position 管理画面のメニューの表示位置

サンプルプラグイン

Author

Comments
  • release/v1.0.2

    release/v1.0.2

    Changes

    • chore: update dependencies (868a23acb8ef36b61360095c6b82b1f093f18d25, f82d469364f555bad71a99125109d385a3098ed9, 02426ea15672ca31a5a3e345c85b281b760e51eb, bd1cf98c720ee2236251a0d3f5b137bd3e16fa4c, c956896f40ba396d90124eab0c1282138200edc4, ...)

    Base PullRequest

    default branch (https://github.com/wp-content-framework/core/tree/master)

    Command results

    Details:
    add path
    /home/runner/work/_actions/technote-space/create-pr-action/v1/node_modules/npm-check-updates/bin
    
    composer prepare
    PHP CodeSniffer Config installed_paths set to ../../phpcompatibility/php-compatibility,../../phpcompatibility/phpcompatibility-paragonie,../../phpcompatibility/phpcompatibility-wp,../../wp-coding-standards/wpcs
    
    >> Copy files.
    >>>> phpmd.xml
    >>>> phpcs.xml
    >>>> phpunit.xml
    

    stderr:

    > mkdir -p ./fixtures/.git
    > chmod -R +w ./fixtures/.git && rm -rdf ./fixtures
    > rm -f ./phpcs.xml ./phpmd.xml ./phpunit.xml
    > git clone --depth=1 https://github.com/wp-content-framework/fixtures.git fixtures
    Cloning into 'fixtures'...
    > WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/prepare.sh
    Using version ^1.0 for wp-content-framework/common
    Using version ^1.0 for wp-content-framework/cache
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 44 installs, 0 updates, 0 removals
      - Installing squizlabs/php_codesniffer (3.5.4): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing dealerdirect/phpcodesniffer-composer-installer (v0.6.2): Downloading (connecting...)Downloading (0%)           Downloading (85%)Downloading (95%)Downloading (100%)
      - Installing phpcompatibility/php-compatibility (9.3.5): Downloading (connecting...)Downloading (100%)         
      - Installing phpcompatibility/phpcompatibility-paragonie (1.3.0): Downloading (connecting...)Downloading (0%)           Downloading (70%)Downloading (100%)
      - Installing phpcompatibility/phpcompatibility-wp (2.1.0): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing wp-content-framework/common (v1.0.2): Downloading (connecting...)Downloading (100%)         
      - Installing wp-content-framework/cache (v1.0.1): Downloading (connecting...)Downloading (100%)         
      - Installing myclabs/deep-copy (1.9.5): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (100%)
      - Installing sebastian/version (2.0.1): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/resource-operations (1.0.0): Downloading (connecting...)Downloading (0%)           Downloading (65%)Downloading (100%)
      - Installing sebastian/recursion-context (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/object-enumerator (2.0.1): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/global-state (1.1.1): Downloading (connecting...)Downloading (0%)           Downloading (40%)Downloading (80%)Downloading (100%)
      - Installing sebastian/exporter (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (95%)Downloading (100%)
      - Installing sebastian/environment (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (15%)Downloading (30%)Downloading (45%)Downloading (60%)Downloading (75%)Downloading (90%)Downloading (100%)
      - Installing sebastian/diff (1.4.3): Downloading (connecting...)Downloading (0%)           Downloading (45%)Downloading (50%)Downloading (85%)Downloading (100%)
      - Installing sebastian/comparator (1.2.4): Downloading (connecting...)Downloading (0%)           Downloading (10%)Downloading (20%)Downloading (30%)Downloading (40%)Downloading (50%)Downloading (95%)Downloading (100%)
      - Installing symfony/polyfill-ctype (v1.14.0): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing symfony/yaml (v4.4.4): Downloading (connecting...)Downloading (0%)           Downloading (25%)Downloading (50%)Downloading (55%)Downloading (80%)Downloading (85%)Downloading (100%)
      - Installing doctrine/instantiator (1.3.0): Downloading (connecting...)Downloading (0%)           Downloading (45%)Downloading (95%)Downloading (100%)
      - Installing webmozart/assert (1.7.0): Downloading (connecting...)Downloading (0%)           Downloading (75%)Downloading (100%)
      - Installing phpdocumentor/reflection-common (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (65%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpdocumentor/type-resolver (1.0.1): Downloading (connecting...)Downloading (0%)           Downloading (10%)Downloading (20%)Downloading (45%)Downloading (55%)Downloading (70%)Downloading (95%)Downloading (100%)
      - Installing phpdocumentor/reflection-docblock (5.1.0): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (20%)Downloading (25%)Downloading (50%)Downloading (55%)Downloading (75%)Downloading (80%)Downloading (95%)Downloading (100%)
      - Installing phpspec/prophecy (v1.10.2): Downloading (connecting...)Downloading (0%)           Downloading (15%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (55%)Downloading (70%)Downloading (80%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpunit/php-text-template (1.2.1): Downloading (connecting...)Downloading (0%)           Downloading (35%)Downloading (100%)
      - Installing phpunit/phpunit-mock-objects (3.4.4): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpunit/php-timer (1.0.9): Downloading (connecting...)Downloading (0%)           Downloading (45%)Downloading (90%)Downloading (100%)
      - Installing sebastian/code-unit-reverse-lookup (1.0.1): Downloading (connecting...)Downloading (0%)           Downloading (55%)Downloading (100%)
      - Installing phpunit/php-token-stream (2.0.2): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpunit/php-file-iterator (1.4.5): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing phpunit/php-code-coverage (4.0.8): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpunit/phpunit (5.7.27): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phake/phake (v2.3.2): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing psr/log (1.1.2): Downloading (connecting...)Downloading (0%)           Downloading (25%)Downloading (95%)Downloading (100%)
      - Installing composer/xdebug-handler (1.4.0): Downloading (connecting...)Downloading (0%)           Downloading (40%)Downloading (70%)Downloading (100%)
      - Installing symfony/filesystem (v5.0.4): Downloading (connecting...)Downloading (0%)           Downloading (75%)Downloading (100%)
      - Installing symfony/config (v5.0.4): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (100%)
      - Installing psr/container (1.0.0): Downloading (connecting...)Downloading (0%)           Downloading (75%)Downloading (85%)Downloading (100%)
      - Installing symfony/service-contracts (v2.0.1): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing symfony/dependency-injection (v5.0.4): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing pdepend/pdepend (2.7.1): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpmd/phpmd (2.8.2): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing wp-coding-standards/wpcs (2.2.1): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating autoload files
    Using version ^0.6.2 for dealerdirect/phpcodesniffer-composer-installer
    Using version ^2.8 for phpmd/phpmd
    Using version ^3.5 for squizlabs/php_codesniffer
    Using version ^2.2 for wp-coding-standards/wpcs
    Using version ^2.1 for phpcompatibility/phpcompatibility-wp
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Nothing to install or update
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Generating autoload files
    Loading composer repositories with package information
    Installing dependencies (including require-dev) from lock file
    Nothing to install or update
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Generating autoload files
    
    composer packages
    PHP CodeSniffer Config installed_paths set to ../../phpcompatibility/php-compatibility,../../phpcompatibility/phpcompatibility-paragonie,../../phpcompatibility/phpcompatibility-wp,../../wp-coding-standards/wpcs
    

    stderr:

    > WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/packages.sh
    Using version ^1.0 for wp-content-framework/common
    Using version ^1.0 for wp-content-framework/cache
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 44 installs, 0 updates, 0 removals
      - Installing squizlabs/php_codesniffer (3.5.4): Loading from cache
      - Installing dealerdirect/phpcodesniffer-composer-installer (v0.6.2): Loading from cache
      - Installing phpcompatibility/php-compatibility (9.3.5): Loading from cache
      - Installing phpcompatibility/phpcompatibility-paragonie (1.3.0): Loading from cache
      - Installing phpcompatibility/phpcompatibility-wp (2.1.0): Loading from cache
      - Installing wp-content-framework/common (v1.0.2): Loading from cache
      - Installing wp-content-framework/cache (v1.0.1): Loading from cache
      - Installing myclabs/deep-copy (1.9.5): Loading from cache
      - Installing sebastian/version (2.0.1): Loading from cache
      - Installing sebastian/resource-operations (1.0.0): Loading from cache
      - Installing sebastian/recursion-context (2.0.0): Loading from cache
      - Installing sebastian/object-enumerator (2.0.1): Loading from cache
      - Installing sebastian/global-state (1.1.1): Loading from cache
      - Installing sebastian/exporter (2.0.0): Loading from cache
      - Installing sebastian/environment (2.0.0): Loading from cache
      - Installing sebastian/diff (1.4.3): Loading from cache
      - Installing sebastian/comparator (1.2.4): Loading from cache
      - Installing symfony/polyfill-ctype (v1.14.0): Loading from cache
      - Installing symfony/yaml (v4.4.4): Loading from cache
      - Installing doctrine/instantiator (1.3.0): Loading from cache
      - Installing webmozart/assert (1.7.0): Loading from cache
      - Installing phpdocumentor/reflection-common (2.0.0): Loading from cache
      - Installing phpdocumentor/type-resolver (1.0.1): Loading from cache
      - Installing phpdocumentor/reflection-docblock (5.1.0): Loading from cache
      - Installing phpspec/prophecy (v1.10.2): Loading from cache
      - Installing phpunit/php-text-template (1.2.1): Loading from cache
      - Installing phpunit/phpunit-mock-objects (3.4.4): Loading from cache
      - Installing phpunit/php-timer (1.0.9): Loading from cache
      - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
      - Installing phpunit/php-token-stream (2.0.2): Loading from cache
      - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
      - Installing phpunit/php-code-coverage (4.0.8): Loading from cache
      - Installing phpunit/phpunit (5.7.27): Loading from cache
      - Installing phake/phake (v2.3.2): Loading from cache
      - Installing psr/log (1.1.2): Loading from cache
      - Installing composer/xdebug-handler (1.4.0): Loading from cache
      - Installing symfony/filesystem (v5.0.4): Loading from cache
      - Installing symfony/config (v5.0.4): Loading from cache
      - Installing psr/container (1.0.0): Loading from cache
      - Installing symfony/service-contracts (v2.0.1): Loading from cache
      - Installing symfony/dependency-injection (v5.0.4): Loading from cache
      - Installing pdepend/pdepend (2.7.1): Loading from cache
      - Installing phpmd/phpmd (2.8.2): Loading from cache
      - Installing wp-coding-standards/wpcs (2.2.1): Loading from cache
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating autoload files
    Using version ^0.6.2 for dealerdirect/phpcodesniffer-composer-installer
    Using version ^2.8 for phpmd/phpmd
    Using version ^3.5 for squizlabs/php_codesniffer
    Using version ^2.2 for wp-coding-standards/wpcs
    Using version ^2.1 for phpcompatibility/phpcompatibility-wp
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Nothing to install or update
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Generating autoload files
    

    Changed files

    Changed file:
    • composer.lock

    :octocat: Repo | :memo: Issues | :department_store: Marketplace

    Type: Release 
    opened by github-actions[bot] 5
  • chore: sync workflows

    chore: sync workflows

    Changes

    • chore: sync workflows (7847adcd9e7a95c154d14a1cda688bdf7be18a10, 9958e6760452efc2f70c613e11d5a280f1b79d42, 3e3ecc91dd49f9b2f4627dc6335ee905ffe72d81, fe02bd7b80fd36726ba2b553cd9547103693e26d, 516af67b1ac942bbad79864bffb4e06ca3dbedc2)

    Base PullRequest

    default branch (https://github.com/wp-content-framework/core/tree/master)

    Command results

    Details:
    add path
    /home/runner/work/_actions/technote-space/create-pr-action/v1/node_modules/npm-check-updates/bin
    
    rm -rdf .github/workflows/.tmp
    mkdir -p .github/workflows/.tmp
    git clone --depth=1 https://github.com/technote-space/github-actions-workflows.git .github/workflows/.tmp/workflows

    stderr:

    Cloning into '.github/workflows/.tmp/workflows'...
    
    bash .github/workflows/.tmp/workflows/wp-framework/copy.sh php-test
    rm -rdf .github/workflows/.tmp

    Changed files

    Changed 4 files:
    • .github/workflows/ci.yml
    • .github/workflows/pr-updated.yml
    • .github/workflows/toc.yml
    • .github/workflows/update-dependencies.yml

    :octocat: Repo | :memo: Issues | :department_store: Marketplace

    Type: CI/CD 
    opened by github-actions[bot] 4
  • chore: sync workflows

    chore: sync workflows

    Base PullRequest

    default branch (https://github.com/wp-content-framework/core/tree/master)

    Command results

    Details:
    rm -rdf .github/workflows/.tmp
    mkdir -p .github/workflows/.tmp
    git clone --depth=1 https://github.com/technote-space/github-actions-workflows.git .github/workflows/.tmp/workflows

    stderr:

    Cloning into '.github/workflows/.tmp/workflows'...
    
    bash .github/workflows/.tmp/workflows/wp-framework/copy.sh php-test
    rm -rdf .github/workflows/.tmp

    Changed files

    Changed 2 files:
    • .github/workflows/ci.yml
    • .github/workflows/toc.yml

    :octocat: Repo | :memo: Issues | :department_store: Marketplace

    Type: CI/CD 
    opened by github-actions[bot] 3
  • WordPress.org の指定したタグのバージョンに切り替える機能

    WordPress.org の指定したタグのバージョンに切り替える機能

    • ガイドラインの範囲内で開発版のテストを行うための機能
    • https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/
    • https://make.wordpress.org/plugins/2017/03/16/clarification-of-guideline-8-executable-code-and-installs/
    • https://wordpress.org/plugins/woocommerce-beta-tester/
    Type: Feature Status: Abandoned Priority: Low Status: Proposal 
    opened by technote-space 3
  • ルータ機能の追加(テーマ用)

    ルータ機能の追加(テーマ用)

    get_query_template あたりをフック

    home front-page single single-{post_type} page category category-{slug} tag tag-{slug} taxonomy-{taxonomy}-{term} taxonomy-{taxonomy} taxonomy archive author date search 404

    Type: Feature Status: Abandoned 
    opened by technote-space 3
  • chore: sync workflows

    chore: sync workflows

    Changes

    • chore: sync workflows (4a6b7d02727dd04c4759a1b3f45ef613ab542696)

    Base PullRequest

    default branch (https://github.com/wp-content-framework/core/tree/master)

    Command results

    Details:
    add path
    /home/runner/work/_actions/technote-space/create-pr-action/v2/node_modules/npm-check-updates/bin
    
    rm -rdf .github/workflows/.tmp
    mkdir -p .github/workflows/.tmp
    git clone --depth=1 https://github.com/technote-space/github-actions-workflows.git .github/workflows/.tmp/workflows

    stderr:

    Cloning into '.github/workflows/.tmp/workflows'...
    
    bash .github/workflows/.tmp/workflows/wp-framework/copy.sh php-test
    sed -i "s/cron:.\+$/cron: ${MINUTE} ${HOUR} * * ${DAY}/" .github/workflows/update-dependencies.yml
    rm -rdf .github/workflows/.tmp

    Changed files

    Changed 2 files:
    • .github/labeler.yml
    • .github/workflows/ci.yml

    :octocat: Repo | :memo: Issues | :department_store: Marketplace

    Type: Maintenance Type: CI/CD 
    opened by technote-space 2
  • release/v1.0.1

    release/v1.0.1

    Base PullRequest

    default branch (https://github.com/wp-content-framework/core/tree/master)

    Command results

    Details:
    composer prepare
    PHP CodeSniffer Config installed_paths set to ../../phpcompatibility/php-compatibility,../../phpcompatibility/phpcompatibility-paragonie,../../phpcompatibility/phpcompatibility-wp,../../wp-coding-standards/wpcs
    PHP CodeSniffer Config installed_paths set to ../../phpcompatibility/phpcompatibility-paragonie,../../phpcompatibility/phpcompatibility-wp,../../wp-coding-standards/wpcs,../../phpcompatibility/php-compatibility
    
    >> Copy files.
    >>>> phpmd.xml
    >>>> phpcs.xml
    >>>> phpunit.xml
    

    stderr:

    > mkdir -p ./fixtures/.git
    > chmod -R +w ./fixtures/.git && rm -rdf ./fixtures
    > rm -f ./phpcs.xml ./phpmd.xml ./phpunit.xml
    > git clone --depth=1 https://github.com/wp-content-framework/fixtures.git fixtures
    Cloning into 'fixtures'...
    > WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/packages.sh
    Using version ^1.0 for wp-content-framework/common
    Using version ^1.0 for wp-content-framework/cache
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 44 installs, 0 updates, 0 removals
      - Installing squizlabs/php_codesniffer (3.5.3): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing dealerdirect/phpcodesniffer-composer-installer (v0.5.0): Downloading (connecting...)Downloading (0%)           Downloading (15%)Downloading (100%)
      - Installing wp-content-framework/cache (v1.0.0): Downloading (connecting...)Downloading (100%)         
      - Installing wp-coding-standards/wpcs (2.2.0): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpcompatibility/php-compatibility (9.3.5): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpcompatibility/phpcompatibility-paragonie (1.3.0): Downloading (connecting...)Downloading (0%)           Downloading (70%)Downloading (100%)
      - Installing phpcompatibility/phpcompatibility-wp (2.1.0): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing wp-content-framework/common (v1.0.1): Downloading (connecting...)Downloading (100%)         
      - Installing symfony/polyfill-ctype (v1.13.1): Downloading (connecting...)Downloading (0%)           Downloading (85%)Downloading (100%)
      - Installing symfony/yaml (v4.4.3): Downloading (connecting...)Downloading (0%)           Downloading (30%)Downloading (65%)Downloading (95%)Downloading (100%)
      - Installing sebastian/version (2.0.1): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/resource-operations (1.0.0): Downloading (connecting...)Downloading (0%)           Downloading (65%)Downloading (100%)
      - Installing sebastian/recursion-context (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/object-enumerator (2.0.1): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/global-state (1.1.1): Downloading (connecting...)Downloading (0%)           Downloading (40%)Downloading (80%)Downloading (100%)
      - Installing sebastian/exporter (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/environment (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (15%)Downloading (30%)Downloading (45%)Downloading (60%)Downloading (75%)Downloading (90%)Downloading (100%)
      - Installing sebastian/diff (1.4.3): Downloading (connecting...)Downloading (0%)           Downloading (35%)Downloading (40%)Downloading (70%)Downloading (100%)
      - Installing sebastian/comparator (1.2.4): Downloading (connecting...)Downloading (0%)           Downloading (10%)Downloading (40%)Downloading (50%)Downloading (60%)Downloading (70%)Downloading (100%)
      - Installing doctrine/instantiator (1.3.0): Downloading (connecting...)Downloading (0%)           Downloading (45%)Downloading (75%)Downloading (95%)Downloading (100%)
      - Installing phpunit/php-text-template (1.2.1): Downloading (connecting...)Downloading (0%)           Downloading (35%)Downloading (85%)Downloading (100%)
      - Installing phpunit/phpunit-mock-objects (3.4.4): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpunit/php-timer (1.0.9): Downloading (connecting...)Downloading (0%)           Downloading (45%)Downloading (90%)Downloading (100%)
      - Installing phpunit/php-file-iterator (1.4.5): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/code-unit-reverse-lookup (1.0.1): Downloading (connecting...)Downloading (0%)           Downloading (55%)Downloading (100%)
      - Installing phpunit/php-token-stream (2.0.2): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (100%)
      - Installing phpunit/php-code-coverage (4.0.8): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing webmozart/assert (1.6.0): Downloading (connecting...)Downloading (0%)           Downloading (10%)Downloading (100%)
      - Installing phpdocumentor/reflection-common (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (65%)Downloading (90%)Downloading (100%)
      - Installing phpdocumentor/type-resolver (1.0.1): Downloading (connecting...)Downloading (0%)           Downloading (10%)Downloading (30%)Downloading (40%)Downloading (65%)Downloading (90%)Downloading (100%)
      - Installing phpdocumentor/reflection-docblock (4.3.4): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (100%)
      - Installing phpspec/prophecy (v1.10.2): Downloading (connecting...)Downloading (0%)           Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (50%)Downloading (60%)Downloading (70%)Downloading (75%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing myclabs/deep-copy (1.9.5): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpunit/phpunit (5.7.27): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phake/phake (v2.3.2): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing psr/log (1.1.2): Downloading (connecting...)Downloading (0%)           Downloading (25%)Downloading (100%)
      - Installing composer/xdebug-handler (1.4.0): Downloading (connecting...)Downloading (0%)           Downloading (40%)Downloading (80%)Downloading (100%)
      - Installing symfony/filesystem (v5.0.3): Downloading (connecting...)Downloading (0%)           Downloading (75%)Downloading (95%)Downloading (100%)
      - Installing symfony/config (v5.0.3): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (40%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing psr/container (1.0.0): Downloading (connecting...)Downloading (0%)           Downloading (75%)Downloading (100%)
      - Installing symfony/service-contracts (v2.0.1): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing symfony/dependency-injection (v5.0.3): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing pdepend/pdepend (2.7.0): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpmd/phpmd (2.8.1): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating autoload files
    Using version ^0.6.2 for dealerdirect/phpcodesniffer-composer-installer
    Using version ^2.8 for phpmd/phpmd
    Using version ^3.5 for squizlabs/php_codesniffer
    Using version ^2.2 for wp-coding-standards/wpcs
    Using version ^2.1 for phpcompatibility/phpcompatibility-wp
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 0 installs, 1 update, 0 removals
      - Updating dealerdirect/phpcodesniffer-composer-installer (v0.5.0 => v0.6.2): Downloading (connecting...)Downloading (0%)           Downloading (85%)Downloading (95%)Downloading (100%)
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating autoload files
    > WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/prepare.sh
    Loading composer repositories with package information
    Installing dependencies (including require-dev) from lock file
    Nothing to install or update
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Generating autoload files
    
    composer packages
    PHP CodeSniffer Config installed_paths set to ../../phpcompatibility/php-compatibility,../../phpcompatibility/phpcompatibility-paragonie,../../phpcompatibility/phpcompatibility-wp,../../wp-coding-standards/wpcs
    

    stderr:

    > WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/packages.sh
    Using version ^1.0 for wp-content-framework/common
    Using version ^1.0 for wp-content-framework/cache
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 44 installs, 0 updates, 0 removals
      - Installing squizlabs/php_codesniffer (3.5.3): Loading from cache
      - Installing dealerdirect/phpcodesniffer-composer-installer (v0.6.2): Loading from cache
      - Installing wp-content-framework/cache (v1.0.0): Loading from cache
      - Installing wp-coding-standards/wpcs (2.2.0): Loading from cache
      - Installing phpcompatibility/php-compatibility (9.3.5): Loading from cache
      - Installing phpcompatibility/phpcompatibility-paragonie (1.3.0): Loading from cache
      - Installing phpcompatibility/phpcompatibility-wp (2.1.0): Loading from cache
      - Installing wp-content-framework/common (v1.0.1): Loading from cache
      - Installing symfony/polyfill-ctype (v1.13.1): Loading from cache
      - Installing symfony/yaml (v4.4.3): Loading from cache
      - Installing sebastian/version (2.0.1): Loading from cache
      - Installing sebastian/resource-operations (1.0.0): Loading from cache
      - Installing sebastian/recursion-context (2.0.0): Loading from cache
      - Installing sebastian/object-enumerator (2.0.1): Loading from cache
      - Installing sebastian/global-state (1.1.1): Loading from cache
      - Installing sebastian/exporter (2.0.0): Loading from cache
      - Installing sebastian/environment (2.0.0): Loading from cache
      - Installing sebastian/diff (1.4.3): Loading from cache
      - Installing sebastian/comparator (1.2.4): Loading from cache
      - Installing doctrine/instantiator (1.3.0): Loading from cache
      - Installing phpunit/php-text-template (1.2.1): Loading from cache
      - Installing phpunit/phpunit-mock-objects (3.4.4): Loading from cache
      - Installing phpunit/php-timer (1.0.9): Loading from cache
      - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
      - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
      - Installing phpunit/php-token-stream (2.0.2): Loading from cache
      - Installing phpunit/php-code-coverage (4.0.8): Loading from cache
      - Installing webmozart/assert (1.6.0): Loading from cache
      - Installing phpdocumentor/reflection-common (2.0.0): Loading from cache
      - Installing phpdocumentor/type-resolver (1.0.1): Loading from cache
      - Installing phpdocumentor/reflection-docblock (4.3.4): Loading from cache
      - Installing phpspec/prophecy (v1.10.2): Loading from cache
      - Installing myclabs/deep-copy (1.9.5): Loading from cache
      - Installing phpunit/phpunit (5.7.27): Loading from cache
      - Installing phake/phake (v2.3.2): Loading from cache
      - Installing psr/log (1.1.2): Loading from cache
      - Installing composer/xdebug-handler (1.4.0): Loading from cache
      - Installing symfony/filesystem (v5.0.3): Loading from cache
      - Installing symfony/config (v5.0.3): Loading from cache
      - Installing psr/container (1.0.0): Loading from cache
      - Installing symfony/service-contracts (v2.0.1): Loading from cache
      - Installing symfony/dependency-injection (v5.0.3): Loading from cache
      - Installing pdepend/pdepend (2.7.0): Loading from cache
      - Installing phpmd/phpmd (2.8.1): Loading from cache
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating autoload files
    Using version ^0.6.2 for dealerdirect/phpcodesniffer-composer-installer
    Using version ^2.8 for phpmd/phpmd
    Using version ^3.5 for squizlabs/php_codesniffer
    Using version ^2.2 for wp-coding-standards/wpcs
    Using version ^2.1 for phpcompatibility/phpcompatibility-wp
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Nothing to install or update
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Generating autoload files
    

    Changed files

    Changed 2 files:
    • composer.json
    • composer.lock

    :octocat: Repo | :memo: Issues | :department_store: Marketplace

    Type: Release 
    opened by technote-space 2
  • プラグインジェネレータの作成

    プラグインジェネレータの作成

    入力

    • プラグイン名(例:Plugin Generator(必須))
    • プラグインslug(例:plugin-generator(未入力でプラグイン名から生成))
    • プラグイン定数(例:PLUGIN_GENERATOR(未入力でプラグイン名から生成))
    • プラグイン名前空間(例:Plugin_Generator(未入力でプラグイン名から生成))
    • プラグイン情報
      • Plugin URI
      • Description
      • Version
      • Author URI
    • パッケージをチェックボックスで選択

    出力

    • assets
    • configs
      • config
      • filter
    • languages
    • src
    • composer.json
    • autoload.php
    • index.php
    • LICENSE
    • README.md
    • readme.txt
    • .gitignore
    • .htaccess など
    Type: Feature Status: Abandoned Priority: Low 
    opened by technote-space 2
  • いくつかのパフォーマンス改善

    いくつかのパフォーマンス改善

    • パフォーマンス計測用の機能の追加
    • core/loader: cache を使用して ファイル検索を一度だけにする
    • api/api: 設定用の動作は管理画面のみ
    • api/api: 空かどうかの結果をキャッシュ
    • admin/admin: 不要なフック (ヘルプ追加用のフック) の削除
    • option: 必要になるまで読みこまない
    • custom_post: 登録用引数のキャッシュ
    • ...
    Type: Feature 
    opened by technote-space 2
  • テーマ用の機能

    テーマ用の機能

    参考・依存等

    • テンプレートエンジン
      • wp-content-framework/presenter#32
      • Blade
        • https://github.com/roots/sage
    • 機能面
      • https://celtislab.net/wp_plugin_celtispack/
      • https://github.com/TGMPA/TGM-Plugin-Activation
    • React
      • https://capitalp.jp/2019/03/01/how-to-use-react-in-wp5/
      • GatsbyJS
        • https://www.gatsbyjs.org/
        • https://github.com/catnose99/CatKnows
    • その他
    Type: Feature Status: Abandoned 
    opened by technote-space 2
  • release: v1.0.3

    release: v1.0.3

    Changes

    • chore: update dependencies (12823ae3eb26a8de8253828b491fef37adcd6223, 18176c89ce785cb764314700d771db302a0f6091)

    Base PullRequest

    default branch (https://github.com/wp-content-framework/core/tree/master)

    Command results

    Details:
    add path
    /home/runner/work/_actions/technote-space/create-pr-action/v2/node_modules/npm-check-updates/bin
    
    composer prepare
    PHP CodeSniffer Config installed_paths set to ../../phpcompatibility/php-compatibility,../../phpcompatibility/phpcompatibility-paragonie,../../phpcompatibility/phpcompatibility-wp,../../wp-coding-standards/wpcs
    
    >> Copy files.
    >>>> phpmd.xml
    >>>> phpcs.xml
    >>>> phpunit.xml
    

    stderr:

    > mkdir -p ./fixtures/.git
    > chmod -R +w ./fixtures/.git && rm -rdf ./fixtures
    > rm -f ./phpcs.xml ./phpmd.xml ./phpunit.xml
    > git clone --depth=1 https://github.com/wp-content-framework/fixtures.git fixtures
    Cloning into 'fixtures'...
    > WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/prepare.sh
    Using version ^1.0 for wp-content-framework/common
    Using version ^1.0 for wp-content-framework/cache
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 44 installs, 0 updates, 0 removals
      - Installing squizlabs/php_codesniffer (3.5.4): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing dealerdirect/phpcodesniffer-composer-installer (v0.6.2): Downloading (connecting...)Downloading (0%)           Downloading (85%)Downloading (95%)Downloading (100%)
      - Installing phpcompatibility/php-compatibility (9.3.5): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpcompatibility/phpcompatibility-paragonie (1.3.0): Downloading (connecting...)Downloading (0%)           Downloading (70%)Downloading (100%)
      - Installing phpcompatibility/phpcompatibility-wp (2.1.0): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing wp-content-framework/common (v1.0.3): Downloading (connecting...)Downloading (100%)         
      - Installing wp-content-framework/cache (v1.0.2): Downloading (connecting...)Downloading (100%)         
      - Installing myclabs/deep-copy (1.9.5): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (100%)
      - Installing sebastian/version (2.0.1): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/resource-operations (1.0.0): Downloading (connecting...)Downloading (0%)           Downloading (65%)Downloading (100%)
      - Installing sebastian/recursion-context (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/object-enumerator (2.0.1): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/global-state (1.1.1): Downloading (connecting...)Downloading (0%)           Downloading (40%)Downloading (80%)Downloading (100%)
      - Installing sebastian/exporter (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing sebastian/environment (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (15%)Downloading (30%)Downloading (45%)Downloading (60%)Downloading (75%)Downloading (90%)Downloading (100%)
      - Installing sebastian/diff (1.4.3): Downloading (connecting...)Downloading (0%)           Downloading (35%)Downloading (40%)Downloading (75%)Downloading (100%)
      - Installing sebastian/comparator (1.2.4): Downloading (connecting...)Downloading (0%)           Downloading (10%)Downloading (55%)Downloading (65%)Downloading (75%)Downloading (85%)Downloading (100%)
      - Installing symfony/polyfill-ctype (v1.15.0): Downloading (connecting...)Downloading (0%)           Downloading (85%)Downloading (100%)
      - Installing symfony/yaml (v4.4.7): Downloading (connecting...)Downloading (0%)           Downloading (30%)Downloading (35%)Downloading (60%)Downloading (65%)Downloading (95%)Downloading (100%)
      - Installing doctrine/instantiator (1.3.0): Downloading (connecting...)Downloading (0%)           Downloading (45%)Downloading (95%)Downloading (100%)
      - Installing webmozart/assert (1.7.0): Downloading (connecting...)Downloading (0%)           Downloading (75%)Downloading (100%)
      - Installing phpdocumentor/reflection-common (2.0.0): Downloading (connecting...)Downloading (0%)           Downloading (65%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpdocumentor/type-resolver (1.1.0): Downloading (connecting...)Downloading (0%)           Downloading (15%)Downloading (30%)Downloading (45%)Downloading (60%)Downloading (75%)Downloading (90%)Downloading (100%)
      - Installing phpdocumentor/reflection-docblock (5.1.0): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (20%)Downloading (25%)Downloading (45%)Downloading (50%)Downloading (65%)Downloading (70%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpspec/prophecy (v1.10.3): Downloading (connecting...)Downloading (0%)           Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (80%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpunit/php-text-template (1.2.1): Downloading (connecting...)Downloading (0%)           Downloading (35%)Downloading (100%)
      - Installing phpunit/phpunit-mock-objects (3.4.4): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (95%)Downloading (100%)
      - Installing phpunit/php-timer (1.0.9): Downloading (connecting...)Downloading (0%)           Downloading (45%)Downloading (90%)Downloading (100%)
      - Installing sebastian/code-unit-reverse-lookup (1.0.1): Downloading (connecting...)Downloading (0%)           Downloading (55%)Downloading (100%)
      - Installing phpunit/php-token-stream (2.0.2): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (100%)
      - Installing phpunit/php-file-iterator (1.4.5): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing phpunit/php-code-coverage (4.0.8): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpunit/phpunit (5.7.27): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phake/phake (v2.3.2): Downloading (connecting...)Downloading (100%)         
      - Installing psr/log (1.1.3): Downloading (connecting...)Downloading (0%)           Downloading (25%)Downloading (50%)Downloading (75%)Downloading (95%)Downloading (100%)
      - Installing composer/xdebug-handler (1.4.1): Downloading (connecting...)Downloading (0%)           Downloading (40%)Downloading (80%)Downloading (100%)
      - Installing symfony/filesystem (v5.0.7): Downloading (connecting...)Downloading (0%)           Downloading (55%)Downloading (95%)Downloading (100%)
      - Installing symfony/config (v5.0.7): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (100%)
      - Installing psr/container (1.0.0): Downloading (connecting...)Downloading (0%)           Downloading (75%)Downloading (100%)
      - Installing symfony/service-contracts (v2.0.1): Downloading (connecting...)Downloading (0%)           Downloading (100%)
      - Installing symfony/dependency-injection (v5.0.7): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing pdepend/pdepend (2.7.1): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing phpmd/phpmd (2.8.2): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
      - Installing wp-coding-standards/wpcs (2.2.1): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating autoload files
    2 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    Using version ^0.6.2 for dealerdirect/phpcodesniffer-composer-installer
    Using version ^2.8 for phpmd/phpmd
    Using version ^3.5 for squizlabs/php_codesniffer
    Using version ^2.2 for wp-coding-standards/wpcs
    Using version ^2.1 for phpcompatibility/phpcompatibility-wp
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Nothing to install or update
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Generating autoload files
    2 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    Loading composer repositories with package information
    Installing dependencies (including require-dev) from lock file
    Nothing to install or update
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Generating autoload files
    2 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    
    composer packages
    PHP CodeSniffer Config installed_paths set to ../../phpcompatibility/php-compatibility,../../phpcompatibility/phpcompatibility-paragonie,../../phpcompatibility/phpcompatibility-wp,../../wp-coding-standards/wpcs
    

    stderr:

    > WORKSPACE=${WORKSPACE:-$(cd $(dirname $0); pwd)} bash ./fixtures/bin/packages.sh
    Using version ^1.0 for wp-content-framework/common
    Using version ^1.0 for wp-content-framework/cache
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 44 installs, 0 updates, 0 removals
      - Installing squizlabs/php_codesniffer (3.5.4): Loading from cache
      - Installing dealerdirect/phpcodesniffer-composer-installer (v0.6.2): Loading from cache
      - Installing phpcompatibility/php-compatibility (9.3.5): Loading from cache
      - Installing phpcompatibility/phpcompatibility-paragonie (1.3.0): Loading from cache
      - Installing phpcompatibility/phpcompatibility-wp (2.1.0): Loading from cache
      - Installing wp-content-framework/common (v1.0.3): Loading from cache
      - Installing wp-content-framework/cache (v1.0.2): Loading from cache
      - Installing myclabs/deep-copy (1.9.5): Loading from cache
      - Installing sebastian/version (2.0.1): Loading from cache
      - Installing sebastian/resource-operations (1.0.0): Loading from cache
      - Installing sebastian/recursion-context (2.0.0): Loading from cache
      - Installing sebastian/object-enumerator (2.0.1): Loading from cache
      - Installing sebastian/global-state (1.1.1): Loading from cache
      - Installing sebastian/exporter (2.0.0): Loading from cache
      - Installing sebastian/environment (2.0.0): Loading from cache
      - Installing sebastian/diff (1.4.3): Loading from cache
      - Installing sebastian/comparator (1.2.4): Loading from cache
      - Installing symfony/polyfill-ctype (v1.15.0): Loading from cache
      - Installing symfony/yaml (v4.4.7): Loading from cache
      - Installing doctrine/instantiator (1.3.0): Loading from cache
      - Installing webmozart/assert (1.7.0): Loading from cache
      - Installing phpdocumentor/reflection-common (2.0.0): Loading from cache
      - Installing phpdocumentor/type-resolver (1.1.0): Loading from cache
      - Installing phpdocumentor/reflection-docblock (5.1.0): Loading from cache
      - Installing phpspec/prophecy (v1.10.3): Loading from cache
      - Installing phpunit/php-text-template (1.2.1): Loading from cache
      - Installing phpunit/phpunit-mock-objects (3.4.4): Loading from cache
      - Installing phpunit/php-timer (1.0.9): Loading from cache
      - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
      - Installing phpunit/php-token-stream (2.0.2): Loading from cache
      - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
      - Installing phpunit/php-code-coverage (4.0.8): Loading from cache
      - Installing phpunit/phpunit (5.7.27): Loading from cache
      - Installing phake/phake (v2.3.2): Loading from cache
      - Installing psr/log (1.1.3): Loading from cache
      - Installing composer/xdebug-handler (1.4.1): Loading from cache
      - Installing symfony/filesystem (v5.0.7): Loading from cache
      - Installing symfony/config (v5.0.7): Loading from cache
      - Installing psr/container (1.0.0): Loading from cache
      - Installing symfony/service-contracts (v2.0.1): Loading from cache
      - Installing symfony/dependency-injection (v5.0.7): Loading from cache
      - Installing pdepend/pdepend (2.7.1): Loading from cache
      - Installing phpmd/phpmd (2.8.2): Loading from cache
      - Installing wp-coding-standards/wpcs (2.2.1): Loading from cache
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating autoload files
    2 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    Using version ^0.6.2 for dealerdirect/phpcodesniffer-composer-installer
    Using version ^2.8 for phpmd/phpmd
    Using version ^3.5 for squizlabs/php_codesniffer
    Using version ^2.2 for wp-coding-standards/wpcs
    Using version ^2.1 for phpcompatibility/phpcompatibility-wp
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Nothing to install or update
    Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
    Generating autoload files
    2 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    

    Changed files

    Changed file:
    • composer.lock

    :octocat: Repo | :memo: Issues | :department_store: Marketplace

    Type: Release Release: Patch 
    opened by technote-space 1
Releases(v1.0.37)
Owner
WP Content Framework
Framework for wordpress plugin and theme
WP Content Framework
🚀 A distributed content delivery network (DCDN) integration plugin for wordpress

DCDN Engine - WordPress DCDN Plugin Simply integrate a Distributed Content Delivery Network (DCDN) into your WordPress site. Preview Plugin Installati

daqNext 6 Nov 30, 2022
WordPress Plugin that Boost CTR. Improve SEO & Rankings. Supports most of the content type. Works perfectly with Google, Bing, Yahoo & Facebook.

WordPress Plugin that Boost CTR. Improve SEO & Rankings. Supports most of the content type. Works perfectly with Google, Bing, Yahoo & Facebook.

Brainstorm Force 109 Dec 19, 2022
A curated list of Awesome WordPress Theme, Plugins and Framework development Resources and WordPress Communities.

Awesome WordPress A curated list of Awesome WordPress Theme, Plugins and Framework development Resources and WordPress Communities. Inspired by bayand

Dropndot Limited 91 Dec 26, 2022
A custom WordPress nav walker class to fully implement the Twitter Bootstrap 4.0+ navigation style (v3-branch available for Bootstrap 3) in a custom theme using the WordPress built in menu manager.

WP Bootstrap Navwalker This code in the main repo branch is undergoing a big shakeup to bring it in line with recent standards and to merge and test t

WP Bootstrap 3.3k Jan 5, 2023
The Pronamic WordPress Basecone plugin allows you to connect your WordPress installation to Basecone.

Pronamic WordPress Basecone The Pronamic WordPress Basecone plugin allows you to connect your WordPress installation to Basecone. Table of contents Au

Pronamic 1 Oct 19, 2021
A WordPress plugin to suspend WordPress sites automagically. Simple and lightweight, no annoying ads and fancy settings.

Suspend WP A WordPress plugin to suspend WordPress sites automagically. Simple and lightweight, no annoying ads and fancy settings. ?? Demo (coming so

Waren Gonzaga 3 Nov 15, 2021
Twenty Twenty-Two, the default WordPress theme that will launch with WordPress 5.9.

Twenty Twenty-Two Welcome to the development repository for the default theme that will launch with WordPress 5.9. About Twenty Twenty-Two is designed

null 414 Nov 28, 2022
Easy handle APlayer on WordPress. A shortcode for WordPress to using APlayer.

Description Easy handle APlayer on WordPress. A shortcode for WordPress to using APlayer. Support [audio] tag, compatible with AMP. Requirement WordPr

Karl Chen 24 Nov 3, 2022
WordPress plugin that lets you use Discourse as the community engine for a WordPress blog

WP Discourse Note: the wp-discourse plugin requires >= PHP-5.4.0. The WP Discourse plugin acts as an interface between your WordPress site and your Di

Discourse 497 Dec 10, 2022
WordPress & TypeScript. Simple starter template for WordPress projects

WordPress & TypeScript. Simple starter template for WordPress projects that want to use TypeScript in combination with @wordpress/scripts

Make it WorkPress 11 Sep 27, 2022
Simple WordPress plugin to learn how to understand WordPress Crons and the Action Scheduler library.

Simple WordPress plugin to learn how to understand WordPress Crons and the Action Scheduler library. Import Jamendo playlists with tracks in WordPress posts.

Pierre Saikali 3 Dec 7, 2022
A PHP client for Wordpress websites that closely implement the XML-RPC WordPress API

Wordpress XML-RPC PHP Client A PHP client for Wordpress websites that closely implement the XML-RPC WordPress API Created by Hieu Le MIT licensed. Cur

Hieu Le 112 Nov 10, 2022
Structured content blocks for WPGraphQL

WPGraphQL Content Blocks (Structured Content) This WPGraphQL plugin returns a WordPress post’s content as a shallow tree of blocks and allows for some

Quartz 72 Oct 3, 2022
WordPress Framework based on parent theme

Cherry Framework The most delicious WordPress framework Fully responsive design, easy install, steady updates, great number of shortcodes and widgets,

Cherry Framework 158 Nov 23, 2022
The easiest to use WordPress option framework.

Titan Framework The easiest to use WordPress options framework. Titan Framework allows theme and plugin developers to create admin pages, options, met

Gambit Technologies 374 Nov 14, 2022
Classy is a framework for building WordPress themes, based on Blade template engine

Classy is a framework for building WordPress themes, based on Blade template engine. It's fast with beautiful architecture that allows you to write le

DigitalKwarts 75 Nov 23, 2022
A simple framework for running WordPress unit and integration tests.

Touchstone A modern wrapper around the official WordPress testsuite. It can be used to run both Unit and Integration tests. Installation Run the follo

Seb Kay 15 Jul 28, 2022
The WordPress theme powered by the Laravel Framework.

Laravel in WordPress Theme Laravel is a web application framework with expressive, elegant syntax. It's one of the most popular PHP frameworks today.

null 201 Dec 11, 2022
Hozokit - Theme Building Framework for WordPress

Hozokit - Theme Building Framework for WordPress Hozokit gives you the power to create unique WordPress themes without the WordPress hassle.

cristiano 16 Nov 15, 2022