{"id":21400233,"url":"https://github.com/oefenweb/cakephp-social-media","last_synced_at":"2025-07-13T21:31:06.332Z","repository":{"id":57030297,"uuid":"10688587","full_name":"Oefenweb/cakephp-social-media","owner":"Oefenweb","description":"A minimalistic SocialMedia Plugin for CakePHP","archived":false,"fork":false,"pushed_at":"2019-01-23T12:26:33.000Z","size":46,"stargazers_count":4,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-09T03:54:13.786Z","etag":null,"topics":["cakephp","cakephp2","cakephp3","php","plugin","social-media","socialmedia-plugin"],"latest_commit_sha":null,"homepage":"","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/Oefenweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-14T12:34:40.000Z","updated_at":"2019-01-23T12:26:31.000Z","dependencies_parsed_at":"2022-08-23T17:40:58.251Z","dependency_job_id":null,"html_url":"https://github.com/Oefenweb/cakephp-social-media","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fcakephp-social-media","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fcakephp-social-media/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fcakephp-social-media/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fcakephp-social-media/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oefenweb","download_url":"https://codeload.github.com/Oefenweb/cakephp-social-media/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225917671,"owners_count":17544931,"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":["cakephp","cakephp2","cakephp3","php","plugin","social-media","socialmedia-plugin"],"created_at":"2024-11-22T15:19:58.017Z","updated_at":"2024-11-22T15:20:00.043Z","avatar_url":"https://github.com/Oefenweb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SocialMedia plugin for CakePHP\n\n[![Build Status](https://travis-ci.org/Oefenweb/cakephp-social-media.png?branch=master)](https://travis-ci.org/Oefenweb/cakephp-social-media)\n[![PHP 7 ready](http://php7ready.timesplinter.ch/Oefenweb/cakephp-social-media/badge.svg)](https://travis-ci.org/Oefenweb/cakephp-social-media)\n[![Coverage Status](https://codecov.io/gh/Oefenweb/cakephp-social-media/branch/master/graph/badge.svg)](https://codecov.io/gh/Oefenweb/cakephp-social-media)\n[![Packagist downloads](http://img.shields.io/packagist/dt/Oefenweb/cakephp-social-media.svg)](https://packagist.org/packages/oefenweb/cakephp-social-media)\n[![Code Climate](https://codeclimate.com/github/Oefenweb/cakephp-social-media/badges/gpa.svg)](https://codeclimate.com/github/Oefenweb/cakephp-social-media)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Oefenweb/cakephp-social-media/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Oefenweb/cakephp-social-media/?branch=master)\n\nThe SocialMedia plugin provides the tools to generate social media links (Helper) and handle them (Controller).\n\n## Requirements\n\n* CakePHP 2.9.0 or greater.\n* PHP 7.0.0 or greater.\n\n## Installation\n\n* Clone/Copy the files in this directory into `app/Plugin/SocialMedia`\n\n## Configuration\n\n* Ensure the plugin is loaded in `app/Config/bootstrap.php` by calling:\n\n```\nCakePlugin::load('SocialMedia');\n```\n\n* Ensure to configure the following two lines in `app/Config/bootstrap.php`:\n\n```\nConfigure::write('SocialMedia.salt', 'your-salt');\nConfigure::write('SocialMedia.facebookAppId', 'your-facebook-app-id');\n```\n\n## Usage\n\n### Facebook share link\n\n```\necho $this-\u003eSocialMedia-\u003efacebook(\n\t__('Share on Facebook'), [\n\t\t'link' =\u003e 'your-url',\n\t\t'name' =\u003e 'your-name',\n\t\t'caption' =\u003e 'your-caption',\n\t\t'description' =\u003e 'your-description',\n\t\t'picture' =\u003e 'your-picture'\n\t]\n);\n```\n\n### Twitter tweet link\n\n```\necho $this-\u003eSocialMedia-\u003etwitter(\n\t__('Tweet on Twitter'), [\n\t\t'url' =\u003e 'your-url',\n\t\t'via' =\u003e 'your-via',\n\t\t'text' =\u003e 'your-text',\n\t]\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fcakephp-social-media","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foefenweb%2Fcakephp-social-media","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fcakephp-social-media/lists"}