Download the PHP package leap-lyhour/lighthouse-graphql-sanctum-auth without Composer

On this page you can find all versions of the php package leap-lyhour/lighthouse-graphql-sanctum-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package lighthouse-graphql-sanctum-auth

Lighthouse GraphQL Sanctum Auth / Lighthouse GraphQL Sanctum Auth

Enterprise-grade Laravel Package that provides Laravel Sanctum Authentication with Lighthouse GraphQL, Spatie Laravel Permission, Multi-Tenant Support, 2FA, Refresh Token System, Device Management, Audit Logging, IP Filtering, Ownership & Row-Level Security.

Laravel Package Enterprise-grade ដែលផ្តល់ Laravel Sanctum Authentication ជាមួយ Lighthouse GraphQL, Spatie Laravel Permission, Multi-Tenant Support, 2FA, Refresh Token System, Device Management, Audit Logging, IP Filtering, Ownership & Row-Level Security។

Features / Features

Installation / ការដំឡើង

Quick Start / ចាប់ផ្តើមរហ័ស

Configuration / ការកំណត់

Publish the configuration file: Publish file កំណត់:

This will create config/lighthouse-sanctum-auth.php in your application. នេះនឹងបង្កើត config/lighthouse-sanctum-auth.php ក្នុង application របស់អ្នក។

For detailed configuration options, see Configuration Guide. សម្រាប់ការកំណត់លម្អិត, មើល មគ្គុទេសក៍ការកំណត់។

Usage / ការប្រើ

GraphQL Schema / GraphQL Schema

The package provides authentication mutations and queries: Package ផ្តល់ authentication mutations និង queries:

Authentication Example / ឧទាហរណ៍ Authentication

Directives / Directives

@hasRole

Restrict access to users with specific roles: កំណត់ការចូលប្រើប្រាស់ទៅ users ដែលមាន roles ជាក់លាក់:

@hasPermission

Restrict access to users with specific permissions: កំណត់ការចូលប្រើប្រាស់ទៅ users ដែលមាន permissions ជាក់លាក់:

@ownership

Ensure users can only access resources they own: ធានាថា users អាចចូលប្រើ resources ដែលពួកគេជាម្ចាស់ប៉ុណ្ណោះ:

@belongsToTenant

Ensure resources belong to the current tenant: ធានាថា resources ជាកម្មសិទ្ធិរបស់ tenant បច្ចុប្បន្ន:

@audit

Log field access and mutations: កត់ត្រា field access និង mutations:

Combining Directives / ការរួមបញ្ចូល Directives

You can combine multiple directives for enhanced security: អ្នកអាចរួមបញ្ចូល directives ច្រើនសម្រាប់ security កាន់តែប្រសើរ:

Requirements / តម្រូវការ

Documentation / Documentation

Complete documentation is available in the docs directory: Documentation ពេញលេញមាននៅក្នុង directory docs:

Quick Examples / ឧទាហរណ៍រហ័ស

User Model Setup / ការរៀបចំ User Model

Using Helpers / ការប្រើ Helpers

Testing / ការធ្វើតេស្ត

Contributing / ការរួមចំណែក

Contributions are welcome! Please feel free to submit a Pull Request. ការរួមចំណែកត្រូវបានស្វាគមន៍! សូម submit Pull Request។

Changelog / ប្រវត្តិការផ្លាស់ប្តូរ

Please see CHANGELOG.md for more information on what has changed recently. សូមមើល CHANGELOG.md សម្រាប់ព័ត៌មានបន្ថែមអំពីការផ្លាស់ប្តូរថ្មីៗ។

Security / សុវត្ថិភាព

If you discover any security-related issues, please email [email protected] instead of using the issue tracker. ប្រសិនបើអ្នករកឃើញបញ្ហាទាក់ទងនឹងសុវត្ថិភាព, សូមផ្ញើ email ទៅ [email protected] ជំនួសឱ្យការប្រើ issue tracker។

Credits / ការទទួលស្គាល់

License / អាជ្ញាប័ណ្ឌ

This package is open-sourced software licensed under the MIT license. Package នេះជា open-sourced software ដែលមាន license ក្រោម MIT license។


All versions of lighthouse-graphql-sanctum-auth with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^12.0
laravel/sanctum Version ^4.2
nuwave/lighthouse Version ^6.63
spatie/laravel-permission Version ^6.23
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package leap-lyhour/lighthouse-graphql-sanctum-auth contains the following files

Loading the files please wait ...