{"id":33967330,"url":"https://github.com/svp1989/symfony-api-skeleton","last_synced_at":"2025-12-12T23:42:18.448Z","repository":{"id":57062855,"uuid":"126352508","full_name":"svp1989/symfony-api-skeleton","owner":"svp1989","description":" rest api  skeleton based on symfony-flex, api-platform, fosuserbundle etc.","archived":false,"fork":false,"pushed_at":"2018-04-19T11:25:20.000Z","size":179,"stargazers_count":11,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-07-16T01:06:02.739Z","etag":null,"topics":["fosuserbundle","jwt","rest-api","symfony-flex","symfony4"],"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/svp1989.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":"2018-03-22T15:02:58.000Z","updated_at":"2023-07-16T01:06:02.740Z","dependencies_parsed_at":"2022-08-24T10:10:15.116Z","dependency_job_id":null,"html_url":"https://github.com/svp1989/symfony-api-skeleton","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/svp1989/symfony-api-skeleton","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svp1989%2Fsymfony-api-skeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svp1989%2Fsymfony-api-skeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svp1989%2Fsymfony-api-skeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svp1989%2Fsymfony-api-skeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svp1989","download_url":"https://codeload.github.com/svp1989/symfony-api-skeleton/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svp1989%2Fsymfony-api-skeleton/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27695319,"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-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["fosuserbundle","jwt","rest-api","symfony-flex","symfony4"],"created_at":"2025-12-12T23:42:15.467Z","updated_at":"2025-12-12T23:42:18.436Z","avatar_url":"https://github.com/svp1989.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# symfony-api-skeleton\n JSON REST API simple skeleton based on symfony-flex, JWT, api-platform, fosuserbundle etc.\n\n## Installation\n\n### 1. Clone repository\nCreate project :\n\n```bash\ncomposer create-project svp1989/symfony-api-skeleton:@dev\n```\nOr clone repository from GitHub:\n\n```bash\ngit clone https://github.com/svp1989/symfony-api-skeleton.git\n```\n\n### 2. Dependencies installation\n\nInstall all needed dependencies:\n\n```bash\ncomposer install\n```\n\n### 3. Create JWT auth keys\n\nCreate JWT auth keys and configure `.env`:\n\n```bash\nssh-keygen -t rsa -b 4096 -f private.pem\nopenssl rsa -in private.pem -pubout -outform PEM -out public.pem\n\n```\n\n\n### 4. Configuration\n\nCreate `.env` file, which contains all the necessary\nenvironment variables that application needs:\n\n```bash\ncp .env.dist .env\n```\n\n### 5. Create database\n\nCreate database and upload fixtures:\n\n```bash\nbin/console doctrine:database:create \nbin/console doctrine:schema:create\nbin/console doctrine:fixtures:load\n```\n### 6. Start server\n\nStart server and open in the browser http://127.0.0.1:8000/api/doc:\n\n```bash\nbin/console server:start\n```\n## Authorisation\n\nGo to route /api/login:\u003cbr\u003e\n**ROLE_USER**:\u003cbr\u003e\n    --username:**user**\u003cbr\u003e\n    --password:**user**\u003cbr\u003e\n    \n**ROLE_ADMIN**\u003cbr\u003e\n    --username:**admin**\u003cbr\u003e\n    --password:**admin**\u003cbr\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvp1989%2Fsymfony-api-skeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvp1989%2Fsymfony-api-skeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvp1989%2Fsymfony-api-skeleton/lists"}