{"id":23631163,"url":"https://github.com/philecms/philetwitter","last_synced_at":"2025-11-08T11:30:37.089Z","repository":{"id":15940189,"uuid":"18682429","full_name":"PhileCMS/phileTwitter","owner":"PhileCMS","description":"Parse content and wrap Twitter mentions and hashtags","archived":false,"fork":false,"pushed_at":"2014-10-09T17:45:25.000Z","size":198,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T02:48:47.882Z","etag":null,"topics":["philecms-plugin"],"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/PhileCMS.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-04-11T17:19:21.000Z","updated_at":"2018-03-15T13:41:06.000Z","dependencies_parsed_at":"2022-09-22T14:41:16.640Z","dependency_job_id":null,"html_url":"https://github.com/PhileCMS/phileTwitter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhileCMS%2FphileTwitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhileCMS%2FphileTwitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhileCMS%2FphileTwitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhileCMS%2FphileTwitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhileCMS","download_url":"https://codeload.github.com/PhileCMS/phileTwitter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239551935,"owners_count":19657818,"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":["philecms-plugin"],"created_at":"2024-12-28T02:48:56.222Z","updated_at":"2025-11-08T11:30:36.927Z","avatar_url":"https://github.com/PhileCMS.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"phileTwitter\n===========\n\nParse content and wrap Twitter mentions and hashtags\n\n### Features\n\n* wrap `@` mentions\n* wrap `#` tags\n* control output (title, target, class name)\n\n### 1.1 Installation (composer)\n```\nphp composer.phar require phile/twitter:*\n```\n### 1.2 Installation (Download)\n\n* Install [Phile](https://github.com/PhileCMS/Phile)\n* Clone this repo into `plugins/phile/twitter`\n\n### 2. Activation\n\nAfter you have installed the plugin. You need to add the following line to your `config.php` file:\n\n```\n$config['plugins']['phile\\\\twitter'] = array('active' =\u003e true);\n``\n\n### Markdown Usage\n\nAll you have to do is use the `@` and `#` signs like you normally would in a tweet.\n\n#### Basic Examples:\n\nPut the code in there. Watch the HTML spew out.\n\n```html\nYou can now mention twitter people like @james2doyle or even use hash tags like #philecms.\n```\n\nOutput:\n\n```html\n\u003cp\u003eYou can now mention twitter people like \u003ca target=\"_blank\" class=\"twitter-link\" title=\"@james2doyle\" href=\"http://twitter.com/james2doyle\"\u003e@james2doyle\u003c/a\u003e or even use hash tags like \u003ca target=\"_blank\" class=\"twitter-link\" title=\"#philecms\" href=\"https://twitter.com/search?q=%23philecms\u0026amp;src=hash\"\u003e#philecms\u003c/a\u003e.\u003c/p\u003e\n```\n\n#### Config\n\nHere are the settings. See the above output for where everything goes.\n\n```\n'class' =\u003e 'twitter-link', // class to apply to the a tag, false is off\n'target' =\u003e '_blank', // target for the a tag, false is off\n'title' =\u003e true, // show a title on the a tag, false is off\n```\n\n### Why Use?\n\nClients are crazy. You want to make sure the HTML output is good and not a huge mess. It is a pretty good selling point for some people too. Doing things `automagically` always is.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilecms%2Fphiletwitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilecms%2Fphiletwitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilecms%2Fphiletwitter/lists"}