{"id":21090001,"url":"https://github.com/travelxml/create-your-first-php-package-example","last_synced_at":"2025-07-21T21:31:44.931Z","repository":{"id":57056456,"uuid":"280083047","full_name":"TravelXML/Create-Your-First-PHP-Package-Example","owner":"TravelXML","description":"How to create your first package. A quick test composer package, published on Packagist","archived":false,"fork":false,"pushed_at":"2020-07-17T10:57:56.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-14T06:14:35.639Z","etag":null,"topics":["package","packages","php","php7","phpframework"],"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/TravelXML.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-07-16T07:19:38.000Z","updated_at":"2022-02-12T08:24:00.000Z","dependencies_parsed_at":"2022-08-24T14:52:55.367Z","dependency_job_id":null,"html_url":"https://github.com/TravelXML/Create-Your-First-PHP-Package-Example","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/TravelXML/Create-Your-First-PHP-Package-Example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelXML%2FCreate-Your-First-PHP-Package-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelXML%2FCreate-Your-First-PHP-Package-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelXML%2FCreate-Your-First-PHP-Package-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelXML%2FCreate-Your-First-PHP-Package-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TravelXML","download_url":"https://codeload.github.com/TravelXML/Create-Your-First-PHP-Package-Example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelXML%2FCreate-Your-First-PHP-Package-Example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266382207,"owners_count":23920663,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["package","packages","php","php7","phpframework"],"created_at":"2024-11-19T21:33:19.465Z","updated_at":"2025-07-21T21:31:44.891Z","avatar_url":"https://github.com/TravelXML.png","language":"PHP","readme":"# Write Your First PHP Package, PHP Package Example\nA quick test composer package, published on Packagist\n\nRUN: composer require spackage/firstpackage:dev-master\n\nthen run below code here\n\n\n\nrequire '../vendor/autoload.php';\n\nuse spackage\\firstpackage\\Index;\n\n$greeting = new Index();\n\necho $greeting-\u003egreet(\"Hello Composer\");\n\nenjoy coding :)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravelxml%2Fcreate-your-first-php-package-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftravelxml%2Fcreate-your-first-php-package-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravelxml%2Fcreate-your-first-php-package-example/lists"}