{"id":36281665,"url":"https://github.com/sharpapi/laravel-skills-database-api","last_synced_at":"2026-02-21T12:02:37.083Z","repository":{"id":331651051,"uuid":"1131198132","full_name":"sharpapi/laravel-skills-database-api","owner":"sharpapi","description":"Laravel package for SharpAPI.com - laravel-skills-database-api","archived":false,"fork":false,"pushed_at":"2026-01-10T15:14:31.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-14T00:05:48.427Z","etag":null,"topics":[],"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/sharpapi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-09T16:13:09.000Z","updated_at":"2026-01-10T15:14:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sharpapi/laravel-skills-database-api","commit_stats":null,"previous_names":["sharpapi/laravel-skills-database-api"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sharpapi/laravel-skills-database-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpapi%2Flaravel-skills-database-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpapi%2Flaravel-skills-database-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpapi%2Flaravel-skills-database-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpapi%2Flaravel-skills-database-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharpapi","download_url":"https://codeload.github.com/sharpapi/laravel-skills-database-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpapi%2Flaravel-skills-database-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29680147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T11:29:27.227Z","status":"ssl_error","status_checked_at":"2026-02-21T11:29:20.292Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-11T09:06:03.207Z","updated_at":"2026-02-21T12:02:37.052Z","avatar_url":"https://github.com/sharpapi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![SharpAPI GitHub cover](https://sharpapi.com/sharpapi-github-laravel-bg.jpg \"SharpAPI Laravel Client\")\n\n# Skills Database API for Laravel\n\n## 🚀 Access a comprehensive database of professional skills for your Laravel applications.\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/sharpapi/laravel-skills-database-api.svg?style=flat-square)](https://packagist.org/packages/sharpapi/laravel-skills-database-api)\n[![Total Downloads](https://img.shields.io/packagist/dt/sharpapi/laravel-skills-database-api.svg?style=flat-square)](https://packagist.org/packages/sharpapi/laravel-skills-database-api)\n\nCheck the details at SharpAPI's [Skills Database API](https://sharpapi.com/en/catalog/utility/skills-database-api) page.\n\n---\n\n## Requirements\n\n- PHP \u003e= 8.1\n- Laravel \u003e= 9.0\n\n---\n\n## Installation\n\nFollow these steps to install and set up the SharpAPI Laravel Skills Database API package.\n\n1. Install the package via `composer`:\n\n```bash\ncomposer require sharpapi/laravel-skills-database-api\n```\n\n2. Register at [SharpAPI.com](https://sharpapi.com/) to obtain your API key.\n\n3. Set the API key in your `.env` file:\n\n```bash\nSHARP_API_KEY=your_api_key_here\n```\n\n4. **[OPTIONAL]** Publish the configuration file:\n\n```bash\nphp artisan vendor:publish --tag=sharpapi-skills-database-api\n```\n\n---\n## Key Features\n\n- **Skill Search**: Search for skills by name or keyword.\n- **Skill Details**: Get detailed information about specific skills.\n\n---\n\n## Usage\n\nYou can inject the `SkillsDatabaseApiService` class to access the skills database functionality.\n\n### Basic Workflow\n\n1. **Search for Skills**: Use `searchSkills` to find skills by name or keyword.\n2. **Get Skill Details**: Use `getSkillById` to get detailed information about a specific skill.\n\n---\n\n### Controller Example\n\nHere is an example of how to use `SkillsDatabaseApiService` within a Laravel controller:\n\n```php\n\u003c?php\n\nnamespace App\\Http\\Controllers;\n\nuse GuzzleHttp\\Exception\\GuzzleException;\nuse SharpAPI\\SkillsDatabaseApi\\SkillsDatabaseApiService;\n\nclass SkillsController extends Controller\n{\n    protected SkillsDatabaseApiService $skillsService;\n\n    public function __construct(SkillsDatabaseApiService $skillsService)\n    {\n        $this-\u003eskillsService = $skillsService;\n    }\n\n    /**\n     * @throws GuzzleException\n     */\n    public function searchSkills(string $query)\n    {\n        $results = $this-\u003eskillsService-\u003esearchSkills($query);\n        \n        return response()-\u003ejson($results);\n    }\n\n    /**\n     * @throws GuzzleException\n     */\n    public function getSkillDetails(string $skillId)\n    {\n        $skill = $this-\u003eskillsService-\u003egetSkillById($skillId);\n        \n        return response()-\u003ejson($skill);\n    }\n}\n```\n\n### Handling Guzzle Exceptions\n\nAll requests are managed by Guzzle, so it's helpful to be familiar with [Guzzle Exceptions](https://docs.guzzlephp.org/en/stable/quickstart.html#exceptions).\n\nExample:\n\n```php\nuse GuzzleHttp\\Exception\\ClientException;\n\ntry {\n    $skills = $this-\u003eskillsService-\u003esearchSkills('programming');\n} catch (ClientException $e) {\n    echo $e-\u003egetMessage();\n}\n```\n\n---\n\n## Optional Configuration\n\nYou can customize the configuration by setting the following environment variables in your `.env` file:\n\n```bash\nSHARP_API_KEY=your_api_key_here\nSHARP_API_BASE_URL=https://sharpapi.com/api/v1\n```\n\n---\n\n## Skill Data Format Example\n\n```json\n{\n  \"data\": {\n    \"id\": \"df0d4541-2a03-49ba-aefc-6cb46f6cc26c\",\n    \"name\": \"PHP\",\n    \"slug\": \"php\",\n    \"related_skills\": [\n      {\n        \"id\": \"6c88d71b-5666-4cd1-9d61-f1d0c33e1302\",\n        \"name\": \"MySQL\",\n        \"slug\": \"mysql\",\n        \"weight\": 9\n      },\n      {\n        \"id\": \"fb2e1204-c39b-4c28-97d7-6e6f06ae7eed\",\n        \"name\": \"Laravel\",\n        \"slug\": \"laravel\",\n        \"weight\": 8.5\n      },\n      {\n        \"id\": \"67445863-20bb-4b26-8d6c-ff5fee8dbd48\",\n        \"name\": \"HTML\",\n        \"slug\": \"html\",\n        \"weight\": 8\n      },\n      {\n        \"id\": \"79c2b261-7773-4766-aa03-eea5931bd2a5\",\n        \"name\": \"JavaScript\",\n        \"slug\": \"javascript\",\n        \"weight\": 7.5\n      }\n    ]\n  }\n}\n```\n\n---\n\n## Support \u0026 Feedback\n\nFor issues or suggestions, please:\n\n- [Open an issue on GitHub](https://github.com/sharpapi/laravel-skills-database-api/issues)\n- Join our [Telegram community](https://t.me/sharpapi_community)\n\n---\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for a detailed list of changes.\n\n---\n\n## Credits\n\n- [A2Z WEB LTD](https://github.com/a2zwebltd)\n- [Dawid Makowski](https://github.com/makowskid)\n- Enhance your [Laravel AI](https://sharpapi.com/) capabilities!\n\n---\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n---\n\n## Follow Us\n\nStay updated with news, tutorials, and case studies:\n\n- [SharpAPI on X (Twitter)](https://x.com/SharpAPI)\n- [SharpAPI on YouTube](https://www.youtube.com/@SharpAPI)\n- [SharpAPI on Vimeo](https://vimeo.com/SharpAPI)\n- [SharpAPI on LinkedIn](https://www.linkedin.com/products/a2z-web-ltd-sharpapicom-automate-with-aipowered-api/)\n- [SharpAPI on Facebook](https://www.facebook.com/profile.php?id=61554115896974)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpapi%2Flaravel-skills-database-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharpapi%2Flaravel-skills-database-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpapi%2Flaravel-skills-database-api/lists"}