Download the PHP package yii2-extensions/inertia without Composer

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

Yii Framework

Inertia for Yii2


PHPUnit Mutation Testing PHPStan Security

Connect Yii requests, responses, views, sessions, and redirects to the Inertia protocol

## Architecture [`php-forge/inertia`](https://github.com/php-forge/inertia) owns the Inertia protocol, page model, prop resolution, headers, redirects, and result objects. This package connects that core to Yii requests, responses, views, and sessions. The application supplies its JavaScript client, component resolver, and asset build. ## Installation Yii 2.0.x is outside this package's declared support. See the [installation guide](docs/installation.md) for Yii development-line resolution, bootstrap registration, CSRF configuration, and frontend setup. ## Quick start Register the adapter in the existing web application configuration: Return a page from an existing controller action: A normal visit renders HTML; an Inertia visit returns a JSON page. The default view supplies the page payload but loads no frontend bundle. Continue with [configuration](docs/configuration.md) and the [usage examples](docs/examples.md) to connect the application's client. ## Documentation Practical guides and application recipes, with exact contracts in PHPDoc. - ๐Ÿ“š [Installation guide](docs/installation.md): Composer, bootstrap, CSRF, and frontend setup. - โš™๏ธ [Configuration and adapter reference](docs/configuration.md): manager options, props, root views, and responses. - ๐Ÿ’ก [Usage examples](docs/examples.md): controllers, prop recipes, validation, and redirects. - ๐Ÿ”„ [Upgrade guide](UPGRADE.md) and [migration guide](docs/migration.md): application changes for existing installations. - ๐Ÿงช [Testing guide](docs/testing.md): PHPUnit, static analysis, mutation, and documentation checks. The guides and the [API reference](https://yii2-framework.github.io/docs/extensions/inertia/reference/) generated from the PHPDoc in `src/` are published at . ## AI assistance AI agents: read the [documentation index](https://yii2-framework.github.io/docs/llms.txt) and fetch the Markdown version of a page by appending `index.md` to its URL. The [AI agents guide](https://yii2-framework.github.io/docs/project/ai-agents/) covers skill installation, client setup and verification. - ๐Ÿค– [`yii2-inertia-integration` skill](docs/agents.md): Inertia integration. - ๐Ÿงญ [`yii2-framework` skill](https://yii2-framework.github.io/docs/guide/skills/yii2-framework/): Yii 22.0 application conventions. The hosted documentation covers Yii 22.0. If it does not match the installed revision or is unavailable, use the [repository guides](#documentation), the [skill source](skills/yii2-inertia-integration/SKILL.md), the source PHPDoc and the [changelog](CHANGELOG.md). ## Package information [![PHP](https://img.shields.io/badge/%3E%3D8.3-777BB4.svg?style=for-the-badge&logo=php&logoColor=white)](https://www.php.net/releases/8.3/en.php) [![Yii 22.0.x](https://img.shields.io/badge/22.0.x-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white)](https://github.com/yiisoft/yii2/tree/22.0) [![Latest Stable Version](https://img.shields.io/packagist/v/yii2-extensions/inertia.svg?style=for-the-badge&logo=packagist&logoColor=white&label=Stable)](https://packagist.org/packages/yii2-extensions/inertia) [![Total Downloads](https://img.shields.io/packagist/dt/yii2-extensions/inertia.svg?style=for-the-badge&logo=composer&logoColor=white&label=Downloads)](https://packagist.org/packages/yii2-extensions/inertia) ## Project status [![Codecov](https://img.shields.io/codecov/c/github/yii2-extensions/inertia.svg?style=for-the-badge&logo=codecov&logoColor=white&label=Coverage)](https://codecov.io/github/yii2-extensions/inertia) [![PHPStan Level Max](https://img.shields.io/badge/PHPStan-Level%20Max-4F5D95.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/yii2-extensions/inertia/actions/workflows/static.yml) [![Quality](https://img.shields.io/github/actions/workflow/status/yii2-extensions/inertia/quality.yml?style=for-the-badge&label=Quality&logo=github)](https://github.com/yii2-extensions/inertia/actions/workflows/quality.yml) [![StyleCI](https://img.shields.io/badge/StyleCI-Passed-44CC11.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.styleci.io/repos/1196150046?branch=main) ## Our social networks [![Follow on X](https://img.shields.io/badge/-Follow%20on%20X-1DA1F2.svg?style=for-the-badge&logo=x&logoColor=white&labelColor=000000)](https://x.com/Terabytesoftw) [![Follow on Facebook](https://img.shields.io/badge/-Follow%20on%20Facebook-1877F2.svg?style=for-the-badge&logo=facebook&logoColor=white&labelColor=000000)](https://www.facebook.com/wilmer.arambula.9) [![Join our Subreddit](https://img.shields.io/badge/-Join%20our%20Subreddit-FF4500.svg?style=for-the-badge&logo=reddit&logoColor=white&labelColor=000000)](https://www.reddit.com/r/Yii2/) [![Join on Telegram](https://img.shields.io/badge/-Join%20on%20Telegram-26A5E4.svg?style=for-the-badge&logo=telegram&logoColor=white&labelColor=000000)](https://t.me/yii_framework_in_english) ## License [![License](https://img.shields.io/badge/License-BSD--3--Clause-brightgreen.svg?style=for-the-badge&logo=opensourceinitiative&logoColor=white&labelColor=555555)](LICENSE)

All versions of inertia with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
php-forge/inertia Version ^0.5
psr/event-dispatcher Version ^1.0
yiisoft/yii2 Version ^22.0@dev
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 yii2-extensions/inertia contains the following files

Loading the files please wait ...