Localhost is a simple minimalist darkly welcome page for your PHP projects.
- Download the repository
- Place the
index.php
&assets/
folder at the root of your local server.
For example in UNIX system, if your public dir is named
/var/www/html/
, place it like this:
/var/www/html/
index.php
assets/
...rest of your projects
Just start your PHP server and go to your index like http://localhost
.
You can switch default theme with dracula theme at the begining of the index.php
:
<?php
// Config
$title = 'Localhost'; // string required
$description = 'A nice darkly localhost home page'; // string required
$menu = array(
array("label" => "Phpmyadmin", "path" => "http://localhost/phpmyadmin", "class" => "pma"),
array("label" => "Github", "path" => "https://github.com/", "class" => "github"),
array("label" => "PHP info", "path" => "http://localhost/assets/utils/phpinfo.php", "class" => "php")
);
$theme = 'default'; // 'default' | 'dracula'
?>
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Thanks at Juliette R. for the wonderful design and