{"id":26916700,"url":"https://github.com/phpffcms/widget-newuser","last_synced_at":"2025-04-01T19:36:40.718Z","repository":{"id":43627310,"uuid":"71687745","full_name":"phpffcms/widget-newuser","owner":"phpffcms","description":"Widget to display new users in template block for ffcms 3","archived":false,"fork":false,"pushed_at":"2016-10-23T08:34:14.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-13T03:44:34.750Z","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/phpffcms.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-10-23T07:15:27.000Z","updated_at":"2016-10-23T07:41:18.000Z","dependencies_parsed_at":"2022-08-24T00:50:55.588Z","dependency_job_id":null,"html_url":"https://github.com/phpffcms/widget-newuser","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/phpffcms%2Fwidget-newuser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpffcms%2Fwidget-newuser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpffcms%2Fwidget-newuser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpffcms%2Fwidget-newuser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpffcms","download_url":"https://codeload.github.com/phpffcms/widget-newuser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246701361,"owners_count":20820044,"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":"2025-04-01T19:36:40.142Z","updated_at":"2025-04-01T19:36:40.711Z","avatar_url":"https://github.com/phpffcms.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Widget Newuser\nThis widget allow you to display new users in website template block on ffcms 3. **Demo**:\n\n![Widget new users preview image](https://cloud.githubusercontent.com/assets/3446897/19624709/f78f7170-990b-11e6-8d37-275b67f00596.png)\n\nTo use this widget you should require it by composer:\n\n```\ncomposer require phpffcms/widget-newuser:1.*@stable\n```\n\nor insert in composer.json to section \"require\": {}\n\n```\n\"require\": {\n  \"phpffcms/widget-newuser\": \"1.*@stable\"\n}\n```\n\nThen in ffcms admin panel follow to *Widgets* -\u003e *All widgets* ... -\u003e press *Install* and type in field ``Newuser`` and push **Try install**.\n\nAfter installation is complete you can use anywhere in front templates (ex. in /Apps/Views/Front/default/layout/main.php) block like this:\n```\n\u003c?php if (Widgets\\Front\\Newuser\\Newuser::enabled()): ?\u003e\n    \u003cdiv class=\"panel panel-primary\"\u003e\n        \u003cdiv class=\"panel-heading\"\u003e\u003c?= __('New users') ?\u003e\u003c/div\u003e\n        \u003cdiv class=\"panel-body\"\u003e\n            \u003c?= Widgets\\Front\\Newuser\\Newuser::widget(); ?\u003e\n        \u003c/div\u003e\n    \u003c/div\u003e\n\u003c?php endif; ?\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpffcms%2Fwidget-newuser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpffcms%2Fwidget-newuser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpffcms%2Fwidget-newuser/lists"}