royvermeulen/morloax

This is a simple php mvc framework.

v0.6.2 2024-01-11 09:50 UTC

This package is auto-updated.

Last update: 2024-04-07 16:42:05 UTC


README

Description

Morloax Framework is a simple MVC framework for PHP, designed to streamline the development of web applications.

Getting Started

  1. Make an Empty Project

    Create an empty project and add a composer.json file to it. Add the following code to your composer.json file:

    {
      "autoload": {
         "psr-4": {
            "App\\": "app/",
            "Middleware\\": "middleware/"
            }
        },
       "require": {
       "royvermeulen/morloax": "*"
       }
    }

    Run the following command in your terminal to install Morlaux Framework:

    composer install
  2. Initialize Morlaux Framework

    After installing Morlaux Framework, run the following command in your terminal:

    vendor/bin/morloax init
  3. Generate Settings

    Generate the framework settings by running the following command:

    vendor/bin/morloax generate:settings

    Now run this command:

    composer dump-autolaod

Now you're done! Your Morloax Framework is set up and ready for development.