{"repo":"johnsonfash/simple-php-framework","free":true,"listed":false,"github":"https://github.com/johnsonfash/simple-php-framework","clone":"git clone https://github.com/johnsonfash/simple-php-framework.git","description":"A php OOP framework with dynamic api, graphql, router, database ORM, authentication and more","language":"PHP","stars":12,"topics":["api","authentication","jwt","orm","php","rest","rest-api"],"license":null,"category":"auth-billing-email","readme_excerpt":"About Simple-php-framework Simple php framework is a light weight ( Steps - Edit the file in apache file.txt to suit your needs. - Deploy your project - The composer.json is just to tell the server that you are using php scripting language i.e heroku, digital ocean deploy - Make sure to give proper permissions to the folder, uploads directory and editable folders, index.php with read & write access if necessary / under a firewall. - Navigate to your url index page so the function can run itself. - This function creates the .htaccess with the right path to autoload.php and deletes itself from index.php afterwards by default. Reload your browser to see the effect. Local deploy: - Clone project using xampp/lampp to ./htdocs directory by opening a terminal in the directory, then git clone https://github.com/johnsonfash/simple-php-framework.git - To open up power shell on htdocs , navigate to htdocs , ctrl + shift + right click on the folder. - On mac, navigate to htdocs , double finger touch on the folder to open the menu list, and click open terminal on folder . - Create a database with the name simple-db , or change the const db from enum/graph.php to a database name you created. - Import the sample-db.sql file on the database, and follow the steps given above. Open up view/test.html on your browser, i.e http://localhost/simple-php-framework and then inspect to see the logged result. Sample of index.php routes below. Goto enum/graph.php to change runDirectory. On localhost: '/s","default_branch":null,"files":null,"tree":[],"storefront":"/r/johnsonfash","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/johnsonfash/simple-php-framework/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}