Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

juliencrn/localhost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOCALHOST

Localhost is a simple minimalist darkly welcome page for your PHP projects.

Default theme

Dracula theme

Installation

  1. Download the repository
  2. 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

Usage

Just start your PHP server and go to your index like http:https://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:https://localhost/phpmyadmin", "class" => "pma"),
  array("label" => "Github", "path" => "https://github.com/", "class" => "github"),
  array("label" => "PHP info", "path" => "http:https://localhost/assets/utils/phpinfo.php", "class" => "php")
);
$theme = 'default'; // 'default' | 'dracula'
?>

Contributing

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.

License

MIT

Credits

Thanks at Juliette R. for the wonderful design and

Releases

No releases published

Packages