Monsido\Installer\Install
Post Create Project Helper
Class Install
Synopsis
class Install
{
- // members
- private static string $basePath = '';
- // methods
- public static string getBasePath()
- public static void postCreateProject()
- protected static void applyConfiguration()
- protected static void installLocalDB()
- protected static void installHerokuDB()
Members
private
- $basePath — string
Methods
protected
- applyConfiguration() — Replaces placeholders in .env.example and renames it to .env
- installHerokuDB() — Install DB on Heroku when setup project
- installLocalDB() — Install DB on Local when setup project
public
- getBasePath() — Get the documentation root for this project
- postCreateProject() — Setup project via terminal automatically Called after every "composer update" command, or after a "composer install"