dux-lite

Create PHP web applications with SlimPHP, Eloquent ORM, and PSR standards.

16|3|Updated Oct 29, 2023
One-click install
npx skills add https://github.com/duxweb/dux-lite --skill dux-lite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dux-lite
Source: https://github.com/duxweb/dux-lite/tree/main
Command: npx skills add https://github.com/duxweb/dux-lite --skill dux-lite

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust and efficient framework for building modern PHP web applications, streamlining development with a focus on performance and developer experience.

Core Features & Use Cases

  • High-Performance Architecture: Built on SlimPHP and Eloquent ORM for speed.
  • Modular Design: Supports plugin-based development for flexible application structure.
  • Modern Development: Features like attribute routing, dependency injection, and middleware enhance productivity.
  • Use Case: Develop a RESTful API for a new web service, create a complex backend for an enterprise application, or build a rapid prototype for a web-based tool.

Quick Start

Use the dux-lite skill to create a new project named 'my-app'.

Frequently Asked Questions about dux-lite

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best lightweight PHP framework for building high-performance RESTful APIs?

A lightweight PHP framework like this one uses SlimPHP and Eloquent ORM to build high-performance RESTful APIs. It provides built-in routing, dependency injection, and middleware to streamline modern web service development while adhering to PSR standards.

How do I build a modular PHP web application with Eloquent ORM?

You can build a modular PHP web application using this framework's plugin-based architecture. It supports Eloquent ORM for database access and includes built-in components for caching, queues, and events to structure complex enterprise backends flexibly.

Does SlimPHP support built-in CLI tools for database migrations and code generation?

SlimPHP itself is minimal, but this framework extends it with powerful CLI tools for database migrations and code generation. These built-in development tools automate common tasks to enhance productivity when building PHP applications.

Can I use attribute routing and dependency injection in a modern PHP web framework?

Yes, this modern PHP web framework supports attribute routing and dependency injection. These features enhance developer productivity by providing clean, declarative mechanisms for defining routes and managing class dependencies.

When should I choose a SlimPHP-based framework over other monolithic PHP frameworks?

You should choose a SlimPHP-based framework when you need a lightweight, high-performance architecture for rapid prototyping or specific web services. It offers modularity and PSR compliance without the overhead of heavier monolithic PHP frameworks.