Skip to content

hxwell/hxwell

Repository files navigation

HxWell Logo

HxWell is Modern, Laravel-inspired cross-platform web framework for Haxe

Haxe License Documentation Ask DeepWiki Discord

Features

  • Cross-Platform: Deploy to JVM, C++, HashLink, PHP, and Neko
  • Laravel-Inspired: Familiar patterns and conventions for rapid development
  • Type-Safe: Full Haxe type system benefits with compile-time checks
  • Modern Architecture: Middleware pipeline, routing system, and modular design
  • Database Abstraction: Query builder with ORM-like model operations
  • Session Management: Session handling with UUID generation
  • Static File Serving: Optimized static http server
  • CLI Tools: Comprehensive command-line interface for project management

Installation

haxelib install hxwell

Quick Start

Create a New Project

haxelib run hxwell new my-app  
cd my-app

Test

haxelib run hxwell test jvm
haxelib run hxwell test cpp
haxelib run hxwell test neko

Build

haxelib run hxwell build jvm  
haxelib run hxwell build cpp  
haxelib run hxwell build php  
haxelib run hxwell build hl  
haxelib run hxwell build neko

Use as Static File Server

haxelib run hxwell up /path --start --port 3000

--host <ip>

Specifies the host address to bind the server.

  • Default: 127.0.0.1
  • Example:
    haxelib run hxwell up /path --host 0.0.0.0

--port <number>

Specifies the port to start the server on.
If the port is already in use, the next available one will be chosen automatically.

  • Default: 3000
  • Example:
    haxelib run hxwell up /path --port 8080

--poolSize <number>

Defines the connection pool size for the server.

  • Default: 6
  • Example:
    haxelib run hxwell up /path --poolSize 12

--encode

Enables HTTP response compression using deflate.

  • Default: Disabled
  • Example:
    haxelib run hxwell up /path --encode

--start

Automatically opens the server URL in the default browser after startup.

  • Default: Disabled
  • Example:
    haxelib run hxwell up /path --start

Dependencies

Credits

Projects

About

haxe backend web framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors