Download the PHP package syntaxx/phpx-starter-kit without Composer

On this page you can find all versions of the php package syntaxx/phpx-starter-kit. 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 phpx-starter-kit

PHPX Starter Kit

React-like components in PHP, running in your browser via WebAssembly.

Build interactive web applications using familiar JSX syntax, component-based architecture, and React hooksβ€”all in PHP!

Quick Start

Create a new PHPX project in seconds:

Open http://localhost:9999 and start building! πŸš€

Your First Component

Create interactive components with JSX syntax and React hooks:

That's it! You now have a fully interactive counter running PHP in your browser.

What You Get

βœ… JSX Syntax - Write <div> just like React βœ… React Hooks - useState, state management βœ… Component Architecture - Composable, reusable components βœ… Event Handling - onClick, onChange, and more βœ… Zero JavaScript - Everything is PHP (compiled to WebAssembly) βœ… Fast Builds - Vendor caching, watch mode, live reload ready

Development Workflow

Edit your .phpx files in src/, save, and refresh your browser. Changes appear instantly!

Project Structure

Available Commands

Command Description
composer wasm Build for production
composer wasm:watch Auto-rebuild on file changes
composer serve Start development server (auto-detects port from 9999)
composer wasm:dev Development build with source maps

How It Works

  1. Write Components - Create .phpx files with JSX syntax
  2. Compile - PHPX compiler transforms JSX β†’ PHP
  3. Pack - WebAssembly packer bundles your app
  4. Run - PHP WebAssembly runtime executes in browser
  5. Interact - VRZNO bridge connects PHP ↔ JavaScript/DOM

Result: Your PHP code runs entirely in the browser, no server required!

Learn More

Requirements

Features

🎯 React-like Experience

⚑ Fast Development

Troubleshooting

Build errors?

Port already in use? The serve command auto-detects available ports (9999 β†’ 9998 β†’ 9997...).

Browser not loading? Check browser console (F12) for errors. Ensure WebAssembly is supported.

Contributing

Found a bug? Have a feature idea? We'd love your contribution!

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request

License

MIT License - See LICENSE file for details.

Acknowledgments

Built with:


All versions of phpx-starter-kit with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
syntaxx/wasm-php-runtime-vrzno Version 8.3.0
syntaxx/phpx-framework Version ^0.1.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 syntaxx/phpx-starter-kit contains the following files

Loading the files please wait ...