Download the PHP package chefu/academy without Composer

On this page you can find all versions of the php package chefu/academy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package academy

CheFu Academy SDK

A fully typed TypeScript SDK, official multi-language client sources, and a language-neutral REST contract for interacting with the CheFu Academy platform. The npm package is designed for Node.js and modern JavaScript/TypeScript projects, while the same repository now ships first-party clients for Python, Go, Java, C#, PHP, Ruby, and cURL.


Features


Installation

or using yarn:

When installed in an interactive terminal, the package immediately opens an arrow-key setup menu so users can log in or register a new CheFu Academy account. CI and non-interactive installs skip the prompt automatically.

To skip account setup manually:

To run setup later:


Quick Start

Import the SDK

Initialize the client

By default, the SDK talks to the unified CheFu Inc API at https://api.chefuinc.com/api. For local development or private deployments, pass baseURL when creating the client.

Fetch courses


Other Languages

CheFu Academy is not limited to JavaScript/TypeScript. The SDK repository now includes official first-party clients, an OpenAPI contract, and simple HTTP examples for common languages:

Every language uses the same REST base URL:

And the same bearer API key header:

The non-JS client sources are maintained in this repo and shipped with the npm package. Go, NuGet, Packagist, and RubyGems releases are available now; dedicated PyPI and Maven Central releases still require their registry setup.

You can also generate additional clients from the OpenAPI contract:

See docs/multi-language.md for official client usage, generator commands, auth rules, pagination, and example usage. See docs/registry-publishing.md for the release runbook.


Available APIs

Courses

Videos

API Keys

API key management requires a logged-in developer user. You can pass a Firebase ID token directly, or call sdk.auth.login() first and the SDK will attach the returned token automatically.

Authentication

Authentication is handled automatically using your API key.

For Node.js terminal apps, you can prompt the user for their CheFu Academy email and password:

loginWithTerminal() masks password input when running in an interactive TTY.

The installed Node CLI uses the same auth endpoints:

Python users can install the matching CLI from PyPI:

Developer API keys can also be managed from the CLI after login:

The CLI stores your user login session locally and refreshes it when possible. API key creation still requires an authenticated developer account; passwords are prompted interactively and are never accepted as command-line flags.


Development

Scripts

Project Structure


Example Project


Requirements


License

MIT License © CheFu Academy


All versions of academy with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-curl Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package chefu/academy contains the following files

Loading the files please wait ...