Skip to content
Snippets Groups Projects
Yassine Doghri's avatar
Yassine Doghri authored
- add dynamic current year to header copyright
76d445d5
History
Name Last commit Last update
src
.gitignore
LICENSE
README.md
composer.json

Podcast Persons Taxonomy

Generate PHP translation files for CodeIgniter4 from the podcast-namespace's Persons Taxonomy json files.

See: https://github.com/Podcastindex-org/podcast-namespace

Usage

Install using composer:

composer install adaures/podcast-persons-taxonomy

You will have to add a post-install-cmd script in your composer.json to generate the translations:

"scripts": {
    "post-install-cmd": [
      "@php vendor/adaures/podcast-persons-taxonomy/src/TaxonomyGenerate.php https://raw.githubusercontent.com/Podcastindex-org/podcast-namespace/main/taxonomy-en.json > app/Language/en/Taxonomy.php",
      "@php vendor/adaures/podcast-persons-taxonomy/src/TaxonomyGenerate.php https://raw.githubusercontent.com/Podcastindex-org/podcast-namespace/main/taxonomy-fr.json > app/Language/fr/Taxonomy.php",
      "@php vendor/adaures/podcast-persons-taxonomy/src/ReversedTaxonomyGenerate.php https://raw.githubusercontent.com/Podcastindex-org/podcast-namespace/main/taxonomy-en.json > vendor/adaures/podcast-namespace/src/ReversedTaxonomy.php",
    ]
}