Download the PHP package tonka/astro without Composer

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

Tonka Astro ⚛️

The official React Starter Kit for the Tonka Framework.

Tonka Astro provides a seamless integration between your PHP backend and your React frontend. It comes pre-configured with InertiaJS, DriftQL, and Tonka Router, offering a development experience similar to Laravel's Inertia stack, but optimized for the Tonka ecosystem.

🌟 Key Features

📦 Installation

Install the package via Composer into your Tonka project:

Navigate to the astro-app directory, then run:

This will scaffold the frontend structure and install NPM dependencies.

🚀 Quick Start

Once installed, your resources/js directory is ready to go.

1. The Entry Point

Your React app is automatically wired to your backend via Inertia.

2. Fetching Data with DriftQL

Query your backend database without writing API calls. Use the <Elegant> component to bind data to DOM elements or use Render Props.

3. Navigation with Tonka Router

Navigate using your backend route names. Tonka Router handles URL generation automatically based on your Spark configuration.

📁 Project Structure

The kit organizes your frontend code cleanly within the Tonka structure:

⚙️ Configuration

Frontend Config (drift.config.js)

Located at the root of your project, generated by Astro.

Backend Config (config/spark.php)

Configure which routes are visible to the frontend and apply access policies.

🛠️ Development

Start the Vite development server:

Build for production:

📚 Learn More

📝 License

MIT



All versions of astro with dependencies

PHP Build Version
Package Version
Requires clicalmani/broadcaster Version ^1.1.0
clicalmani/console Version ^2.7.0
clicalmani/database Version ^3.3.8
clicalmani/foundation Version ^3.4.0
clicalmani/psr Version ^1.1.0
clicalmani/routing Version ^2.5.0
clicalmani/validation Version ^3.2.0
clicalmani/xpower Version ^1.2.0
inertia/tonka-adapter Version ^1.2.0
symfony/event-dispatcher Version ^7.4
symfony/mailer Version ^7.4
tonka/driftql Version ^1.6.0
tonka/spark Version ^1.3.0
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 tonka/astro contains the following files

Loading the files please wait ...