{"id":16966603,"url":"https://github.com/chrishubert/memegenerator","last_synced_at":"2026-05-19T03:49:09.885Z","repository":{"id":23551479,"uuid":"26918734","full_name":"chrishubert/memegenerator","owner":"chrishubert","description":"Meme generator class","archived":false,"fork":false,"pushed_at":"2013-10-24T10:42:11.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T12:41:29.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrishubert.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":"2014-11-20T15:32:52.000Z","updated_at":"2016-10-25T14:25:01.000Z","dependencies_parsed_at":"2022-08-21T19:00:14.005Z","dependency_job_id":null,"html_url":"https://github.com/chrishubert/memegenerator","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/chrishubert%2Fmemegenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrishubert%2Fmemegenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrishubert%2Fmemegenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrishubert%2Fmemegenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrishubert","download_url":"https://codeload.github.com/chrishubert/memegenerator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244842349,"owners_count":20519599,"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-14T00:06:22.857Z","updated_at":"2026-05-19T03:49:09.861Z","avatar_url":"https://github.com/chrishubert.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Meme generator class\n====================\n\n##Description\n\nMeme Generator adds user entered text to given image in two possitions. \n\nText can be placed at the top of image and at the bottom. \n\nIf it is too long, text will be splitted into two rows. \n\nFont size is automatically calculated for best fit in image and it gets centered.\n\nAt this point meme generator isn't meant to store generated images on server, but rather to generate them in runtime from simple database info.\n\n##Usage\n\n###Usage with Laravel 4\n\nInside of `app` folder create folder called `classes`, and then go to your `start/global.php` file and edit your code so it looks something like this \n\n    ClassLoader::addDirectories(array(\n\n\t\tapp_path().'/commands',\n\t\tapp_path().'/controllers',\n\t\tapp_path().'/models',\n\t\tapp_path().'/database/seeds',\n\t\tapp_path().'/classes' //this line is added\n\n\t));\n\nPut `MemeGenerator.php` into `classes` folder.\n\nNext go to `controllers` folder and place SampleController.php into it (or use your own controller).\nMake sure you do `php artisan dump-autoload`.\n\nImport `memegenerator.sql` into your database.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrishubert%2Fmemegenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrishubert%2Fmemegenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrishubert%2Fmemegenerator/lists"}