{"id":18609713,"url":"https://github.com/unlight/usefulfunctions","last_synced_at":"2025-04-10T22:31:39.169Z","repository":{"id":1056699,"uuid":"889487","full_name":"unlight/UsefulFunctions","owner":"unlight","description":"Garden plugin. Useful functions for plugin and application developers (ex- PluginUtils).","archived":false,"fork":false,"pushed_at":"2014-01-11T10:20:51.000Z","size":896,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T05:41:38.560Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unlight.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-09-05T14:18:46.000Z","updated_at":"2017-02-02T08:14:04.000Z","dependencies_parsed_at":"2022-08-16T11:55:18.883Z","dependency_job_id":null,"html_url":"https://github.com/unlight/UsefulFunctions","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/unlight%2FUsefulFunctions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2FUsefulFunctions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2FUsefulFunctions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2FUsefulFunctions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlight","download_url":"https://codeload.github.com/unlight/UsefulFunctions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248309731,"owners_count":21082269,"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-11-07T03:07:03.504Z","updated_at":"2025-04-10T22:31:38.686Z","avatar_url":"https://github.com/unlight.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"UsefulFunctions: Description\n============================\n\nThis plugin do nothing as standalone. This plugin is used by other plugins and applications, \nusing specific functions which doesn't exists in Garden core.\n\nProvides functions for:\n- render elements\n- validation\n- manipulate arrays and objects\n- work with files (upload, remove, etc.)\n- process images (thumbnaills, sprites, etc.)\n- run various common sql queries\n- load html document or file to phpQuery\n- translate short phrase by Google or Lingvo\n- debug, etc.\n\nAlso:\n- allow plugins to run time-based schedule code (like cron)\n- nested sets tree model\n\n\nSETUP\n=====\nAdd folowing line to cron task file ('crontab -e')\n*/5 * * * *  /usr/local/bin/php -q /home/www/htdocs/plugins/UsefulFunctions/bin/tick.php\n\n\nCONFIGURATION\n=============\n$Configuration['Plugins']['UsefulFunctions']['Console']['MessageEnconding'] = 'cp866';\n\tEcoding for messages in command line mode.\n\n$Configuration['Plugins']['UsefulFunctions']['Console']['Check'] = TRUE;\n\tBy default you cant run command line scripts from browser.\n\tSet this to False to disable checking.\n\n$Configuration['Plugins']['UsefulFunctions']['ImPath'] = '/usr/local/bin/';\n\tImageMagick path. If you are on Windows, this value can be c:\\Program Files\\ImageMagick\\\n\t\n$Configuration['Plugins']['UsefulFunctions']['LoremIpsum']['Language'] = 'latin';\n\tLorem ipsum text language:\n\tlatin - Standard Lipsum \n\tnoIpsum - Don't start with \"Lorem Ipsum\"\n\tOther values:\n\tgreek, hindi, russian, arabic, hebrew, letzebuergesch, etc. \n\tSee full list at http://generator.lorem-ipsum.info/lorem-ipsum-copy\n\t\n\t\nUPGRADE FROM PLUGINUTILS\n========================\nSome old plugins require PluginUtils plugin.\nYou can keep it. But very recomended to remove it, and use UsefulFunctions instead.\nOpen conf/config.php and do search \u0026 replace operation: PluginUtils =\u003e UsefulFunctions\n\nCHANGELOG\n=========\nNone.\n\n\nEXTERNAL CRON SERVICES\n======================\nhttp://www.cronjobservices.com\nhttp://www.crondroid.com/\nhttp://www.mywebcron.com/\nhttp://www.easycron.com/\nhttp://www.cronjobs.org/\nhttp://www.setcronjob.com/\nhttp://cronjob.ru/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Fusefulfunctions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlight%2Fusefulfunctions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Fusefulfunctions/lists"}