Download the PHP package hsm/wplite without Composer

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

WPLite

A lightweight, Laravel-inspired micro framework for building WordPress plugins with modern PHP architecture.

WPLite gives you service containers, facades, middleware pipelines, expressive routing, Eloquent-style models, views, caching, auth guards, and more — without leaving the WordPress ecosystem.

PHP


Quick Start


Features


Requirements


Installation

New Project

Add to Existing Plugin


Namespace Isolation (Build Step)

This is the critical step. WPLite rewrites all framework namespaces to your plugin's unique namespace so that multiple plugins using WPLite coexist on the same WordPress installation without any conflict.

What this does:

  1. Copies the framework source into src/WPLite/ in your project
  2. Rewrites every namespace WPLite\* → namespace MyPlugin\WPLite\*
  3. Rewrites every use WPLite\* → use MyPlugin\WPLite\*
  4. Updates all fully qualified class references and PHPDoc annotations
  5. Namespaces helper functions to prevent global collisions
  6. Saves your prefix to wplite-config.json for future builds

After the first run, subsequent builds only need:

Use --dry-run to preview all changes without writing files.

CLI Options


Bootstrap

Your main plugin file:


Routing

Define routes in routes/rest.php, routes/ajax.php, routes/admin.php, and routes/web.php.

REST API

Ajax

Automatically registers wp_ajax_ and wp_ajax_nopriv_ hooks.

Admin Pages

Web (Frontend)

Named Routes & URL Generation


Middleware

Chain per-route or define global middleware in configs/app.php:


Service Container


Service Providers

Register in configs/app.php or place under Src\Provider\ for auto-discovery.


Models & Query Builder

Supports: select, where, join, orderBy, groupBy, limit, hasMany, hasOne, belongsTo, hasOneMeta, with(), hide(), create, update, delete.


Facades


Views


JSON Resources


Shortcodes

Usage: [pricing_table plan="pro"]


Cache

Ships with WordPress Transients driver. Extend by implementing the CacheDriver contract.


Configuration

Config Files (configs/app.php)

Environment Variables (.env)


Project Structure


Contributing

Pull requests and issues are welcome! Please follow PSR standards.

License

MIT — see LICENSE for details.


All versions of wplite with dependencies

PHP Build Version
Package Version
No informations.
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 hsm/wplite contains the following files

Loading the files please wait ...