{"id":17384968,"url":"https://github.com/cvar1984/slim","last_synced_at":"2025-07-31T22:41:35.012Z","repository":{"id":54656553,"uuid":"272719826","full_name":"Cvar1984/slim","owner":"Cvar1984","description":"Use prototyped framework as you like","archived":false,"fork":false,"pushed_at":"2021-02-05T15:19:37.000Z","size":2727,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-17T12:28:36.183Z","etag":null,"topics":["architecture","papercss","skeleton","slim-framework","symfony","twig"],"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/Cvar1984.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":["https://paypal.me/Cvar1984"]}},"created_at":"2020-06-16T13:46:39.000Z","updated_at":"2024-08-12T20:02:43.000Z","dependencies_parsed_at":"2022-08-13T23:00:56.545Z","dependency_job_id":null,"html_url":"https://github.com/Cvar1984/slim","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cvar1984%2Fslim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cvar1984%2Fslim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cvar1984%2Fslim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cvar1984%2Fslim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cvar1984","download_url":"https://codeload.github.com/Cvar1984/slim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228520241,"owners_count":17932552,"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":["architecture","papercss","skeleton","slim-framework","symfony","twig"],"created_at":"2024-10-16T07:47:09.871Z","updated_at":"2024-12-06T20:10:54.451Z","avatar_url":"https://github.com/Cvar1984.png","language":"PHP","readme":"# Slim 4 skeleton\n\n[![CodeFactor](https://www.codefactor.io/repository/github/cvar1984/slim/badge)](https://www.codefactor.io/repository/github/cvar1984/slim)\n![PHP Composer](https://github.com/Cvar1984/slim/workflows/PHP%20Composer/badge.svg?branch=master)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)\n\n## install to webroot\nclone to your htdocs\n```sh\ngit clone \u003clink\u003e\n```\nmove everything to `/var/www/html (webroot)`\n\nthen go to `/var/www/html` and install depencies\n```sh\ncomposer install --no-dev\nyarn install\n```\nedit `/var/www/html/app/container.php`\n\ncomment this\n```php\n// $app-\u003esetBasepath();\n```\nstart your webservice like apache or something like\n```sh\nphp -S 127.0.0.1:8080 -t /var/www/html/public\n```\n## install to webroot/custom\nclone to your htdocs\n```sh\ngit clone \u003clink\u003e\n```\nmove everything to `/var/www/html/custom (webroot)`\n\nthen go to `/var/www/html/custom` and install depencies\n```sh\ncomposer install --no-dev\nyarn install\n```\nedit `/var/www/html/app/container.php`\ndo this\n```php\n$app-\u003esetBasepath('/custom');\n```\nstart your webservice like apache or something like\n```sh\nphp -S 127.0.0.1:8080 -t /var/www/html/custom/public\n```\n### Public directory\n```\npublic/\n|-- assets\n|   `-- local\n|       |-- images\n|       |-- audio\n|       |-- video\n|       `-- cache\n`-- index.php\n```\n\n### Where you connect front-end \u0026 back-end\n```\nsrc/\n`-- Controller\n    |-- BlogController.php\n    |-- HomeController.php\n    |-- NotFoundController.php\n    `-- Middleware -\u003e Local middleware\n        |-- NotFoundMiddleware.php\n        `-- DatabaseMiddleware.php\n```\n\n### Where your setup framework\n```\nconfig/\n|-- bootstrap.php\n|-- container.php\n|-- middleware.php\n|-- routes.php\n`-- settings.php\n```\n\n### Where front-end do their job\n```\ntemplates/\n|-- assets\n|   `-- local\n|       |-- js\n|       `-- css\n|-- blog.html.twig\n|-- footer.html.twig\n|-- header.html.twig\n`-- home.html.twig\n```\n","funding_links":["https://paypal.me/Cvar1984"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvar1984%2Fslim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvar1984%2Fslim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvar1984%2Fslim/lists"}