Skip to content

A demo application to illustrate how Inertia.js works, ported to Symfony from Laravel

License

Notifications You must be signed in to change notification settings

aleksblendwerk/pingcrm-symfony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ping CRM on Symfony

CI

A demo application to illustrate how Inertia.js works, ported to Symfony from Laravel.

Screenshot

Requires and is tested with PHP 8.3.

Installation

Make sure you have the symfony binary (Symfony CLI) installed and in your PATH.

Clone the repo locally:

git clone https://github.com/aleksblendwerk/pingcrm-symfony.git pingcrm-symfony
cd pingcrm-symfony

Install dependencies:

composer install
npm ci

Build assets:

npm run dev

Start the local docker environment:

docker compose up

The current configuration uses MariaDB. If you're not using the supplied Docker environment, create a .env.local file and adjust the DATABASE_URL accordingly.

Create the database, schema and load the initial data:

composer build-database

You're ready to go! Visit Ping CRM in your browser at http://localhost:8000/ and login with:

Running tests

Keep in mind to adjust the DATABASE_URL in .env.test accordingly (or optionally create a .env.test.local file and put your overrides there).

Run the Ping CRM tests:

composer test

Credits

Shout-outs to all Ping CRMs all over the world!