Awesome
Ping CRM on Symfony
A demo application to illustrate how Inertia.js works, ported to Symfony from Laravel.
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:
- Username: johndoe@example.com
- Password: secret
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
- Original Ping CRM by Jonathan Reinink (@reinink) and contributors
- Inertia.js server-side adapter for Symfony by Hannes Vermeire (@rompetomp), Tudorache Leonard-Valentin (@SkipTheDragon) and contributors
- This port by Aleks Seltenreich (@aleksblendwerk)
Shout-outs to all Ping CRMs all over the world!