{"id":28191615,"url":"https://github.com/modelfoxdotdev/modelfox-php","last_synced_at":"2025-12-12T17:51:07.184Z","repository":{"id":57065007,"uuid":"416857912","full_name":"modelfoxdotdev/modelfox-php","owner":"modelfoxdotdev","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-14T02:49:31.000Z","size":5560,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-18T23:38:41.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/modelfoxdotdev.png","metadata":{"files":{"readme":"README.md","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":"2021-10-13T18:36:35.000Z","updated_at":"2022-05-14T02:46:44.000Z","dependencies_parsed_at":"2022-08-24T07:50:08.503Z","dependency_job_id":null,"html_url":"https://github.com/modelfoxdotdev/modelfox-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelfoxdotdev%2Fmodelfox-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelfoxdotdev%2Fmodelfox-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelfoxdotdev%2Fmodelfox-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modelfoxdotdev%2Fmodelfox-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modelfoxdotdev","download_url":"https://codeload.github.com/modelfoxdotdev/modelfox-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254518401,"owners_count":22084376,"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-05-16T11:10:23.512Z","updated_at":"2025-12-12T17:51:02.147Z","avatar_url":"https://github.com/modelfoxdotdev.png","language":"C","readme":"# ModelFox for PHP\n\n- [Watch the Video](https://www.modelfox.dev)\n- [Read the Docs](https://www.modelfox.dev/docs)\n\nThe ModelFox PHP library makes it easy to make predictions with your ModelFox machine learning model from PHP.\n\n## Usage\n\nAdd `modelfox/modelfox` to your `composer.json` with this command:\n\n```json\n$ composer require modelfox/modelfox\n```\n\n```php\n\u003c?php\n\nnamespace modelfox\\modelfox;\n\nrequire_once(dirname(dirname(__FILE__)) . '/vendor/autoload.php');\n\n$model_path = dirname(dirname(__FILE__)) . '/heart_disease.modelfox';\n$model = Model::from_path($model_path);\n\n$input = [\n    'age' =\u003e 63.0,\n    'gender' =\u003e 'male',\n    // ..\n];\n\n$output = $model-\u003epredict($input);\n```\n\nFor more information, [read the docs](https://www.modelfox.dev/docs).\n\n## Platform Support\n\nModelFox for PHP is currently supported on Linux, macOS, and Windows with ARM64 and AMD64 CPUs. Are you interested in another platform? [Open an issue](https://github.com/modelfoxdotdev/modelfox/issues/new) or send us an email at [help@modelfox.dev](mailto:help@modelfox.dev).\n\n## Examples\n\nThe source for this package contains a number of examples in the `examples` directory. Each example has a `README.md` explaining how to run it.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelfoxdotdev%2Fmodelfox-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodelfoxdotdev%2Fmodelfox-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodelfoxdotdev%2Fmodelfox-php/lists"}