Warning
The app does not yet have a stable version. It is still under development.
Use this skeleton application to start your next project with ZAPHYR. This application is pre-configured with the ZAPHYR framework and includes a basic directory structure, configuration files, and a sample controller and view.
This skeleton application is optimized for Composer, making it quick and easy to set up a new application.
Before you start, ensure the following are installed on your system:
- PHP 8.1 or higher, along with the following PHP extensions:
- Composer
- A web server with URL rewriting capability
Tip
ZAPHYR requires PHP 8.1 as the minimum version. However, we recommend using the latest stable version of PHP for the best experience.
This guide will walk you through the process of creating a new ZAPHYR application using the skeleton application.
To create a new application, open a terminal (either Command Prompt or Terminal app, depending on your OS) and run the following Composer command from the directory where you want to install your application:
composer create-project zaphyr-org/app my-app
This command installs a fresh skeleton application in a directory named my-app
. Feel free to replace my-app
with
your desired application name.
After creating the application, navigate to your application directory (my-app
):
cd my-app
Set the APP_URL
environment variable in the .env
file at the root of your project directory:
APP_URL=http://localhost:8000
To start the built-in PHP web server from the root of your project, run the following command:
php -S localhost:8000 -t public
The application is now running on http://localhost:8000
. You can access it in your browser by visiting the URL.
Read the full documentation to learn more about the framework.
Please see CHANGELOG for more information on what has changed recently.
Bug reports and feature requests can be submitted on the GitHub Issue Tracker.
If you discover security related issues, please email [email protected] instead of using the issue tracker!
Please see CONTRIBUTING for details.
Please see CODE OF CONDUCT for details.
This project is licensed under the MIT license. See LICENSE for more information.