sumocoders / application-skeleton
Installs: 676
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 5
Open Issues: 0
Type:project
Requires
- php: ^8.4
- ext-ctype: *
- ext-iconv: *
- ext-sodium: *
- symfony/flex: ^2
- dev-master
- v14.0.0
- v13.1.0
- v13.0.0
- v12.1.0
- v12.0.2
- v12.0.1
- v12.0.0
- v11.2.0
- v11.1.2
- v11.1.1
- v11.1.0
- v11.0.0
- v10.0.2
- v10.0.1
- v10.0.0
- v9.3.0
- v9.2.0
- v9.1.0
- v9.0.3
- v9.0.2
- v9.0.1
- v9.0.0
- v8.0.0
- v7.0.6
- v7.0.5
- v7.0.4
- v7.0.3
- v7.0.2
- v7.0.1
- v7.0
- v6.6
- v6.5.0
- v6.4.2
- v6.4.1
- v6.4.0
- v6.3.1
- v6.3.0
- v6.2.0
- v6.1.5
- v6.1.4
- v6.1.3
- v6.1.2
- v6.1.1
- v6.1.0
- v6.0.4
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0.0
- v5.1.1
- v5.1.0
- v5.0.1
- v5.0.0
- v4.1.3
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.0
- v3.3.0
- v3.2.0
- v3.1.0
- v3.0.1
- v3.0.0
- v2.0.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.0
- dev-368-automate-updates
- dev-365-csp-issues
- dev-343-remove-fos-js-routing
- dev-357-database-setup
- dev-jonasdekeukelaere-patch-1
- dev-340-multi-language
- dev-318-allowed-recipients
- dev-313-async-email
- dev-362-improve-code
- dev-ajax-client
- dev-php84
- dev-351-symfony-72
This package is auto-updated.
Last update: 2025-08-14 08:09:42 UTC
README
Use the following commands to create a new project:
composer create-project sumocoders/application-skeleton my_project
git init
git add .
git commit -n -m "Initial commit"
Start your project by running:
symfony serve
symfony console sass:build --watch
Configuration
Deployment
Open deploy.php
and check the configuration, replace the example values
(prefixed with $
) with correct values.
Try to deploy to staging by running:
symfony php vendor/bin/dep deploy stage=staging
Log in through ssh
on the dev-server and alter the .env.local
-file to use the
correct credentials.
Continuous deployment to staging
Each time something is merged into the staging branch it can be deployed automatically. To do so, follow the steps below:
- Open the project in Gitlab.
- Open Settings → Repository → Deploy Keys.
- Click the tab "Privately accessible deploy keys" and enable the key called "Sumo deploy user".
- Open Settings → CI / CD → Variables.
- Add a variable called
SSH_PRIVATE_KEY
, the value can be found in 1Password under "Sumo Deploy User private key". You can check the "Protect variable" flag. - Add a variable called
SSH_KNOWN_HOSTS
, the value should be the output ofssh-keyscan -H dev02.sumocoders.eu
. - Open
.gitlab-ci.yaml
, scroll toDeploy - to staging
. - Alter the url under
environment → url
.
Working on the Skeleton
Testing create-project
locally
There is a test-script scripts/test.sh
which you can use:
COMPOSER_MEMORY_LIMIT=-1 ./scripts/test.sh BRANCH-TO_TEST TARGETDIR
This will create a new project that uses the commited code in the selected branch. The new project will be located in the TARGETDIR
Kudos to beporter.