Download the PHP package mxent/pwax without Composer

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

mxent/pwax

Progressive Web App built with Laravel & Vue

A Laravel package that seamlessly integrates Vue 3, Vue Router, and Pinia to build Progressive Web Applications with dynamic component loading and SPA-like experiences.

Features

Requirements

Installation

Install the package via Composer:

The service provider is auto-discovered by Laravel. After installation, run:

This publishes config/pwax.php. Pass --views to also publish the bundled Blade views, and --force to overwrite existing files.

Configuration

Publish the configuration file manually if you prefer:

Key options in config/pwax.php:

Progressive Web App

Pwax serves a Web App Manifest at /manifest.webmanifest and a service worker at /service-worker.js. The bundled <head> partial already emits the <link rel="manifest"> and theme-color meta tags.

To enable the service worker, set service_worker.enabled = true in config/pwax.php. The worker template can be customised by publishing it:

Publishing Views

Publish the view files to customize the layout:

This publishes views to resources/views/vendor/pwax/.

Usage

Creating a Vue Component

Create a Blade view that contains <template>, <script>, and <style> sections:

Rendering a Component

In your controller, use the vue() helper function:

Routing

Define your routes as usual in routes/web.php:

Use the router() helper to generate Vue Router compatible paths:

Dynamic Imports

Use the import() helper to dynamically import components:

Advanced Configuration

Custom Plugins

Register custom Vue plugins in config/pwax.php:

Custom Directives

Add custom Vue directives:

Middleware

Execute JavaScript before component loads:

Security Best Practices

Testing

The test suite uses Orchestra Testbench:

Coverage report:

Changelog

See CHANGELOG.md for version history and updates.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

License

This package is open-sourced software licensed under the MIT license.

Credits

Support

For issues, questions, or feature requests, please open an issue on GitHub.


All versions of pwax with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
laravel/framework Version ^12.0|^13.0
matthiasmullie/minify Version >=1.3
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 mxent/pwax contains the following files

Loading the files please wait ...