composite/laravel-tecdoc
Larablocks Analysis
composite/laravel-tecdoc works with Laravel 6, 8, 9 and 10 (latest release 2.1.2, Jun 25, 2024), all past end of life (the last on Feb 4, 2025): no more fixes, even for security.
Laravel 5 and 7 in earlier releases.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 6, 8, 9 and 10, past end of life since Feb 4, 2025
- No release in the last 12 months (last: Jun 25, 2024)
- 86 downloads a month (needs 10,000)
- 15 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Jun 25, 2024.
- No releases in the last 12 months.
- First released: Jul 28, 2021.
- Monthly downloads: 86.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.
| Install | |
|---|---|
composer require composite/laravel-tecdoc |
|
| Latest Version: | 2.1.2 |
| PHP: | ^8.1 |
| Laravel: | 6 · 8 · 9 · 10 |
| Older releases: | 5 · 7 |
| License: | MIT |
| Last Updated: | Jun 25, 2024 |
| Links: | GitHub · Packagist |
TecDoc API wrapper for laravel
![Software License][shield-license]
Status: Under construction
Roadmap
- Implement environment
- Add further docs
Dependencies
- PHP: ^8.1
Install
You can install the package via Composer
composer require composite/laravel-tecdoc
In Laravel 5.5 or above the service provider will automatically get registered. In older versions of the framework just add the service provider in config/app.php file:
'providers' => [
...
/*
* Package Service Providers...
*/
Composite\TecDoc\TecDocServiceProvider::class,
...
],
'aliases' => [
...
'TecDoc' => Composite\TecDoc\Facades\TecDoc::class,
...
],
You can publish the config file with:
php artisan vendor:publish --provider="Composite\TecDoc\TecDocServiceProvider" --tag=config
When published, the config/tecdoc.php config file contains:
<?php
return [
/*
|--------------------------------------------------------------------------
| TecDoc service url
|--------------------------------------------------------------------------
|
| The service url of TecDoc REST API
|
*/
'service_url' => env('TEC_DOC_SERVICE_URL', "https://webservice.tecalliance.services/pegasus-3-0/services/TecdocToCatDLB.jsonEndpoint"),
/*
|--------------------------------------------------------------------------
| API key (optional if IP is whitelisted)
|--------------------------------------------------------------------------
|
| The user's API key for TecDoc REST API service.
|
*/
'api_key' => env('TECDOC_API_KEY'),
/*
|--------------------------------------------------------------------------
| Provider ID
|--------------------------------------------------------------------------
|
| The user's provider ID for TecDoc REST API service
|
*/
'provider_id' => env('TECDOC_PROVIDER_ID'),
/*
|--------------------------------------------------------------------------
| Country code (ISO 3166)
|--------------------------------------------------------------------------
|
| The user's registered country code (Country code according to ISO 3166)
|
*/
'country' => env('TECDOC_COUNTRY'),
/*
|--------------------------------------------------------------------------
| Language code (ISO 639)
|--------------------------------------------------------------------------
|
| Chosen language code for response (Language code according to ISO 639)
|
*/
'lang' => env('TECDOC_LANG'),
];
Usage
- Manufacturers, check out the manufacturers.md
- Model series, check out the modelSeries.md
- Vehicles, check out the vehicles.md
- Articles, check out the articles.md
- Addresses, check out the articles.md
- AssemblyGroups, check out the assemblyGroups.md
TecDoc::get(string $uri, array $payload = []);
TecDoc::post(string $uri, array $payload = []);
TecDoc::put(string $uri, array $payload = []);
TecDoc::delete(string $uri, array $payload = []);
TecDoc::manufacturers()->all(array $filter = null);
TecDoc::modelSeries()->findByNumber(int $manuId, array $filter = null);
TecDoc::vehicles()->find(int $carId, array $filter = null);
TecDoc::vehicles()->findByNumber(int $manuId, int $modId, array $filter = null);
TecDoc::articles()->filter(array $filter);
TecDoc::articles()->find(int $articleId, array $filter = null);
TecDoc::articles()->findByNumber(int $articleNumber, array $filter = null);
TecDoc::addresses()->add(string $address, int $validityHours = null);
TecDoc::assemblyGroups()->filter(int $linkingTargetId, string $linkingTargetType = null, array $filter = null, bool $recursive = false);
Testing
composer lint
Contributing
Security Vulnerabilities
If you discover any security-related issues, please email btamba@composite.hu instead of using the issue tracker. All security vulnerabilities will be promptly addressed.
Licence
The Laravel TecDoc package is open-source software licensed under the MIT license.
Related Packages
Simple and extensible Foursquare API PHP Client with Laravel Support based on Gu...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 2.1.2 | ^8.1 | ^6| | MIT | |
| 2.1.1 | ^8.1 | ^6| | MIT | |
| 2.1 | ^8.1 | ^6| | MIT | |
| 1.4.6 | ^7.2 | 5.8.*| | MIT | |
| 1.4.5 | ^7.2 | 5.8.*| | MIT | |
| 1.4.4 | ^7.2 | 5.8.*| | MIT | |
| 1.4.3 | ^7.2 | 5.8.*| | MIT | |
| 1.4.2 | ^7.2 | 5.8.*| | MIT | |
| 1.4.1 | ^7.2 | 5.8.*| | MIT | |
| 1.4 | ^7.2 | 5.8.*| | MIT | |
| 1.3.1 | ^7.2 | 5.8.*| | MIT | |
| 1.3.0 | ^7.2 | 5.8.*| | MIT | |
| 1.2.0 | ^7.2 | 5.8.*| | MIT | |
| 1.1.0 | ^7.2 | 5.8.*| | MIT | |
| 1.0.0 | ^7.2 | 5.8.*| | MIT |