{"id":20876082,"url":"https://github.com/php-casbin/casbin-with-slim","last_synced_at":"2025-06-20T14:32:41.284Z","repository":{"id":37588073,"uuid":"210319627","full_name":"php-casbin/casbin-with-slim","owner":"php-casbin","description":"Casbin skeleton application with Slim Framework 4.","archived":false,"fork":false,"pushed_at":"2024-12-26T04:54:10.000Z","size":186,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-12T15:45:35.309Z","etag":null,"topics":["authorization","casbin","middleware","permission","rbac","roles","skeleton"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php-casbin.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,"zenodo":null}},"created_at":"2019-09-23T09:46:49.000Z","updated_at":"2024-12-26T04:52:56.000Z","dependencies_parsed_at":"2024-01-26T03:02:20.816Z","dependency_job_id":"cee55528-7628-443e-ac88-379c1332993c","html_url":"https://github.com/php-casbin/casbin-with-slim","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.4285714285714286,"last_synced_commit":"860e0791031ee9f0d1635fa5a84dfe4d7d43d38b"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/php-casbin/casbin-with-slim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-casbin%2Fcasbin-with-slim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-casbin%2Fcasbin-with-slim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-casbin%2Fcasbin-with-slim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-casbin%2Fcasbin-with-slim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-casbin","download_url":"https://codeload.github.com/php-casbin/casbin-with-slim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-casbin%2Fcasbin-with-slim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260961669,"owners_count":23089263,"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":["authorization","casbin","middleware","permission","rbac","roles","skeleton"],"created_at":"2024-11-18T06:49:58.954Z","updated_at":"2025-06-20T14:32:36.267Z","avatar_url":"https://github.com/php-casbin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Casbin skeleton application with Slim Framework 4\n\n[![PHPUnit](https://github.com/php-casbin/casbin-with-slim/actions/workflows/phpunit.yml/badge.svg)](https://github.com/php-casbin/casbin-with-slim/actions/workflows/phpunit.yml)\n[![Coverage Status](https://coveralls.io/repos/github/php-casbin/casbin-with-slim/badge.svg)](https://coveralls.io/github/php-casbin/casbin-with-slim)\n[![Latest Stable Version](https://poser.pugx.org/casbin/casbin-with-slim/v/stable)](https://packagist.org/packages/casbin/casbin-with-slim)\n[![Total Downloads](https://poser.pugx.org/casbin/casbin-with-slim/downloads)](https://packagist.org/packages/casbin/casbin-with-slim)\n[![License](https://poser.pugx.org/casbin/casbin-with-slim/license)](https://packagist.org/packages/casbin/casbin-with-slim)\n\nUse this skeleton application to quickly setup and start working on a new Slim Framework 4 application. This application uses the latest Slim 4 with Slim PSR-7 implementation and PHP-DI container implementation. It also uses the Monolog logger.\n\nThis skeleton application was built for Composer. This makes setting up a new [Casbin](https://github.com/php-casbin/casbin-with-slim) skeleton application with Slim Framework quick and easy.\n\n## Install the Application\n\nRun this command from the directory in which you want to install your new Slim Framework application.\n\n```bash\ncomposer create-project casbin/casbin-with-slim [my-app-name]\n```\n\nReplace `[my-app-name]` with the desired directory name for your new application. You'll want to:\n\n* Point your virtual host document root to your new application's `public/` directory.\n* Ensure `logs/` is web writable.\n\nTo run the application in development, you can run these commands \n\n```bash\ncd [my-app-name]\ncomposer start\n```\n\nOr you can use PHP Built-in web server:\n\n```\nphp -S localhost:8888 -t public\n```\n\nOr you can use `docker-compose` to run the app with `docker`, so you can run these commands:\n```bash\ncd [my-app-name]\ndocker-compose up -d\n```\nAfter that, open `http://localhost:8888` in your browser.\n\nRun this command in the application directory to run the test suite\n\n```bash\ncomposer test\n```\n\nThat's it! Now go build something cool.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-casbin%2Fcasbin-with-slim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-casbin%2Fcasbin-with-slim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-casbin%2Fcasbin-with-slim/lists"}