{"id":15292804,"url":"https://github.com/swiftapi/swift-starter","last_synced_at":"2026-01-30T22:08:41.826Z","repository":{"id":57063005,"uuid":"356620549","full_name":"SwiftAPI/swift-starter","owner":"SwiftAPI","description":"Starter template for Swift","archived":false,"fork":false,"pushed_at":"2024-05-07T21:32:51.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T20:44:57.411Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://swiftapi.github.io/swift-docs/","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/SwiftAPI.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-10T15:22:27.000Z","updated_at":"2024-05-07T21:32:32.000Z","dependencies_parsed_at":"2024-05-07T22:33:11.636Z","dependency_job_id":"26a2b4cc-53f4-424e-a959-6ea79d01f929","html_url":"https://github.com/SwiftAPI/swift-starter","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.1071428571428571,"last_synced_commit":"4d3ee2f65cde038e0d0c5e991075f0fef3b010e0"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftAPI%2Fswift-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftAPI%2Fswift-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftAPI%2Fswift-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftAPI%2Fswift-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwiftAPI","download_url":"https://codeload.github.com/SwiftAPI/swift-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240236198,"owners_count":19769571,"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-09-30T16:27:19.022Z","updated_at":"2026-01-30T22:08:41.784Z","avatar_url":"https://github.com/SwiftAPI.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CodeFactor](https://www.codefactor.io/repository/github/swiftapi/swift-starter/badge)](https://www.codefactor.io/repository/github/swiftapi/swift-starter)\n[![Version](http://poser.pugx.org/swift-api/swift-starter/version)](https://packagist.org/packages/swift-api/swift-starter)\n[![Latest Unstable Version](http://poser.pugx.org/swift-api/swift-starter/v/unstable)](https://packagist.org/packages/swift-api/swift-starter)\n[![PHP Version Require](http://poser.pugx.org/swift-api/swift-starter/require/php)](https://packagist.org/packages/swift-api/swift-starter)\n\n# Getting started\n\n\n## Install\nhttps://packagist.org/packages/swift-api/swift-starter\n```shell\ncomposer create-project swift-api/swift-starter project_name\n```\n\n## Init database\nMake sure to fill out login detail to a database in /etc/config/database.yaml\n```yaml\nconnection:\n    driver: mysqli\n    host: localhost\n    username: root\n    password: ''\n    database: myapp_db\n    port: 3306\n    prefix: prefix_\n```\nInit the database by running \n```shell\nphp bin/console database:entities:update\n```\n\n## Setup app details\nFill out /etc/config/app.yaml. Make sure to add the right baseurl, otherwise routing won't work.\n\n## All set!\nVisit your site site _app-domain_/hello-world and you should get the following response\n```json\n{\n    \"message\": \"Hey legend! Let's get started at https://henrivantsant.github.io/swift-docs/\"\n}\n```\n\nFrom here you can rename the references from MyApp to your own namespace and get going.\n1. Rename in root services.yaml (this references to destination to the first part of the namespace)\n2. Rename in App folder\n3. Rename in app/config.yaml\n4. Rename namespace of the HelloWorld controller or remove it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftapi%2Fswift-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftapi%2Fswift-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftapi%2Fswift-starter/lists"}