Jump to content

Search the Community

Showing results for tags 'developement'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • News
    • Development Announcements
    • Official TruckersMP Events
  • Information & Support
    • TruckersMP Rules
    • Guides
    • Help
    • Confirmed Bugs
    • Suggestions
    • Recruitment
  • Community
    • Discussion
    • Hot Topic
    • VTC System
    • Discord
    • Community Events
    • Developer Portal
    • Unofficial tools
    • Media
  • International Community
    • Other Languages
  • Archive
    • Archive
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Interests


Known languages


TruckersMP ID

 
or  

VTC ID

 
or  

VTC Name


VTC Logo


Twitch


Twitter


Facebook


World Of Trucks


YouTube

Found 1 result

  1. Hi, I was unable to post this in the developer section, so hopefully someone can move it to the right place. I am trying to use the Truckers MP PHP API package with Laravel. I have the following code to get the servers and cache them: $servers = Cache::remember('servers', 10, function () { if (Cache::has('servers')) { return Cache::get('servers'); } else { $client = new Client(); return $client->servers()->get(); } }); return view('layouts.servers', ['servers' => $servers]); I don't think it is working correctly because it se
×
×
  • Create New...