npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

cronic

v0.1.0

Published

PHP 7 Framework w/ Node-Based Command Line Tools (CLI)

Downloads

18

Readme

Cronic

About

Cronic is a PHP 7 framework built by Erik August Johnson ([email protected]). It was originally assembled to help power the Cronster API.

Cronic is a PHP framework to rule them all. Or, in other words, it's yet another PHP framework ;).

But really, the aim here is combine the best components across the ecosystem and combine them with a flexible and customizable CLI tool.

Cronic

Current Version 0.1.0

"The first draft of anything is shit." - David Heinemeier Hansson

Warning: This project is too early in development to use in production. Please use at your own risk.

Requirements

  1. Node
  2. npm
  3. Yeoman
  4. PHP 7
  5. Composer
  6. Database - MySQL, Postgres, SQL Server, SQLite*
  7. Memcached* - optional
  8. Redis* - optional

Components Used

The cronic command line tool is a Node-based npm package. The source file is also included in every project for customization.

Cronic picks and chooses from across the PHP ecosystem, including:

  • Front Controller: Silex
  • Miscellaneous Components: Symfony2
  • Database: Capsule (Laravel)
  • ORM: Eloquent (Laravel)
  • Database Migrations: Phinx
  • Email: Swiftmailer
  • Unit Testing: PHPUnit
  • Documentation: PHPDoc

Installation - Simple 5 Steps

  1. npm install -g yo generator-cronic to install Yeoman (if necessary), and the Cronic file generator.

  2. npm install -g cronic in a sub-root directory. This will create the 'cronic' command line tool.

  3. cronic start <name> to start a new project with a specified name.

  4. cd <name> && cronic setup in your newly created project directory.

  5. cd php && composer install to install vendor PHP packages.

  6. mkdir session to create a 'session' folder for PHP sessions.

Commands

cronic about About the Cronic Framework

cronic migrate Runs Phinx database migration command

cronic run <name> [arguments...] Runs any script located in the php/scripts directory

cronic setup Quickstart Setup - sets app config and default database connection

cronic start <name> Starts a new project with specified name - name used as directory name

cronic test [name] Runs all PHPUnit tests; if test name is specified, runs single test

Generator - Commands

cronic generate controller Generates controller in php/controllers

cronic generate script <name> Generates script in php/scripts

Coming Soon

  • Generator Commands w/ Yeoman - classes, controllers [x], tests, scripts [x], routes, migrations, and more
  • COMPLETED: Quickstart Wizard - the command-line will take care of everything
  • Bootstrap Template Collection - Create slick responsive web applications in no time
  • More In-Depth Documentation and Examples