Download the PHP package monkeyscloud/monkeyslegion-skeleton without Composer

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

MonKeysLegion Skeleton v2.1

PHP Version Packagist

Production-ready PHP 8.4 skeleton for building web apps & APIs with the MonKeysLegion framework v2.1.

Built on attribute-first routing, property hooks, asymmetric visibility, and a zero-magic PSR-15 pipeline. Now with Inertia.js SSR, Vite asset pipeline, feature flags, webhooks, Markdown rendering, search indexing, and multi-channel notifications.


✨ What's New in v2.1

Feature v2.0 v2.1
Inertia.js — Full adapter with SSR support
Vite — Asset pipeline with HMR + manifest
Feature Flags — Memory/Database/Redis drivers
Webhooks — Signing, delivery, retry, multi-driver
Markdown — Pure PHP renderer with extensions
Search — Null/Database/Meilisearch engines
Notifications Mail only + Slack, Teams, Webhook channels
OAuth — Google, GitHub, GitLab, Facebook, X, Microsoft
HTTP Middleware 6 12+ (CSP, Compression, Conditional, Correlation, Signed URLs, Deprecation)
Entity Casts — JSON, Boolean, DateTime, Decimal, Enum, Array
Query Builder Basic + whereHas, whereDoesntHave, has, doesntHave, load()
Database — Model factories, nested transactions
Schedule Basic + Health monitor (degraded/unhealthy detection)
Core — GDPR module, health checks, OPcache preload
Telemetry Basic + Prometheus exporter, OTLP/HTTP tracing
CLI 15 commands 35+ commands, React/Vue presets, TypeScript generator
Validation 7 rules + #[NotPwned] (HIBP API check)
Router — + #[ApiVersion], #[Deprecated] attributes
DevTools 4 panels + Request, Routes, Session, Timeline panels

✨ Features Overview

Category Features
HTTP Stack PSR-7/15 compliant, middleware pipeline, SAPI emitter
Routing Attribute-based v2, auto-discovery, constraints, caching
Dependency Injection PSR-11 container with #[Singleton], #[Provider]
Database Native PDO MySQL 8.4, Query Builder, Micro-ORM, Factories
Authentication JWT, RBAC, 2FA, OAuth (6 providers), API keys
API Documentation Live OpenAPI 3.1 & Swagger UI
Validation DTO binding with attribute constraints
Rate Limiting #[Throttle] attribute, sliding-window (IP + User)
Templating MLView with components, slots, caching
CLI 35+ commands, React/Vue presets, TypeScript generator
Files Multi-driver storage, image processing, chunked uploads
I18n Full internationalization & localization support
Telemetry Prometheus metrics, OTLP tracing, PSR-3 logging
Mail SMTP, Markdown templates, DKIM support
Caching Multiple drivers (File, Redis, Memcached)
Feature Flags Memory, Database, Redis drivers
Webhooks HMAC signing, retry, delivery tracking
Search Database full-text, Meilisearch integration
Notifications Mail, Slack, Teams, Webhook channels
Markdown Pure PHP renderer with extensions
Inertia.js SSR + CSR fallback, lazy props, flash bridge
Vite Asset pipeline, HMR, manifest, route exporter
Security CSP, GDPR, audit log, signed URLs, SQL guard
Health Checks Database, cache, disk space monitoring

🚀 Quick Start

Frontend Setup (Inertia.js + Vite)


📁 Project Structure


🏗️ v2 Architecture

Entry Point

Entities (PHP 8.4 Property Hooks + Asymmetric Visibility + Casts)

Entity Casts (v2.1):

Services (#[Singleton] + PSR-14 Events)

Controllers (Attribute Routing + Authorization)

OAuth Social Login (v2.1)

Supported providers: Google, GitHub, GitLab, Facebook, X (Twitter), Microsoft

Inertia.js + Vite (v2.1)

Feature Flags (v2.1)

Notifications (v2.1)

Webhooks (v2.1)

Markdown (v2.1)

Search (v2.1)


⚙️ Configuration (.mlc)

All framework config uses the .mlc format with environment variable interpolation:

The only PHP config file is config/app.php — reserved exclusively for DI container bindings.


📦 Package Ecosystem

The monkeyscloud/monkeyslegion meta-package (^2.1) requires all sub-packages transitively. You only need one dependency:

Core Packages

Package Version Purpose
monkeyslegion 2.1.2 Meta-package — bridges skeleton to all sub-packages
monkeyslegion-core 2.1.0 Kernel, Application builder, GDPR, health checks, OPcache
monkeyslegion-di 2.0.1 PSR-11 DI container with #[Singleton], #[Provider]
monkeyslegion-mlc 2.0.0 .mlc config parser
monkeyslegion-contracts 2.0.0 Shared interfaces
monkeyslegion-env 2.0.0 Environment loader

HTTP & Routing

Package Version Purpose
monkeyslegion-http 2.1.0 PSR-7 messages + 12 middleware (CSP, Compression, etc.)
monkeyslegion-router 2.2.0 Attribute routing, #[ApiVersion], #[Deprecated]
monkeyslegion-session 2.0.0 Session management, CSRF
monkeyslegion-validation 2.1.0 DTO validation, #[NotPwned] HIBP check

Database & ORM

Package Version Purpose
monkeyslegion-database 2.2.0 PDO MySQL, factories, nested transactions
monkeyslegion-query 2.1.0 Query builder, whereHas, load(), SQL safety
monkeyslegion-entity 2.1.0 Entity mapper, casts (JSON, Enum, DateTime, etc.)
monkeyslegion-migration 2.0.0 Schema diff + migration runner

Auth & Security

Package Version Purpose
monkeyslegion-auth 2.2.0 JWT, RBAC, 2FA, OAuth (6 providers), API keys, audit
monkeyslegion-permissions 1.1.0 Fine-grained permission system
monkeyslegion-encryption 1.0.1 Encryption utilities

Frontend

Package Version Purpose
monkeyslegion-inertia 1.0.0 Inertia.js adapter with SSR
monkeyslegion-vite 1.0.0 Vite asset pipeline, @vite directive, route exporter
monkeyslegion-template 2.0.0 MLView Blade-like template engine

New Ecosystem Packages (v2.1)

Package Version Purpose
monkeyslegion-feature-flags 1.0.1 Memory/Database/Redis feature flag drivers
monkeyslegion-webhooks 1.0.1 HMAC signing, retry, delivery tracking
monkeyslegion-markdown 1.0.1 Pure PHP Markdown renderer
monkeyslegion-search 1.1.0 Null/Database/Meilisearch search engines
monkeyslegion-notifications 1.1.0 Mail/Slack/Teams/Webhook channels
monkeyslegion-testing 1.0.0 HTTP testing DSL, fakes, snapshots

Infrastructure

Package Version Purpose
monkeyslegion-cli 2.1.0 35+ commands, React/Vue presets, TypeScript generator
monkeyslegion-cache 2.0.1 PSR-16 cache (File, Redis, Memcached)
monkeyslegion-queue 2.0.0 Background job processing
monkeyslegion-schedule 1.2.0 Task scheduling + health monitor
monkeyslegion-mail 2.0.0 SMTP, DKIM, queued mail
monkeyslegion-files 2.0.0 Multi-driver storage, image processing
monkeyslegion-events 2.0.0 PSR-14 event dispatcher
monkeyslegion-i18n 2.1.0 Internationalization
monkeyslegion-telemetry 2.1.0 Prometheus, OTLP tracing, structured logging
monkeyslegion-devtools 2.1.0 Debug toolbar with 8 panels
monkeyslegion-openapi 1.1.0 OpenAPI 3.1 + Swagger UI + versioning
monkeyslegion-resources 1.1.0 JSON:API resources + TypeScript generator

🔧 Helper Functions


🧪 Testing

Testing Toolkit (v2.1)

Available fakes: QueueFake, MailFake, EventFake — all with assertion methods.


🚀 Performance

Benchmarks (PHP 8.5, Apple Silicon)

Operation Ops/sec
Entity creation 6.3M
DTO construction 10.9M
Property hooks (email normalize) 11.1M
Computed properties (displayName) 41M
Enum operations 8.7M
Resource serialization (50-item) 43.8K
Peak memory 4 MB

📋 Requirements

Recommended PHP Extensions

Extension Purpose
pdo_mysql Database connectivity
redis Caching, rate limiting, sessions, feature flags
mbstring Multi-byte string handling
gd or imagick Image processing
intl Advanced I18n formatting

📋 Code Standards


🤝 Contributing

  1. Fork 🍴
  2. Create a feature branch 🌱
  3. Submit a PR 🚀

Happy hacking with MonKeysLegion! 🎉


📝 License

MIT License — see LICENSE for details.


Contributors

Jorge Peraza
Jorge Peraza
Amanar Marouane
Amanar Marouane

All versions of monkeyslegion-skeleton with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
monkeyscloud/monkeyslegion Version ^2.1
laminas/laminas-diactoros Version ^3.8
monolog/monolog Version ^3.10
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 monkeyscloud/monkeyslegion-skeleton contains the following files

Loading the files please wait ...