Skip to content

An InertiaJS Adapter for PHP projects that uses implementation of PSR7 (HTTP Message Interface), PSR15 (Server Request Handlers), and optionally PSR11 (Container Interface)

License

Notifications You must be signed in to change notification settings

TheWebSolver/inertia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome

This library is actively being developed and is unstable.

An InertiaJS Adapter for PHP projects that uses implementation of PSR7 (HTTP Message Interface), PSR15 (Server Request Handlers), and optionally PSR11 (Container Interface).

Installation (via Composer)

Install library using composer command:

$ composer require thewebsolver/inertia

For seamless handling of Middlewares and storing each middleware response, require Pipeline library and use it in your request handler. For more details see pipeline docs.

$ composer require thewebsolver/pipeline

Benefits

  • Provides seamless integration with any PHP Project that adheres to the PSR-7 & PSR-15 implementation.
  • Fluent API with very less friction and easy setup.
  • Works with Pipeline library to handle Middlewares (including this library's middleware) and retrieve Response back with headers intact.
  • Provides option to register your resource/asset version as well as root-view/template using middleware's helper method.
  • Provides additional subscription option that gets invoked alongside this library's middleware.
  • Supports Dependency Injection with your own App Container (that implements PSR-11 Psr\Container\ContainerInterface).

Usage

For usage details, visit Wiki page.

About

An InertiaJS Adapter for PHP projects that uses implementation of PSR7 (HTTP Message Interface), PSR15 (Server Request Handlers), and optionally PSR11 (Container Interface)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages