{"id":17922719,"url":"https://github.com/overtrue/laravel-passport-cache-token","last_synced_at":"2025-04-06T10:11:35.171Z","repository":{"id":38257104,"uuid":"270668574","full_name":"overtrue/laravel-passport-cache-token","owner":"overtrue","description":"Make laravel/passport token cacheable.","archived":false,"fork":false,"pushed_at":"2023-02-21T02:36:17.000Z","size":36,"stargazers_count":89,"open_issues_count":0,"forks_count":19,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T08:11:43.532Z","etag":null,"topics":["cache","laravel-passport","laravel-passport-cache","token-cache"],"latest_commit_sha":null,"homepage":null,"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/overtrue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["overtrue"],"patreon":"overtrue","custom":"https://www.easywechat.com/img/pay/wechat.jpg"}},"created_at":"2020-06-08T12:56:14.000Z","updated_at":"2025-01-09T11:16:59.000Z","dependencies_parsed_at":"2024-02-17T06:30:55.026Z","dependency_job_id":"5f3caf26-0474-49b1-a491-00ff1cd60135","html_url":"https://github.com/overtrue/laravel-passport-cache-token","commit_stats":{"total_commits":37,"total_committers":7,"mean_commits":5.285714285714286,"dds":0.3513513513513513,"last_synced_commit":"b5d0e80150eb93ac6a78d641089a3540588e4883"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":"overtrue/php-package","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Flaravel-passport-cache-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Flaravel-passport-cache-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Flaravel-passport-cache-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Flaravel-passport-cache-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/overtrue","download_url":"https://codeload.github.com/overtrue/laravel-passport-cache-token/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247464222,"owners_count":20942970,"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":["cache","laravel-passport","laravel-passport-cache","token-cache"],"created_at":"2024-10-28T20:40:35.766Z","updated_at":"2025-04-06T10:11:35.140Z","avatar_url":"https://github.com/overtrue.png","language":"PHP","funding_links":["https://github.com/sponsors/overtrue","https://patreon.com/overtrue","https://www.easywechat.com/img/pay/wechat.jpg"],"categories":[],"sub_categories":[],"readme":"\n\u003e 🚨 This package was created because of this issue: laravel/passport#382 . But the new version of passport has officially solved this issue at: laravel/passport#1447, so I think we can stop needing this package.\n\n\n# Laravel Passport Cache Token\n\nMake [laravel/passport](https://github.com/laravel/passport) token cacheable.\n\n[![Sponsor me](https://github.com/overtrue/overtrue/blob/master/sponsor-me-button-s.svg?raw=true)](https://github.com/sponsors/overtrue)\n\n\n## Installing\n\n```shell\n$ composer require overtrue/laravel-passport-cache-token -vvv\n```\n\n## Usage\n\nThanks to Laravel's automatic package discovery mechanism, you don't need to do any additional operations.\n\nOf course, you can also control the cache strategy freely, just need to configure the following in the configuration file:\n\n**config/passport.php**\n```php\nreturn [\n    //...\n    'cache' =\u003e [\n        // Cache key prefix\n        'prefix' =\u003e 'passport_',\n        \n        // The lifetime of token cache,\n        // Unit: second\n        'expires_in' =\u003e 300,\n        \n        // Cache tags\n        'tags' =\u003e [],\n    ],\n];\n```\n\n\n## :heart: Sponsor me \n\n[![Sponsor me](https://github.com/overtrue/overtrue/blob/master/sponsor-me.svg?raw=true)](https://github.com/sponsors/overtrue)\n\n如果你喜欢我的项目并想支持它，[点击这里 :heart:](https://github.com/sponsors/overtrue)\n\n\n## Project supported by JetBrains\n\nMany thanks to Jetbrains for kindly providing a license for me to work on this and other open-source projects.\n\n[![](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg)](https://www.jetbrains.com/?from=https://github.com/overtrue)\n\n## Contributing\n\nYou can contribute in one of three ways:\n\n1. File bug reports using the [issue tracker](https://github.com/overtrue/laravel-passport-cache-token/issues).\n2. Answer questions or fix bugs on the [issue tracker](https://github.com/overtrue/laravel-passport-cache-token/issues).\n3. Contribute new features or update the wiki.\n\n_The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable._\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovertrue%2Flaravel-passport-cache-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovertrue%2Flaravel-passport-cache-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovertrue%2Flaravel-passport-cache-token/lists"}