{"id":19197583,"url":"https://github.com/awurth/slim3","last_synced_at":"2025-09-02T08:33:02.158Z","repository":{"id":62490332,"uuid":"71038704","full_name":"awurth/Slim3","owner":"awurth","description":"Slim Framework 3 Skeleton Application","archived":false,"fork":false,"pushed_at":"2020-01-05T18:01:37.000Z","size":505,"stargazers_count":69,"open_issues_count":1,"forks_count":26,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-16T16:50:26.202Z","etag":null,"topics":["boilerplate","eloquent","framework","monolog","php","skeleton","slim","starter","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/awurth.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":"2016-10-16T08:31:18.000Z","updated_at":"2024-09-05T08:05:18.000Z","dependencies_parsed_at":"2022-11-02T11:16:07.655Z","dependency_job_id":null,"html_url":"https://github.com/awurth/Slim3","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/awurth/Slim3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awurth%2FSlim3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awurth%2FSlim3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awurth%2FSlim3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awurth%2FSlim3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awurth","download_url":"https://codeload.github.com/awurth/Slim3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awurth%2FSlim3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271839080,"owners_count":24831692,"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-08-24T02:00:11.135Z","response_time":111,"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":["boilerplate","eloquent","framework","monolog","php","skeleton","slim","starter","twig"],"created_at":"2024-11-09T12:17:23.958Z","updated_at":"2025-08-24T09:49:42.228Z","avatar_url":"https://github.com/awurth.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slim 3 application skeleton\n\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/297ce2e4-166d-45d5-8d11-ae0651a8c7ac/mini.png)](https://insight.sensiolabs.com/projects/297ce2e4-166d-45d5-8d11-ae0651a8c7ac) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/awurth/Slim/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/awurth/Slim/?branch=master)\n\nThis is an app skeleton for the Slim PHP Micro-Framework to get started quickly\n\n## Features\n- [Eloquent ORM](https://github.com/illuminate/database)\n- Flash messages ([Slim Flash](https://github.com/slimphp/Slim-Flash))\n- CSRF protection ([Slim Csrf](https://github.com/slimphp/Slim-Csrf)) with fields rendering with a twig function\n- Authentication ([Sentinel](https://github.com/cartalyst/sentinel))\n- Validation ([Respect](https://github.com/Respect/Validation) + [Slim Validation](https://github.com/awurth/slim-validation))\n- Twig templating engine [Slim Twig View](https://github.com/slimphp/Twig-View) with cache and debug\n- CSS Framework [Bootstrap 4](https://github.com/twbs/bootstrap)\n- [Webpack](https://webpack.js.org) [Encore](https://symfony.com/doc/current/frontend.html#webpack-encore) for *SASS* and *JS* files compilation and minification\n- Helpers for assets management, redirections, ...\n- Logs ([Monolog](https://github.com/Seldaek/monolog))\n- Dotenv configuration\n- Console commands for updating the database schema or creating users\n- Functionnal tests base ([PHPUnit](https://github.com/sebastianbergmann/phpunit))\n\nFor more information, check out the project's [wiki](https://github.com/awurth/Slim/wiki).\n\n## Installation\n### Create the project using Composer\n``` bash\n$ composer create-project awurth/slim-base [project-name]\n```\n\n### Setup environment variables\n\nCopy `.env` to a `.env.local` file and change the values to your needs. This file is ignored by Git so all developers working on the project can have their own configuration.\n\n### Download client-side libraries\n``` bash\n$ yarn\n```\nor if you prefer to use npm\n``` bash\n$ npm install\n```\n\n### Webpack\nThis skeleton uses Webpack to manage assets. The CSS and Javascript files are located in `assets/`, so you have to use Webpack after creating your project to generate the minified files in `public/`, which will be ignored by Git.\n\n#### Generate assets\nIf you just want to generate the default CSS and JS that comes with this skeleton, run the following command\n``` bash\n$ yarn build\n```\nor\n``` bash\n$ npm run build\n```\n\nIf you want to run a watcher and begin coding\n``` bash\n$ yarn watch\n```\n\n### Setup cache files permissions\nThe skeleton uses a cache system for Twig templates and the Monolog library for logging, so you have to make sure that PHP has write permissions on the `var/cache/` and `var/log/` directories.\n\n### Update your database schema\nFirst, create a database with the name you set in the `.env*` file. Then you can create the tables by running this command:\n``` bash\n$ php bin/console db\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawurth%2Fslim3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawurth%2Fslim3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawurth%2Fslim3/lists"}