Day-to-day commands
This page is for developers who want the right command for the moment without reading a guide. Every command is explained on its own page; follow the links when in doubt.
Contents
After pulling code
composer install
php bin/console doctrine:migration:migrate --allow-no-migration
php bin/console cache:clear
yarn install && yarn dev # if package.json or assets changedAfter a change
| You changed | Run |
|---|---|
| A Twig template | Nothing in dev; cache:clear in prod |
| YAML configuration or a service | php bin/console cache:clear |
| A content type or field type | php bin/console ibexa:graphql:generate-schema, cache:clear, and a reindex if search uses the fields |
| Image variation settings | php bin/console liip:imagine:cache:remove, cache:clear |
| Site stylesheets or scripts | yarn dev (or keep yarn watch running) |
| Admin assets or a new admin-ui version | yarn ibexa:build |
.env.local | cache:clear |
| A Doctrine entity | doctrine:migration:diff, review, doctrine:migration:migrate |
When something looks stale
php bin/console cache:clear
php bin/console cache:pool:clear cache.tagaware.filesystem # or your CACHE_POOL
php bin/console fos:httpcache:invalidate:path / --all
php bin/console exponential:reindex # search results
php bin/console liip:imagine:cache:remove # imagesThen reload the browser without its cache. If it is still stale, read Troubleshooting.
Services
symfony server:start -d && symfony server:log # development server
systemctl reload php8.3-fpm # after PHP settings changed (your version)
systemctl reload nginx # or apache2
php bin/console messenger:stop-workers # after a deploy, if workers runLooking things up
php bin/console list exponential # the core's commands
php bin/console debug:router # routes
php bin/console debug:twig # Twig functions, filters, namespaces
php bin/console debug:config ibexa # resolved configuration
php bin/console exponential:debug:config-resolver languages --siteaccess=site
composer why <package> # why a package is installedRelated pages
- Console commands and renames
- Building assets
- Troubleshooting
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.