Download the PHP package thee-prime/wpflint without Composer

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

WPFlint

A Laravel-inspired framework for building WordPress plugins. Zero production dependencies. PHP 7.4+.

WPFlint gives you the tools you expect from a modern PHP framework — IoC container, Eloquent-style ORM, migrations, routing, middleware, validation, events, caching, views, mail, admin builders, and Gutenberg support — all built on top of WordPress APIs and fully compliant with WP.org plugin guidelines.


Table of Contents


Installation

Quick Start

Create your main plugin file:


Architecture Overview

Service providers are the central place to configure your plugin. Register everything — routes, event listeners, admin pages, metaboxes, widgets, assets — in boot().


Core Framework

Application

Full documentation →

Service Container

PSR-11 compliant IoC container with auto-resolution, singletons, and contextual bindings.

Full documentation →

Service Providers

Deferred providers are only booted when one of their bindings is requested:

Full documentation →

Configuration

Full documentation →

Facades

Create custom facades:

Full documentation →


HTTP Layer

Routing

Full documentation →

Middleware

Built-in middleware: nonce:{action}, can:{capability}, throttle:{max},{minutes}.

Custom middleware:

Full documentation →

Controllers

Full documentation →

Requests & Validation

Full documentation →

Responses

Full documentation →

REST API Auth Helpers

Factory methods that return permission_callback callables:

Full documentation →


Database

Database: Migrations

Full documentation →

Database: Schema Builder

Full documentation →

Database: Query Builder

Full documentation →

Database: ORM

Full documentation →

Relationships

Full documentation →


WordPress UI

Admin Menu & Pages

Full documentation →

Settings API

Full documentation →

Admin Notices

Full documentation →

Metabox Builder

Full documentation →

Shortcodes

Full documentation →

Block Registration

Full documentation →

Widgets

Full documentation →


Templates & Mail

Views

Template file (resources/views/admin/settings.php):

Full documentation →

Mail

Full documentation →


Plugin Infrastructure

Plugin Lifecycle

Full documentation →

Asset Manager

Full documentation →

Events

Full documentation →

Cache

Full documentation →

Logging

Full documentation →

Queue & Jobs

Full documentation →

Scheduler

Full documentation →


WP-CLI Commands

Dev-only commands, excluded from production builds via .distignore.

Database

Command Description
wp wpflint migrate Run pending migrations
wp wpflint migrate --rollback Roll back last batch
wp wpflint migrate --rollback --steps=N Roll back N batches
wp wpflint migrate --fresh Drop all + re-run (with confirmation)
wp wpflint migrate --status Show migration status
wp wpflint cache:clear Clear all application cache
wp wpflint cache:clear --tag=orders Clear a specific cache tag

Code Generators

Command Description
wp wpflint make:migration <Name> Generate migration stub
wp wpflint make:model <Name> Generate model stub
wp wpflint make:model <Name> --migration Generate model + migration
wp wpflint make:controller <Name> Generate AJAX controller
wp wpflint make:controller <Name> --rest Generate REST controller
wp wpflint make:middleware <Name> Generate middleware stub
wp wpflint make:request <Name> Generate form request stub
wp wpflint make:provider <Name> Generate service provider stub
wp wpflint make:event <Name> Generate event stub
wp wpflint make:facade <Name> Generate facade stub

All make:* commands accept --path=<dir> to customise the output directory.

Full documentation →


Testing

WPFlint uses PHPUnit 9 with WP_Mock and Brain\Monkey.

Test structure mirrors src/:

Writing a test:


WP.org Compliance

WPFlint is designed for WordPress.org plugin directory submission:


Directory Structure


License

GPL-2.0-or-later


All versions of wpflint 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 thee-prime/wpflint contains the following files

Loading the files please wait ...