{"id":18273248,"url":"https://github.com/efficiently/laravel_authority-controller_app","last_synced_at":"2025-04-05T02:31:14.661Z","repository":{"id":12613520,"uuid":"15284609","full_name":"efficiently/laravel_authority-controller_app","owner":"efficiently","description":"Laravel 4.2, 5.0, 5.1 and 5.2 demo application with Authority-Controller package","archived":false,"fork":false,"pushed_at":"2016-09-12T15:37:51.000Z","size":518,"stargazers_count":14,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-20T21:19:15.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/efficiently.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-18T14:00:22.000Z","updated_at":"2016-10-18T19:33:27.000Z","dependencies_parsed_at":"2022-09-01T09:01:02.371Z","dependency_job_id":null,"html_url":"https://github.com/efficiently/laravel_authority-controller_app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efficiently%2Flaravel_authority-controller_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efficiently%2Flaravel_authority-controller_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efficiently%2Flaravel_authority-controller_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efficiently%2Flaravel_authority-controller_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/efficiently","download_url":"https://codeload.github.com/efficiently/laravel_authority-controller_app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247279400,"owners_count":20912878,"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":[],"created_at":"2024-11-05T12:05:45.300Z","updated_at":"2025-04-05T02:31:13.426Z","avatar_url":"https://github.com/efficiently.png","language":"PHP","readme":"[Laravel 5.3](http://laravel.com) sample application with [AuthorityController](https://github.com/efficiently/authority-controller/tree/master) package\n=====================\n\n[![Build Status](https://travis-ci.org/efficiently/laravel_authority-controller_app.svg?branch=master)](https://travis-ci.org/efficiently/laravel_authority-controller_app)\n\nFor [**Laravel 5.2**](http://laravel.com/docs/5.2) supports, see the [2.2 branch](https://github.com/efficiently/laravel_authority-controller_app/tree/2.2) of this demo.\n\nFor [Laravel 5.1](http://laravel.com/docs/5.1) supports, see the [2.1 branch](https://github.com/efficiently/laravel_authority-controller_app/tree/2.1) of this demo.\n\nFor [Laravel 5.0](http://laravel.com/docs/5.0) supports, see the [2.0 branch](https://github.com/efficiently/laravel_authority-controller_app/tree/2.0) of this demo.\n\nFor [Laravel 4.2](http://laravel.com/docs/4.2) supports, see the [1.0 branch](https://github.com/efficiently/laravel_authority-controller_app/tree/1.0) of this demo.\n\nThe Laravel framework utilizes [Composer](http://getcomposer.org/) for installation and dependency management. If you haven't already, start by [installing Composer](http://getcomposer.org/doc/00-intro.md).\n\nThe easiest way to play with Authority-Controller, is to `git clone` this Laravel 5.3 demo application:\n```bash\ngit clone https://github.com/efficiently/laravel_authority-controller_app \u0026\u0026 cd laravel_authority-controller_app/\n```\n\nThen inside the application's root, run these commands:\n```bash\ncomposer install\nphp artisan serve\n```\nIn your Web browser, go to this URL: [http://localhost:8000/users](http://localhost:8000/users)\n\nYou should see an `AccessDenied` exception.\n\nWith this error message: __You are not authorized to access this page.__.\n\nGo to: [http://localhost:8000/login](http://localhost:8000/login)\n\nFill the login form with `admin@localhost.com` and `password` then click on the `Login` button.\n\nYou should see: __You are logged in!__.\n\nThen go back to: [http://localhost:8000/users](http://localhost:8000/users)\n\nYou should see: __Administrator__.\n\nCongratulations, You have the basics to use `AuthorityController`!\n\nNow, You can read the [doc](https://github.com/efficiently/authority-controller/blob/master/README.md#check-authority-rules--authorization) to add more authorization rules.\n\nYou can also read how this demo was build [HERE](demo_making_of.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefficiently%2Flaravel_authority-controller_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefficiently%2Flaravel_authority-controller_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefficiently%2Flaravel_authority-controller_app/lists"}