pingcrm-yii2 Ping CRM on Yii 2 - A Yii 2 demo application to illustrate how Inertia.js works.

Ping CRM on Yii 2

  1. Demo
  2. Installation
  3. Running tests
  4. Requirements
  5. Credits

screenshot.png

A Yii 2 demo application to illustrate how Inertia.js works.

With Inertia you are able to build single-page apps using classic server-side routing and controllers, without building an API.

This application is a port of the original Ping CRM written in Laravel and based on the Yii 2 Basic Project Template.

Demo

https://pingcrm-yii2.tebe.ch

Installation

Clone the repo locally:

git clone https://github.com/tbreuss/pingcrm-yii2 pingcrm-yii2
cd pingcrm-yii2

Install PHP dependencies:

composer install

Install NPM dependencies:

npm ci

Build assets:

npm run dev
npm run css-dev

Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.

touch database/database.sqlite

Run database migrations:

php yii migrate

Run database seeder:

php yii db/seed

Run the dev server (the output will give the address):

php yii serve

You're ready to go! Visit Ping CRM in your browser, and login with:

  • Username: johndoe@example.com
  • Password: secret

Running tests

To run the Ping CRM tests, run:

(to be done)

Requirements

  • PHP >= 5.6.0
  • SQLite

Credits

  • Original work by Jonathan Reinink (@reinink) and contributors
  • Port to Yii 2 by Thomas Breuss (@tbreuss)
2 0
2 followers
0 downloads
Yii Version: 2.0.*
License: BSD-3-Clause
Developed by: tebe
Created on: Feb 17, 2020
Last updated: 3 months ago
Github Repository

Related Extensions