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.
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.
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
[](https://www.php.net/releases/8.3/en.php)
[](https://github.com/yiisoft/yii2/tree/22.0)
[](https://packagist.org/packages/yii2-extensions/inertia)
[](https://packagist.org/packages/yii2-extensions/inertia)
## Project status
[](https://codecov.io/github/yii2-extensions/inertia)
[](https://github.com/yii2-extensions/inertia/actions/workflows/static.yml)
[](https://github.com/yii2-extensions/inertia/actions/workflows/quality.yml)
[](https://github.styleci.io/repos/1196150046?branch=main)
## Our social networks
[](https://x.com/Terabytesoftw)
[](https://www.facebook.com/wilmer.arambula.9)
[](https://www.reddit.com/r/Yii2/)
[](https://t.me/yii_framework_in_english)
## License
[](LICENSE)
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 ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.