Giter Club home page Giter Club logo

tutorial's Introduction

Phalcon Tutorial

Phalcon is a web framework for PHP delivered as a C extension providing high performance and lower resource consumption.

This is a very simple tutorial to understand the basis of work with Phalcon.

Check out an explanation article.

Get Started

Requirements

To run this application on your machine, you need at least:

Running the application locally

  • Clone the repository to a folder on your machine
  • Navigate to that folder
  • Run docker compose up -d
  • After the build process is completed, you will have the following:
    • PHP 8.0 (tutorial-8.0)
    • PHP 8.1 (tutorial-8.1)
    • PHP 8.2 (tutorial-8.2)
    • PHP 8.3 (tutorial-8.3)
  • You can check the application on your local browser by finding the IP address of the chosen environment and launching it. For example, if you wish to check the PHP 8.3 environment, type the following in your terminal:
docker inspect tutorial-8.3

This will output a JSON file, where you can find the IP address of the container on your local machine.

...
  "EndpointID": "563ba90563ffb7ad5c30689f1216ec4c2e1625d170eb0279e78c001973464691",
  "Gateway": "172.29.0.1",
  "IPAddress": "172.29.0.5",
  "IPPrefixLen": 16,
...

Launch a browser and visit the site using that IP address (http://172.29.0.5)

To enter an environment and run different commands, such as populating the database:

docker exec -it tutorial-8.3 /bin/bash

License

Phalcon Tutorial is open-sourced software licensed under the MIT. © Phalcon Framework Team and contributors

tutorial's People

Contributors

andresgutierrez avatar emiliodeg avatar jeckerson avatar kenjikobe avatar michaelbutler avatar niden avatar ninjapanzer avatar sergeyklay avatar sidroberts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.