Download the PHP package tempcord/framework without Composer

On this page you can find all versions of the php package tempcord/framework. 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 framework

Tempcord Framework

Version PHP Version

Description

Tempcord is a modern, elegant PHP framework designed specifically for building Discord bots with ease. Built on top of the powerful Tempest Console framework and Ragnarok Fenrir Discord library, Tempcord provides a clean, attribute-based approach to creating sophisticated Discord bots with minimal boilerplate code.

The framework leverages PHP 8.5+ features and modern development practices to deliver a robust foundation for Discord bot development, featuring automatic command registration, event handling, and seamless integration with Discord's API.

Getting Started: Use the tempcord/tempcord boilerplate to quickly create new Discord bot applications. This repository contains the core framework - for building applications, use composer create-project tempcord/tempcord your-bot-name.

Features

Installation

Prerequisites

Step 1: Create New Application

Use the Tempcord application boilerplate to create a new Discord bot project:

Step 2: Configure Your Bot

Copy the example environment file and configure your bot:

Edit the .env file with your Discord bot credentials:

Step 3: Install Dependencies

Step 4: Create Your First Command

The boilerplate includes example commands. Create a new command in any folder, for example inside app/Commands/:

Usage

Running Your Bot

Use the built-in console commands to manage your bot:

Creating Commands

Commands are defined using the #[Command] attribute:

Handling Events

Create event handlers using the #[Event] attribute:

Command Options and Subcommands

Whether an option is required comes from whether its parameter has a default, so $user above is required without saying so.

Documentation

See docs/ β€” guides for getting started, commands, autocomplete, events and translations, plus a reference generated from the source.

Run composer docs after changing the public API; the test suite fails if the committed documentation no longer matches the code.

Contributing

We welcome contributions! Please see CONTRIBUTING.md for details on how to contribute to Tempcord.

Development Setup

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/your-username/framework.git
  3. Install dependencies: composer install
  4. Create a feature branch: git checkout -b feature/amazing-feature
  5. Make your changes and add tests
  6. Run the test suite: composer test
  7. Commit your changes: git commit -m 'Add amazing feature'
  8. Push to your branch: git push origin feature/amazing-feature
  9. Open a Pull Request

Reporting Issues

When reporting issues, please include:

Feature Requests

We're always looking for ways to improve Tempcord. Feel free to:

Credits & Acknowledgements

Tempcord stands on the shoulders of excellent open-source projects. It does not bundle their source code β€” they are pulled in as Composer dependencies at install time, each under its own license β€” but the framework would not exist without them:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Built with ❀️ by CyberWolf.Studio team. using Tempest

For more information, visit our documentation or join our Discord community.


All versions of framework with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
tempcord/discord-php Version ^1.6
tempest/console Version ^3.18
tempest/core Version ^3.18
tempest/database Version ^3.18
tempest/event-bus Version ^3.18
tempest/log Version ^3.18
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 tempcord/framework contains the following files

Loading the files please wait ...