Download the PHP package akirk/wp-app without Composer

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

WpApp Framework

A framework to build frontend apps on WordPress with routing, admin bar integration, and theme isolation.

Requirements

Quick Start

Scaffold a new plugin with one command:

Which gives you this little wizard:

Which gives you something like this:

create-wp-app

The WP Apps Site

Visit wpapps.kirk.at for a visual introduction to the WP Apps concept and a catalog of apps you can run on your own WordPress, including a travel app, a cookbook, and a family wiki.

Try it Now

The examples are available in the wp-app-examples repository. Try them instantly in your browser with WordPress Playground:

Why WordPress for Web Applications?

WordPress isn't just for blogs. It's a powerful foundation for web applications.

For developers:

For users:

Features

Local Development

Run your plugin locally without a full WordPress installation:

This starts a local WordPress instance with your plugin mounted and activated.

Documentation

Topic Description
Getting Started Installation, quick start, template functions
Configuration All configuration options
Routing URL patterns, parameters, templates
Masterbar Admin bar customization
Access Control Capabilities, roles, permissions
Offline PWA Support Installable apps, manifests, service workers, and offline caching
BaseApp Pattern Structured architecture for larger apps
Client-Side Encryption Browser encryption runtime and encrypted-field app pattern
Abilities Exposing your app to assistants, automation and other apps — and designing abilities worth calling
Tutorial Step-by-step guide from minimal to full-featured

Claude Code Integration

Get AI assistance for WpApp development in Claude Code:

Examples

Minimal Example

See the minimal-app example — the simplest possible WpApp (3 lines of code).

Try in WordPress Playground

Community App Example

See the community-app example — a full BaseApp pattern demonstration with:

Try in WordPress Playground

Manual Installation

The simplest possible WpApp requires just 3 lines:

Create templates/index.php:

Your app is now available at /minimal!

App-scoped assets

When wp_app_enqueue_style(), wp_app_enqueue_script(), wp_app_add_inline_style(), or wp_app_add_inline_script() receive an app scope, the asset is attached to that app's scoped hook. This prevents assets from one WpApp from printing in another WpApp.

You can also pass an explicit app scope when registering assets before render time:

Use [ 'app' => 'global' ] for framework-level assets that should print for every WpApp.

Keep CSS and JavaScript in asset files and load them with the scoped enqueue helpers. Avoid writing inline <style> or <script> blocks, style attributes, and event-handler attributes in templates. For dynamic values, use HTML data attributes that an external script can read.

App themes

Apps and add-on plugins register themes with their own template directories on the app-specific initialization filter. This runs on WordPress init, when it is safe to translate the theme name:

WpApp adds a Themes submenu to the app's masterbar and remembers the current user's selection. The selected theme's templates take priority, while missing templates fall back to the app's regular template directory. See App Themes for add-on registration and theme-specific asset hooks.

Requirements

Tests and Coding Standards

Run the test suite and WordPress coding standards checks:

License

GPL-2.0-or-later


All versions of wp-app with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 akirk/wp-app contains the following files

Loading the files please wait ...