{"id":15168823,"url":"https://github.com/PHP-CMSIG/seal-yii-module","last_synced_at":"2025-10-25T16:30:48.677Z","repository":{"id":158232546,"uuid":"633899235","full_name":"PHP-CMSIG/seal-yii-module","owner":"PHP-CMSIG","description":"An integration of CMS-IG SEAL search abstraction via a module into the Yii Framework. Part of the https://github.com/php-cmsig/search project. READ-ONLY Repository","archived":false,"fork":false,"pushed_at":"2025-01-24T08:17:52.000Z","size":540,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"0.6","last_synced_at":"2025-02-09T04:42:42.002Z","etag":null,"topics":["cmsig","php","seal-integration","seal-search","search","yii"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PHP-CMSIG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["alexander-schranz"],"custom":["https://paypal.me/L91"]}},"created_at":"2023-04-28T14:35:55.000Z","updated_at":"2025-01-23T21:53:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4d0ae18-cb38-4659-b879-d73a8bce7e00","html_url":"https://github.com/PHP-CMSIG/seal-yii-module","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":"0.020408163265306145","last_synced_commit":"880855bf04e95c1378ed34475a8e2224a66c809d"},"previous_names":["php-cmsig/seal-yii-module","schranz-search/yii-module"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHP-CMSIG%2Fseal-yii-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHP-CMSIG%2Fseal-yii-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHP-CMSIG%2Fseal-yii-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHP-CMSIG%2Fseal-yii-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PHP-CMSIG","download_url":"https://codeload.github.com/PHP-CMSIG/seal-yii-module/tar.gz/refs/heads/0.6","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238174135,"owners_count":19428631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmsig","php","seal-integration","seal-search","search","yii"],"created_at":"2024-09-27T07:00:25.933Z","updated_at":"2025-10-25T16:30:48.379Z","avatar_url":"https://github.com/PHP-CMSIG.png","language":"PHP","funding_links":["https://github.com/sponsors/alexander-schranz","https://paypal.me/L91"],"categories":[],"sub_categories":[],"readme":"\u003e **Note**:\n\u003e This is part of the `cmsig/search` project create issues in the [main repository](https://github.com/php-cmsig/search).\n\n---\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg alt=\"SEAL Logo with an abstract seal sitting on a telescope.\" src=\"https://avatars.githubusercontent.com/u/120221538?s=400\u0026v=6\" width=\"200\" height=\"200\"\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003eLogo created by \u003ca href=\"https://cargocollective.com/meinewilma\"\u003eMeine Wilma\u003c/a\u003e\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003eSEAL \u003cbr /\u003e Yii Integration\u003c/h1\u003e\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\nIntegration of the CMS-IG — Search Engine Abstraction Layer (SEAL) into Yii.\n\n\u003e **Note**:\n\u003e This project is heavily under development and any feedback is greatly appreciated.\n\n## Installation\n\nUse [composer](https://getcomposer.org/) for install the package:\n\n```bash\ncomposer require cmsig/seal-yii-module\n```\n\nAlso install one of the listed adapters.\n\n### List of adapters\n\nThe following adapters are available:\n\n - [MemoryAdapter](../../packages/seal-memory-adapter): `cmsig/seal-memory-adapter`\n - [ElasticsearchAdapter](../../packages/seal-elasticsearch-adapter): `cmsig/seal-elasticsearch-adapter`\n - [OpensearchAdapter](../../packages/seal-opensearch-adapter): `cmsig/seal-opensearch-adapter`\n - [MeilisearchAdapter](../../packages/seal-meilisearch-adapter): `cmsig/seal-meilisearch-adapter`\n - [AlgoliaAdapter](../../packages/seal-algolia-adapter): `cmsig/seal-algolia-adapter`\n - [SolrAdapter](../../packages/seal-solr-adapter): `cmsig/seal-solr-adapter`\n - [RediSearchAdapter](../../packages/seal-redisearch-adapter): `cmsig/seal-redisearch-adapter`\n - [TypesenseAdapter](../../packages/seal-typesense-adapter): `cmsig/seal-typesense-adapter`\n - ... more coming soon\n\nAdditional Wrapper adapters:\n\n - [ReadWriteAdapter](../../packages/seal-read-write-adapter): `cmsig/seal-read-write-adapter`\n - [MultiAdapter](../../packages/seal-multi-adapter): `cmsig/seal-multi-adapter`\n\nCreating your own adapter? Add the [`seal-php-adapter`](https://github.com/topics/seal-php-adapter) Topic to your GitHub Repository.\n\n## Usage\n\nThe following code shows how to configure the package:\n\n```php\n\u003c?php\n\n// config/common/params.php\n\nreturn [\n    // ...\n    'cmsig/seal-yii-module' =\u003e [\n        'schemas' =\u003e [\n            'app' =\u003e [\n                'dir' =\u003e 'config/schemas',\n            ],\n        ],\n        'engines' =\u003e [\n            'default' =\u003e [\n                'adapter' =\u003e 'meilisearch://127.0.0.1:7700',\n            ],\n        ],\n        'index_name_prefix' =\u003e '',\n        'reindex_providers' =\u003e [\n            \\App\\Search\\BlogReindexProvider::class,\n        ],\n    ],\n];\n```\n\nA more complex configuration can be here found:\n\n```php\n\u003c?php\n\n// config/common/params.php\n\nreturn [\n    // ...\n    'cmsig/seal-yii-module' =\u003e [\n        'schemas' =\u003e [\n            'app' =\u003e [\n                'dir' =\u003e 'config/schemas/app',\n                'engine' =\u003e 'meilisearch',\n            ],\n            'other' =\u003e [\n                'dir' =\u003e 'config/schemas/other',\n                'engine' =\u003e 'algolia',\n            ],\n        ],\n        'engines' =\u003e [\n            'algolia' =\u003e [\n                'adapter' =\u003e 'algolia://' . $_ENV['ALGOLIA_APPLICATION_ID'] . ':' . $_ENV['ALGOLIA_ADMIN_API_KEY'],\n            ],\n            'elasticsearch' =\u003e [\n                'adapter' =\u003e 'elasticsearch://127.0.0.1:9200',\n            ],\n            'meilisearch' =\u003e [\n                'adapter' =\u003e 'meilisearch://127.0.0.1:7700',\n            ],\n            'memory' =\u003e [\n                'adapter' =\u003e 'memory://',\n            ],\n            'opensearch' =\u003e [\n                'adapter' =\u003e 'opensearch://127.0.0.1:9200',\n            ],\n            'redisearch' =\u003e [\n                'adapter' =\u003e 'redis://supersecure@127.0.0.1:6379',\n            ],\n            'solr' =\u003e [\n                'adapter' =\u003e 'solr://127.0.0.1:8983',\n            ],\n            'typesense' =\u003e [\n                'adapter' =\u003e 'typesense://S3CR3T@127.0.0.1:8108',\n            ],\n            \n            // ...\n            'multi' =\u003e [\n                'adapter' =\u003e 'multi://elasticsearch?adapters[]=opensearch',\n            ],\n            'read-write' =\u003e [\n                'adapter' =\u003e 'read-write://elasticsearch?write=multi',\n            ],\n        ],\n    ],\n];\n```\n\nThe default engine is available as `Engine`:\n\n```php\nclass Some {\n    public function __construct(\n        private readonly \\CmsIg\\Seal\\EngineInterface $engine,\n    ) {\n    }\n}\n```\n\nMultiple engines can be accessed via the `EngineRegistry`:\n\n```php\nclass Some {\n    private Engine $engine;\n\n    public function __construct(\n        private readonly \\CmsIg\\Seal\\EngineRegistry $engineRegistry,\n    ) {\n        $this-\u003eengine = $this-\u003eengineRegistry-\u003egetEngine('algolia');\n    }\n}\n```\n\nHow to create a `Schema` file and use your `Engine` can be found [SEAL Documentation](../../README.md#usage).\n\n### Commands\n\nThe package provides the following commands:\n\n**Create configured indexes**\n\n```bash\n./yii cmsig:seal:index-create\n```\n\n**Drop configured indexes**\n\n```bash\n./yii cmsig:seal:index-drop\n```\n\n**Reindex configured indexes**\n\n```bash\n./yii cmsig:seal:reindex\n```\n\n## Authors\n\n- [Alexander Schranz](https://github.com/alexander-schranz/)\n- [The Community Contributors](https://github.com/php-cmsig/search/graphs/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPHP-CMSIG%2Fseal-yii-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPHP-CMSIG%2Fseal-yii-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPHP-CMSIG%2Fseal-yii-module/lists"}