Socket
Book a DemoInstallSign in
Socket

hazdev-template

Package Overview
Dependencies
Maintainers
5
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hazdev-template

Template for HazDev web sites.

1.4.0
latest
Source
npmnpm
Version published
Weekly downloads
32
88.24%
Maintainers
5
Weekly downloads
 
Created
Source

hazdev-template

Lightweight php template framework

Using the template

  • Overview
  • Page Configuration
  • PHP Variables
  • PHP Functions
  • SCSS Content Patterns

Installing the template

Working on the hazdev-template project:

Dependencies:

  • Node, NPM
  • Sass, Compass
  • PHP-CGI 5.4+

Getting Started:

  • Install NPM dependencies

    npm install

  • Preview in a browser

    grunt

    On windows, gateway has trouble resolving default documents and you need to change the opened url to http://localhost:8080/index.php.

Example usage

The template comes with a styleguide providing examples:

  • css/index.scss defines css variables, and includes the template sass partial
  • _config.inc.php configures site wide settings
  • _navigation.inc.php configures left navigation
  • index.php includes the template

Keywords

usgs

FAQs

Package last updated on 08 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.