Skip to content

Instantly share code, notes, and snippets.

@DannyS95
Created June 13, 2017 17:35
Show Gist options
  • Save DannyS95/3593f98e129cbdafde0cdb13ea8a681d to your computer and use it in GitHub Desktop.
Save DannyS95/3593f98e129cbdafde0cdb13ea8a681d to your computer and use it in GitHub Desktop.
<?php
$router->get('', '../controllers/index.php');
$router->get('about', '../controllers/about.php');
$router->get('about/culture', '../controllers/about.culture.php');
$router->get('contact', '../controllers/contact.php');
$router->get('memes', '../controllers/arrays.index.php');
$router->post('names', '../controllers/add-name.php'); //only responds to a post request
//]);
@DannyS95
Copy link
Author

yes i can install composer, i write composer in the console and i get a bunch of information about some commands i can use.

@PrafullaKumarSahu
Copy link

ok, now go to the directory where you have composer.json file and let me know what you are getting in your right click menu ? if there is composer here, click there and use command composer install . let me know the status after it .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment