Skip to content

imradhe/GraphenePHP

Repository files navigation

GraphenePHP (Version 2.0.0)

Devloper License stars-shield forks-shield Total-Downlode

A simple and light-weight PHP framework.

GraphenePHP Home Screen

🚀   Installation

Prerequisites

Before you begin, ensure that you have PHP installed on your system with the required extensions.

Create GraphenePHP Project (Git Clone the repository)

git clone https://github.com/imradhe/GraphenePHP.git

📖   Configuration

Finish Setup

Go to the app url to setup

GraphenePHP Configuraion

  • The setup script will display a form to update your database details.
  • Choose between "Local" and "Production" by toggling the switch.
  • Provide the required information, including the App URL, App Slug, Database Host, Database Name, Database User, and Database Password.
  • Optionally, click the eye icon to toggle the visibility of the database password. Click the "Finish" button to submit the form.

Modify config.php

Modify config.php file to update SEO and other meta data

if you are testing it on localhost,

APP_URL = http://localhost/

APP_SLUG = [Directory name]

i.e. if directory path is C:\xampp\htdocs\MyCoolApp
Then
APP_SLUG = MyCoolApp

Directory Structure

.
├── ...
├── assets   
│   ├── audio                 
│   ├── css   
│   ├── fonts         
│   ├── img
│   ├── jquery
│   ├── js   
│   ├── video
│   └──      
├── controllers
│   ├── api      
├── models       
├── views   
│   ├── api
│   ├── auth
│   ├── errors
│   ├── partials 
├── .htaccess 
├── config.php 
├── db.php   
├── functions.php
├── headers.php
├── index.php
├── robots.txt
├── router.php
├── routes.json
├── sitemap.xml
└── ...

📄 License

This project is licensed under the Apache 2.0 License

🤗 Contributing

10 Steps for Github Contribution

  1. Fork the Repository
  2. Clone Your Fork
  3. Navigate to the Cloned Repository
  4. Create a New Branch
  5. Make Changes
  6. Commit Changes
  7. Push Changes
  8. Create a Pull Request
  9. Wait for Review
  10. Keep Your Fork Updated

Check out CONTRIBUTING.md for detailed steps

If you want to know the status and get updates you can follow me on Instagram @imraadhe