Skip to content
Snippets Groups Projects
Yassine Doghri's avatar
Yassine Doghri authored
- rename podlibre to ad aures
- update README.md
e5c1d438
History
Name Last commit Last update
src
.gitignore
LICENSE
README.md
composer.json

PodcastNamespace

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-namespace

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-namespace/src/TaxonomyGenerate.php https://raw.githubusercontent.com/Podcastindex-org/podcast-namespace/main/taxonomy-en.json > app/Language/en/Taxonomy.php",
      "@php vendor/adaures/podcast-namespace/src/TaxonomyGenerate.php https://raw.githubusercontent.com/Podcastindex-org/podcast-namespace/main/taxonomy-fr.json > app/Language/fr/Taxonomy.php",
      "@php vendor/adaures/podcast-namespace/src/ReversedTaxonomyGenerate.php https://raw.githubusercontent.com/Podcastindex-org/podcast-namespace/main/taxonomy-en.json > vendor/adaures/podcast-namespace/src/ReversedTaxonomy.php",
    ]
}