{"id":17343125,"url":"https://github.com/danielme85/laravel-forceutf8","last_synced_at":"2025-06-23T05:34:19.246Z","repository":{"id":56961937,"uuid":"72654463","full_name":"danielme85/laravel-forceutf8","owner":"danielme85","description":"Laravel 5 service class for neitanod's forceutf8. https://github.com/neitanod/forceutf8","archived":false,"fork":false,"pushed_at":"2018-04-16T17:37:11.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-15T18:09:29.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"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/danielme85.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-02T15:38:14.000Z","updated_at":"2018-08-28T16:25:29.000Z","dependencies_parsed_at":"2022-08-21T05:40:19.525Z","dependency_job_id":null,"html_url":"https://github.com/danielme85/laravel-forceutf8","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielme85%2Flaravel-forceutf8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielme85%2Flaravel-forceutf8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielme85%2Flaravel-forceutf8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielme85%2Flaravel-forceutf8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielme85","download_url":"https://codeload.github.com/danielme85/laravel-forceutf8/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228395188,"owners_count":17913131,"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-10-15T16:08:29.952Z","updated_at":"2024-12-06T01:24:28.213Z","avatar_url":"https://github.com/danielme85.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# laravel-forceutf8\nSimple Laravel 5 service class for neitanod's forceutf8: https://github.com/neitanod/forceutf8\n\n### Install\nAdd to composer.json\n ```\n \"require\": {\n         \"danielme85/laravel-forceutf8\": \"dev-master\",\n         ....\n }\n ```\n \n\u003cb\u003eIf you use Laravel 5.5+ you could skip the next step as Composer/Laravel Auto-discovery has been enabled for this package.\u003c/b\u003e\n\n\n\n#### Laravel 5.x\n Add to your config/app.php under Service Providers\n            \n ```\n //Service Provider\n danielme85\\ForceUTF8\\ForceUTF8ServiceProvider::class,\n //Facade\n 'Encoding'  =\u003e danielme85\\ForceUTF8\\Encoding::class,\n \n ```\n \n#### Lumen 5.x\n Add to your boostrap/app.php file\n ```\n $app-\u003eregister(danielme85\\ForceUTF8\\ForceUTF8ServiceProvider::class);\n ...\n $app-\u003econfigure('app'); \n ...\n class_alias('danielme85\\ForceUTF8\\Encoding', 'Encoding');\n $app-\u003ewithFacades();\n ```\n \n### Usage\n ```\n use danielme85\\ForceUTF8\\Encoding;\n ...\n $newstring = Encoding::toUTF8($string);\n ```\nChekout neitanod's repo for more information on how to use the Encoding class:\nhttps://github.com/neitanod/forceutf8\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielme85%2Flaravel-forceutf8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielme85%2Flaravel-forceutf8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielme85%2Flaravel-forceutf8/lists"}