Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/priyankasingh2907/laravelautherisation
This project showcases a comprehensive implementation of authorization and middleware in a Laravel application. The focus is on demonstrating how to manage user permissions and protect routes using Laravel’s built-in authorization features and custom middleware.
https://github.com/priyankasingh2907/laravelautherisation
apisecurity authentication authorization backenddevelopment code developers fullstackdevelopment laravel laravelprojects middleware opensource php softwareengineering webapps webdevelopment websecurity
Last synced: about 1 month ago
JSON representation
This project showcases a comprehensive implementation of authorization and middleware in a Laravel application. The focus is on demonstrating how to manage user permissions and protect routes using Laravel’s built-in authorization features and custom middleware.
- Host: GitHub
- URL: https://github.com/priyankasingh2907/laravelautherisation
- Owner: priyankasingh2907
- Created: 2024-08-07T15:12:22.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-01T14:45:37.000Z (about 2 months ago)
- Last Synced: 2024-11-01T15:31:37.401Z (about 2 months ago)
- Topics: apisecurity, authentication, authorization, backenddevelopment, code, developers, fullstackdevelopment, laravel, laravelprojects, middleware, opensource, php, softwareengineering, webapps, webdevelopment, websecurity
- Language: JavaScript
- Homepage:
- Size: 24.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
// https://github.com/user-attachments/assets/24ea7125-d4c2-44ff-a3e2-7fcc374d39d0
https://github.com/user-attachments/assets/3ede60a1-eb1e-49e1-b9ff-f7c58c091865
# Laravel Authorization & Middleware Project
This project showcases a comprehensive implementation of authorization and middleware in a Laravel application. The focus is on demonstrating how to manage user permissions and protect routes using Laravel’s built-in authorization features and custom middleware.
## Tech Stack- User Authentication: Utilizes Laravel's authentication system to manage user registration, login, and logout processes.
-
- Role-Based Access Control (RBAC): Implements RBAC to restrict access to specific routes and functionalities based on user roles (e.g., Admin, Editor, Viewer).
- Custom Middleware: Develops custom middleware to enforce various checks and conditions before granting access to certain parts of the application.
- Policy Classes: Uses policy classes to authorize actions on specific models, ensuring fine-grained control over user permissions.
- Route Protection: Applies middleware to routes and route groups to secure the application endpoints.
- Dynamic Permissions: Allows for dynamic assignment of permissions to roles and users, providing flexibility in managing access control.
## Features- Laravel Framework: The primary framework used for building the application.
- Blade Templating: For creating dynamic and reusable views.
- Blade Templating: For creating dynamic and reusable views.
- Composer: Dependency management tool for PHP, used to install Laravel packages.
- Artisan: Laravel's command-line interface for managing the application.## Installation
1.Clone the repository:
```bash
git clonehttps://github.com/priyankasingh2907/ajaxCurdLaravel
cd laravel-crud-ajax
```
2.Install dependencies:
```bash
composer install
npm install
```3.Start the development server:
```bash
php artisan serve
```
4.Configure the database in the .env file and run migrations:
```bash
php artisan migrate
```
## Usage```javascript
Navigate to http://localhost:8000 in your web browser to access the application. Use the intuitive interface to create, read, update, and delete records dynamically without page reloads.
```## Contributing
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.