{"id":20961967,"url":"https://github.com/lilessam/translationman","last_synced_at":"2025-03-13T07:12:26.856Z","repository":{"id":57015053,"uuid":"98018994","full_name":"lilessam/TranslationMan","owner":"lilessam","description":"Easy Laravel Language Files Management Package","archived":false,"fork":false,"pushed_at":"2018-01-24T18:09:44.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T00:53:23.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lilessam.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-22T08:46:01.000Z","updated_at":"2017-07-22T08:51:09.000Z","dependencies_parsed_at":"2022-08-22T09:31:33.474Z","dependency_job_id":null,"html_url":"https://github.com/lilessam/TranslationMan","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilessam%2FTranslationMan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilessam%2FTranslationMan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilessam%2FTranslationMan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lilessam%2FTranslationMan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lilessam","download_url":"https://codeload.github.com/lilessam/TranslationMan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243358306,"owners_count":20277995,"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":[],"created_at":"2024-11-19T02:19:33.772Z","updated_at":"2025-03-13T07:12:26.838Z","avatar_url":"https://github.com/lilessam.png","language":"PHP","readme":"### TranslationMan Package For Laravel\nThis small package gives you all functionlaity you need to manage your laravel language files with simple forms you can integrate in your application layout.\n#### Features\n1. Lanaguages Creation/Deletion.\n2. Language Files Creation/Deletion.\n3. Files' array modification with a simple form (Allows multi dimensional arrays with dots in the index column).\n#### Installation\nVia Composer `composer require lilessam/translationman`\n\nAdd `Lilessam\\Translationman\\TranslationmanServiceProvider::class` to your providers array in `config/app.php`. \n\nYou will also have to set `resources/lang` folder permissions to 777.\n#### Publish Config and Views\n`php artisan vendor:publish --provider=\"Lilessam\\Translationman\\TranslationmanServiceProvider\"`\nNow views files will be published in `resources/views/vendor/translationman`.\n\nYou will realize that all files contains only basic bootstrap forms. You will have to integrate this forms as you like.\n#### Routes\nWhen you publish the service provider files you will see `translationman.php` file in `Config` folder. So there you can `url_prefix`. Default is `translations` so it can be viewed by `app.dev/translations`.\n\nYou can also provide a middleware for the package routes by modifying `middleware` in the config file.\n\nThe `middleware` can be string or an array of middlewares (BUT CANNOT BE EMPTY STRING).\n\n###### Notice: All package views are pure Bootstrap forms and tables without any CSS. You have to integrate views files into your application theme by extending your layouts.\n\n#### Working with VueJS Components\nIf you would like to pass your language array to a VueJS component you need to use `json_lang` helper which will pass your lang array with no problems.\n```PHP\n\u003cmy-component :lang='{!! json_lang(\"components.mine\") !!}'\u003e\u003c/my-component\u003e\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilessam%2Ftranslationman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flilessam%2Ftranslationman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilessam%2Ftranslationman/lists"}