Giter VIP home page Giter VIP logo

docs's Introduction

Flight Documentation Site

This is the source code for the Flight Micro Framework (built with Flight!)

Requirements

This project requires PHP 8.2 or greater. You also need to install composer to install the dependencies.

Installation

This was just created from the Flight skeleton app. To install just follow these steps:

# Clone the repo
git clone https://github.com/flightphp/docs flight-docs/

cd flight-docs/

# Install the dependencies
composer install

# Copy the config file
cp app/config/config_sample.php app/config/config.php

# Start the server (if you have PHP >8.2 installed)
composer start

# Or if you have a different version of PHP installed, you can use the built-in server
php82 -S localhost:8000 -t public/

Additional Translations

Please note that the additional translations are provided by ChatGPT and are not official translations. Please don't make a PR to fix a translation as when the documentation is retranslated, your contribution will be lost.

If your translation is really not good, please open an issue and we will look into possible having you maintain that translation without the assistance of ChatGPT.

docs's People

Contributors

n0nag0n avatar krmu avatar fadrian06 avatar bellenottelling avatar i-rme avatar

Stargazers

 avatar  avatar

Watchers

Mike Cao avatar  avatar  avatar

docs's Issues

Fix mobile navigation

Screenshot_20240122-191216.png

Navigation menu on mobile devices has some display problems.

This is my User-Agent (summary: I have browser updated)

Mozilla/5.0 (Linux; Android 12; Infinix X6823 Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.211 Mobile Safari/537.36

Screenshot_20240122-191441.png

Add note about named parameters in route

Ref: Named Parameters Are Actually In Order... · Issue #584 · flightphp/core
flightphp/core#584

Although Flight supports named parameters in the handlers, that does not mean that the order is not taken into account because it is taken into account.

It would be more helpful to be able to get a fragment of the url as a handler parameter instead of having to get it out of the request or the Route object.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.