Cronic is a PHP 7 framework built by Erik August Johnson (email@example.com). 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.
"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.
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:
npm install -g yo generator-cronic to install Yeoman (if necessary), and the Cronic file generator.
npm install -g cronic in a sub-root directory. This will create the 'cronic' command line tool.
cronic start <name> to start a new project with a specified name.
cd <name> && cronic setup in your newly created project directory.
cd php && composer install to install vendor PHP packages.
mkdir session to create a 'session' folder for PHP sessions.
About the Cronic Framework
Runs Phinx database migration command
cronic run <name> [arguments...]
Runs any script located in the
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
cronic generate controller
Generates controller in
cronic generate script
Generates script in