DEV.co
Open-Source CMS · luyadev

luya

LUYA is a PHP-based CMS and web framework built on Yii 2, offering pre-built admin interfaces, content management, and agency workflow tools. It targets developers seeking rapid site deployment with integrated admin panels and e-commerce capabilities.

Source: GitHub — github.com/luyadev/luya
805
GitHub stars
201
Forks
PHP
Primary language
MIT
License (OSI-approved)

Key facts

Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.

FieldValue
Repositoryluyadev/luya
Ownerluyadev
Primary languagePHP
LicenseMIT — OSI-approved
Stars805
Forks201
Open issues4
Latest release2.3.1 (2024-02-07)
Last updated2025-11-18
Sourcehttps://github.com/luyadev/luya

What luya is

LUYA extends the Yii 2 PHP framework with modular architecture (Core, CMS, Admin modules) and REST API support. It uses Angular and Bootstrap 4 for frontend components, with a plugin-based system for extensibility and supports payment integrations.

Quickstart

Get the luya source

Clone the repository and explore it locally.

terminalbash
git clone https://github.com/luyadev/luya.gitcd luya# follow the project's README for install & configuration

Need it deployed, integrated, or customized instead? DEV.co ships production installs.

Best use cases

Rapid Agency Web Deployments

Pre-configured admin UI, CMS blocks, and workflow tools reduce time-to-launch for client websites. Suitable for agencies building multiple branded sites with shared infrastructure.

Content-Heavy Applications

Native block-based page editor and hierarchical content structure support news sites, documentation portals, and multi-page marketing platforms without custom development.

PHP E-commerce & Payment Integration

Built-in payment module support and REST API enable rapid integration of catalog, checkout, and admin workflows for small-to-medium online stores on shared hosting.

Implementation considerations

  • Requires MySQL/PostgreSQL and PHP 7.4+. Verify hosting provider supports Yii 2 and required PHP extensions (GD, PDO, cURL).
  • Installation uses Composer; step-by-step guide available. Plan for database setup and initial admin user configuration during onboarding.
  • Modular design allows selective adoption of CMS, Admin, and payment modules; evaluate which modules fit scope to minimize bloat.
  • Existing Yii 2 projects can integrate LUYA components incrementally; pure greenfield deployments are straightforward.
  • Customization of admin UI and workflows requires Angular and PHP knowledge; no visual no-code admin builder evident.

When to avoid it — and what to weigh

  • Node.js or Modern JavaScript Framework Preference — LUYA is PHP-based. Teams standardized on Node.js, React, Vue, or Next.js will face architectural mismatch and tooling friction.
  • High-Volume Headless CMS Requirement — While REST API-capable, LUYA is primarily a coupled framework CMS. Projects requiring pure content API with multi-channel delivery may benefit from dedicated headless alternatives.
  • Enterprise Multi-Tenant SaaS — LUYA is not marketed as multi-tenant. Hosting multiple isolated customer instances requires custom isolation layers and not recommended for rapid SaaS scaling.
  • Legacy Yii 1.x Codebase — LUYA requires Yii 2 and newer. Upgrading from Yii 1.x projects to LUYA requires significant refactoring; migration path is unclear.

License & commercial use

MIT License. Permissive open-source license allowing commercial use, modification, and distribution with minimal restrictions. Include license text in distributions.

MIT is a standard permissive OSI license. Commercial use, proprietary modifications, and white-label deployments are permitted. No warranty or liability disclaimers; review MIT terms and ensure appropriate liability coverage in production SLAs.

DEV.co evaluation signals

Editorial assessment — not user reviews. Directional, with an explicit confidence level.

SignalAssessment
MaintenanceActive
DocumentationAdequate
License clarityClear
Deployment complexityModerate
DEV.co fitGood
Assessment confidenceHigh
Security considerations

Standard PHP/Yii 2 attack surface applies: SQL injection (use parameterized queries), XSS (template escaping), CSRF (token validation). LUYA inherits Yii 2 security features (request validation, CORS support). Admin panel requires authentication; no mention of 2FA or role-based access control granularity. Dependency updates and security patches advised; monitor Packagist advisories. No independent security audit or penetration test results mentioned.

Alternatives to consider

Laravel Nova / Filament

Modern PHP ecosystem, stronger Laravel community, better no-code admin builders, and simpler onboarding for PHP teams. Headless-friendly with Statamic or Craft CMS as alternatives.

Strapi or Payload CMS

Node.js-based headless CMS with stronger API-first design, modern JS tooling, and better multi-channel content delivery. Better for teams standardizing on JavaScript.

WordPress + WooCommerce

Dominant CMS market share, massive plugin ecosystem, lower barrier to entry, and easier hosting/scaling. Trade-off: less tailored for agency workflows and code-first customization.

Software development agency

Build on luya with DEV.co software developers

Follow the step-by-step installation guide at luya.io/guide, review the API docs, and join the GitHub Discussions community for support. Evaluate compatibility with your hosting and team's PHP expertise before committing.

Talk to DEV.co

Related open-source tools

Surfaced by semantic similarity across the DEV.co open-source index.

Related on DEV.co

Explore the category and the services that help you build with it.

luya FAQ

Can LUYA run on shared hosting?
Yes, if hosting supports PHP 7.4+, MySQL, and Composer. Verify cPanel/DirectAdmin support for SSH and Composer. Some shared hosts may throttle Composer; inquire beforehand.
Is LUYA suitable for a multi-language site?
Not explicitly stated in README. Check CMS module docs for i18n support and block translation workflows. Yii 2 has i18n built-in; extent of LUYA's multi-language UI unknown—requires review.
How does LUYA compare to custom Yii 2 development?
LUYA provides scaffolded admin, CMS blocks, and workflows out-of-box, reducing boilerplate. Pure Yii 2 offers more flexibility and lighter footprint. Choose LUYA if admin/CMS features align; choose Yii 2 if you need minimal overhead.
What is the upgrade path from LUYA 2.x to 3.x?
Changelog and UPGRADE.md guide available. No breaking changes currently evident for 2.3.1, but review docs for each major version before upgrading production instances.

Software developers & web developers for hire

Need help beyond evaluating luya? DEV.co is a software development agency offering software development services and web development for teams of every size. Our software developers and web developers build custom software, web applications, APIs, and open-source cms integrations — and maintain them long-term.

Ready to Build With LUYA?

Follow the step-by-step installation guide at luya.io/guide, review the API docs, and join the GitHub Discussions community for support. Evaluate compatibility with your hosting and team's PHP expertise before committing.