Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Shared authentication with packages classes
  • Looks like it's better to make a package for Rackspace Cloud Files. They share a common element, which is the authentication. What's the best way to build a package, so that using for example, four classes can share two common resources, a function for cURL and a function that authorises the user. Obviously the config file can store data such as the URLs, API key etc, but I'm looking for how to share functions, but those functions won't be used outside that package.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!