Download the PHP package pollora/nectar without Composer

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

Nectar: AI development context for Pollora

Latest Stable Version Total Downloads CI

Nectar gives AI coding agents the context they need to write correct Pollora code. Built on Laravel Boost, it adds Pollora guidelines, on-demand agent skills and an MCP server that reads your live WordPress and Pollora environment. Your agent stops guessing at register_post_type() calls and uses the framework's attributes, routes and commands instead.

Part of Pollora, the Laravel framework for WordPress. Install it as a dev dependency in any Pollora project.

Installation

Requires PHP 8.3+, Laravel 12.x or 13.x, Pollora Framework 12.x or 13.x and Laravel Boost 2.x.

Then run Boost to install guidelines and skills:

Select pollora/nectar when prompted for third-party packages, or add it manually to boost.json:

Then update:

What it provides

Feature Description
AI Guidelines Pollora architecture, PHP attributes, WordPress routing, Blade theming — injected into your agent's context via Boost
12 Agent Skills On-demand knowledge for post types, taxonomies, typed meta, roles, theming, hooks, blocks and Block Bindings, REST API and AJAX, scheduling, modules, and abilities
10 MCP Tools Live introspection of your WordPress & Pollora environment directly from your AI agent
Upgrade Prompts Step-by-step MCP prompts for upgrading between Pollora versions (12 → 13, 13.x → 13.32 and later)

MCP Server

Nectar registers a pollora-nectar MCP server that gives AI agents live access to your WordPress and Pollora environment.

Starting the server

Or register it in your .mcp.json:

Available MCP Tools

Tool Description
pollora_status PHP, Laravel, Pollora & WordPress versions, active theme, discovery cache status
wordpress_info WordPress version, plugins, theme, multisite status, constants, locale
post_types_info All registered custom post types with supports, taxonomies, and configuration
taxonomies_info All registered taxonomies with associated post types
registered_hooks Hooks discovered via #[Action] and #[Filter] attributes
active_theme_info Theme structure, service providers, config files, Vite/Tailwind status, blocks
discovered_components All auto-discovered components grouped by type (post types, taxonomies, hooks, schedules, REST routes)
wordpress_routes All routes including Route::wp() with WordPress conditions and middleware
modules_info Installed Laravel Modules with status
scheduled_events Scheduled events with the driver that keeps each (WP-Cron, Action Scheduler, Laravel queue), events left to migrate, late events, recent failures
wp_option Read any WordPress option by key

AI Guidelines

Guidelines are loaded automatically when Boost runs. They cover:

Agent Skills

Skills are activated on-demand when working on specific tasks:

Skill When it activates
pollora-post-types Creating custom post types with attributes
pollora-taxonomies Creating custom taxonomies
pollora-theming Theme development (Blade, Vite, Tailwind, assets)
pollora-hooks Registering WordPress actions & filters
pollora-blocks Gutenberg blocks with JSX, Blade rendering & Tailwind
pollora-rest-api REST API endpoints with #[WpRestRoute], AJAX handlers with #[Ajax]
pollora-scheduling Scheduled tasks with #[Schedule] and the fluent API, and the WP-Cron, Action Scheduler and Laravel queue drivers
pollora-abilities WordPress Abilities API with #[Ability] and the Ability facade
pollora-typed-meta Post, term, user and comment meta as typed properties with #[Meta], Meta::of(), pollora:meta:audit
pollora-roles Capabilities through Laravel's Gate, roles declared with #[Role], #[ModifyRole], #[CapabilitySet], pollora:roles:*
pollora-block-bindings #[BlockBinding] sources, pollora/post-meta and the other sources for core blocks, bindable Blade blocks
pollora-modules Laravel Modules with auto-discovery

Upgrade Assistance

Nectar provides MCP upgrade prompts that guide AI agents through Pollora version upgrades. Prompts are automatically registered when the current project version matches.

Prompt Available when Covers
upgrade-pollora-v13 Pollora 12.x detected Loop facade removal, config registration removal, CSRF middleware rename, Vite theme.json setup, WordPress 7.0, and more
upgrade-pollora-v13-32 Pollora 13.x before 13.32 detected Dependencies and composer-patches 2, renamed commands, extracted Hook/Option/Ajax packages, Loop/Query removal, blocks in resources/views/blocks, skeleton files (routes/web.php, cache table, .htaccess), theme.json from @theme

The upgrade prompt includes:

Configuration

Publish the config file:

Documentation

The full guide is on pollora.dev/nectar/overview.

Testing

Runs Pint, PHPStan and the Pest suite.

Contributing

Contributions are welcome: see the contributing guide. Report security issues privately, as described in the security policy.

License

Nectar is open-source software licensed under the RuBee group


All versions of nectar with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
laravel/boost Version ^2.0
pollora/framework Version ^12.0 || ^13.0
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 pollora/nectar contains the following files

Loading the files please wait ...