A demo application to illustrate how Inertia.js works, ported to Symfony from Laravel.
Requires and is tested with PHP 8.3.
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-symfonyInstall dependencies:
composer install
npm ciBuild assets:
npm run devStart the local docker environment:
docker compose upThe 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-databaseYou're ready to go! Visit Ping CRM in your browser at http://localhost:8000/ and login with:
- Username: [email protected]
- Password: secret
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
- 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!