{"id":20472682,"url":"https://github.com/maxpou/silex-boilerplate","last_synced_at":"2026-06-10T14:31:05.526Z","repository":{"id":68227452,"uuid":"70685006","full_name":"maxpou/silex-boilerplate","owner":"maxpou","description":"A lightweight Silex application which provide an API with HAL/HATEOAS","archived":false,"fork":false,"pushed_at":"2016-10-12T11:48:47.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T13:52:13.778Z","etag":null,"topics":["doctrine","hal","hateoas","php","silex"],"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/maxpou.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-12T09:33:46.000Z","updated_at":"2019-01-07T03:45:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd08fe3b-82d4-49f2-af49-82c5894c834a","html_url":"https://github.com/maxpou/silex-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxpou/silex-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxpou%2Fsilex-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxpou%2Fsilex-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxpou%2Fsilex-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxpou%2Fsilex-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxpou","download_url":"https://codeload.github.com/maxpou/silex-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxpou%2Fsilex-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34157453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["doctrine","hal","hateoas","php","silex"],"created_at":"2024-11-15T14:21:17.393Z","updated_at":"2026-06-10T14:31:05.497Z","avatar_url":"https://github.com/maxpou.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social network API\n\n[![Build Status](https://travis-ci.org/maxpou/silex-boilerplate.svg?branch=master)](https://travis-ci.org/maxpou/silex-boilerplate)\n\nA lightweight [Silex](http://silex.sensiolabs.org/) application which provide an API with [HAL](http://stateless.co/hal_specification.html)/HATEOAS.\n\n## Installation\n\n1. Adapt `app/config.yml` file according to your database configuration (host, user and password)\n2. Install PHP dependencies: `composer install`\n3. Run a server: `composer run` (or manually `php -S 0.0.0.0:4000 -t web/`)\n\n**Note:** The demo need a database. The SQL file is available in `app/demo.sql`.\n\n## Using\n\nOpen [Postman](https://www.getpostman.com/docs/introduction)/[DHC](https://restlet.com/products/dhc/) at http://localhost:4000/  \nThen navigate into the API.\n\n*Demo* API Endpoints:\n\n* http://127.0.0.1:4000/: home\n* http://127.0.0.1:4000/users: List of the users\n* http://127.0.0.1:4000/users/{id}: Retrieve a specific user\n\n**Note:** A `dev mode` is also available at http://localhost:4000/index_dev.php. It's include the Web Profiler (Symfony web debug toolbar).\n\n## What's inside?\n\n* [doctrine/dbal](http://silex.sensiolabs.org/doc/providers/doctrine.html): The doctrine service provider (for easy database access).\n* [symfony/yaml](http://symfony.com/doc/current/components/yaml.html): The Symfony YAML component (useful for parameters).\n* [monolog/monolog](http://silex.sensiolabs.org/doc/providers/monolog.html): Because, we can't imagine an app without logs!\n* [willdurand/hateoas](https://github.com/willdurand/hateoas): A PHP library to build HATEOAS REST web services.\n\n## Tests\n\nRun test with:\n\n* `composer test`: run the PHPUnit tests\n* `composer coverage`: run the PHPUnit tests + generate a code coverage (report folder)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpou%2Fsilex-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxpou%2Fsilex-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpou%2Fsilex-boilerplate/lists"}