Symfonyには全てのルーティングを一覧で出力する方法があります。
ルーティングとはControllerの@Routeアノテーションなどで設定しているURLのことです。
EC-CUBEはSymfonyで作られているので当然ながら同じ方法が使用できます。
コマンド
php bin/console debug:router --env=prod
bin/consoleでdebug:routerを実行するだけです。
出力結果
次のように出力されます。出力結果はEC-CUBE4.2系のものです。
-------------------------------------------- ---------- ------------ ------ ---------------------------------------------------------------
Name Method Scheme Host Path
-------------------------------------------- ---------- ------------ ------ ---------------------------------------------------------------
admin_login GET|POST https|http ANY /admin/login
admin_homepage GET https|http ANY /admin/
admin_homepage_sale GET https|http ANY /admin/sale_chart
admin_change_password GET|POST https|http ANY /admin/change_password
admin_homepage_nonstock GET https|http ANY /admin/search_nonstock
admin_homepage_customer GET https|http ANY /admin/search_customer
admin_content_block GET https|http ANY /admin/content/block
admin_content_block_new GET|POST https|http ANY /admin/content/block/new
admin_content_block_edit GET|POST https|http ANY /admin/content/block/{id}/edit
admin_content_block_delete DELETE https|http ANY /admin/content/block/{id}/delete
admin_content_cache GET|POST https|http ANY /admin/content/cache
admin_content_css GET|POST https|http ANY /admin/content/css
admin_content_file GET|POST https|http ANY /admin/content/file_manager
admin_content_file_view GET https|http ANY /admin/content/file_view
admin_content_file_delete DELETE https|http ANY /admin/content/file_delete
admin_content_file_download GET https|http ANY /admin/content/file_download
admin_content_js GET|POST https|http ANY /admin/content/js
admin_content_layout GET https|http ANY /admin/content/layout
admin_content_layout_delete DELETE https|http ANY /admin/content/layout/{id}/delete
admin_content_layout_new GET|POST https|http ANY /admin/content/layout/new
admin_content_layout_edit GET|POST https|http ANY /admin/content/layout/{id}/edit
admin_content_layout_view_block GET https|http ANY /admin/content/layout/view_block
admin_content_layout_preview POST https|http ANY /admin/content/layout/{id}/preview
admin_content_maintenance GET|POST https|http ANY /admin/content/maintenance
admin_disable_maintenance POST https|http ANY /admin/disable_maintenance/{mode}
admin_content_news GET https|http ANY /admin/content/news
admin_content_news_page GET https|http ANY /admin/content/news/page/{page_no}
admin_content_news_new GET|POST https|http ANY /admin/content/news/new
admin_content_news_edit GET|POST https|http ANY /admin/content/news/{id}/edit
admin_content_news_delete DELETE https|http ANY /admin/content/news/{id}/delete
admin_content_page GET https|http ANY /admin/content/page
admin_content_page_new GET|POST https|http ANY /admin/content/page/new
admin_content_page_edit GET|POST https|http ANY /admin/content/page/{id}/edit
admin_content_page_delete DELETE https|http ANY /admin/content/page/{id}/delete
admin_customer GET|POST https|http ANY /admin/customer
admin_customer_page GET|POST https|http ANY /admin/customer/page/{page_no}
admin_customer_resend GET https|http ANY /admin/customer/{id}/resend
admin_customer_delete DELETE https|http ANY /admin/customer/{id}/delete
admin_customer_export GET https|http ANY /admin/customer/export
admin_customer_delivery_new GET|POST https|http ANY /admin/customer/{id}/delivery/new
admin_customer_delivery_edit GET|POST https|http ANY /admin/customer/{id}/delivery/{did}/edit
admin_customer_delivery_delete DELETE https|http ANY /admin/customer/{id}/delivery/{did}/delete
admin_customer_new GET|POST https|http ANY /admin/customer/new
admin_customer_edit GET|POST https|http ANY /admin/customer/{id}/edit
admin_shipping_csv_import GET|POST https|http ANY /admin/order/shipping_csv_upload
admin_shipping_csv_template GET https|http ANY /admin/order/csv_template
admin_order_new GET|POST https|http ANY /admin/order/new
admin_order_edit GET|POST https|http ANY /admin/order/{id}/edit
admin_order_search_customer_html GET|POST https|http ANY /admin/order/search/customer/html
admin_order_search_customer_html_page GET|POST https|http ANY /admin/order/search/customer/html/page/{page_no}
admin_order_search_customer_by_id POST https|http ANY /admin/order/search/customer/id
admin_order_search_product GET|POST https|http ANY /admin/order/search/product
admin_order_search_product_page GET|POST https|http ANY /admin/order/search/product/page/{page_no}
admin_order_search_order_item_type POST https|http ANY /admin/order/search/order_item_type
admin_order_mail GET|POST https|http ANY /admin/order/{id}/mail
admin_order GET|POST https|http ANY /admin/order
admin_order_page GET|POST https|http ANY /admin/order/page/{page_no}
admin_order_bulk_delete POST https|http ANY /admin/order/bulk_delete
admin_order_export_order GET https|http ANY /admin/order/export/order
admin_order_export_shipping GET https|http ANY /admin/order/export/shipping
admin_shipping_update_order_status PUT https|http ANY /admin/shipping/{id}/order_status
admin_shipping_update_tracking_number PUT https|http ANY /admin/shipping/{id}/tracking_number
admin_order_export_pdf GET|POST https|http ANY /admin/order/export/pdf
admin_order_pdf_download POST https|http ANY /admin/order/export/pdf/download
admin_shipping_edit GET|POST https|http ANY /admin/shipping/{id}/edit
admin_shipping_preview_notify_mail GET https|http ANY /admin/shipping/preview_notify_mail/{id}
admin_shipping_notify_mail PUT https|http ANY /admin/shipping/notify_mail/{id}
admin_product_category GET|POST https|http ANY /admin/product/category
admin_product_category_show GET|POST https|http ANY /admin/product/category/{parent_id}
admin_product_category_edit GET|POST https|http ANY /admin/product/category/{id}/edit
admin_product_category_delete DELETE https|http ANY /admin/product/category/{id}/delete
admin_product_category_sort_no_move POST https|http ANY /admin/product/category/sort_no/move
admin_product_category_export GET https|http ANY /admin/product/category/export
admin_product_class_category GET|POST https|http ANY /admin/product/class_category/{class_name_id}
admin_product_class_category_edit GET|POST https|http ANY /admin/product/class_category/{class_name_id}/{id}/edit
admin_product_class_category_delete DELETE https|http ANY /admin/product/class_category/{class_name_id}/{id}/delete
admin_product_class_category_visibility PUT https|http ANY /admin/product/class_category/{class_name_id}/{id}/visibility
admin_product_class_category_sort_no_move POST https|http ANY /admin/product/class_category/sort_no/move
admin_product_class_name GET|POST https|http ANY /admin/product/class_name
admin_product_class_name_edit GET|POST https|http ANY /admin/product/class_name/{id}/edit
admin_product_class_name_delete DELETE https|http ANY /admin/product/class_name/{id}/delete
admin_product_class_name_sort_no_move POST https|http ANY /admin/product/class_name/sort_no/move
admin_product_csv_import GET|POST https|http ANY /admin/product/product_csv_upload
admin_product_category_csv_import GET|POST https|http ANY /admin/product/category_csv_upload
admin_product_csv_template GET https|http ANY /admin/product/csv_template/{type}
admin_product_csv_split POST https|http ANY /admin/product/csv_split
admin_product_csv_split_import POST https|http ANY /admin/product/csv_split_import
admin_product_csv_split_cleanup POST https|http ANY /admin/product/csv_split_cleanup
admin_product_product_class GET|POST https|http ANY /admin/product/product/class/{id}
admin_product_product_class_clear POST https|http ANY /admin/product/product/class/{id}/clear
admin_product GET|POST https|http ANY /admin/product
admin_product_page GET|POST https|http ANY /admin/product/page/{page_no}
admin_product_classes_load GET https|http ANY /admin/product/classes/{id}/load
admin_product_image_process POST https|http ANY /admin/product/product/image/process
admin_product_image_load GET https|http ANY /admin/product/product/image/load
admin_product_image_revert DELETE https|http ANY /admin/product/product/image/revert
admin_product_product_new GET|POST https|http ANY /admin/product/product/new
admin_product_product_edit GET|POST https|http ANY /admin/product/product/{id}/edit
admin_product_product_delete DELETE https|http ANY /admin/product/product/{id}/delete
admin_product_product_copy POST https|http ANY /admin/product/product/{id}/copy
admin_product_export GET https|http ANY /admin/product/export
admin_product_bulk_product_status POST https|http ANY /admin/product/bulk/product-status/{id}
admin_product_tag GET|POST https|http ANY /admin/product/tag
admin_product_tag_delete DELETE https|http ANY /admin/product/tag/{id}/delete
admin_product_tag_sort_no_move POST https|http ANY /admin/product/tag/sort_no/move
admin_setting_shop_calendar GET|POST https|http ANY /admin/setting/shop/calendar
admin_setting_shop_calendar_new GET|POST https|http ANY /admin/setting/shop/calendar/new
admin_setting_shop_calendar_delete DELETE https|http ANY /admin/setting/shop/calendar/{id}/delete
admin_setting_shop_csv GET|POST https|http ANY /admin/setting/shop/csv/{id}
admin_setting_shop_delivery GET https|http ANY /admin/setting/shop/delivery
admin_setting_shop_delivery_new GET|POST https|http ANY /admin/setting/shop/delivery/new
admin_setting_shop_delivery_edit GET|POST https|http ANY /admin/setting/shop/delivery/{id}/edit
admin_setting_shop_delivery_delete DELETE https|http ANY /admin/setting/shop/delivery/{id}/delete
admin_setting_shop_delivery_visibility PUT https|http ANY /admin/setting/shop/delivery/{id}/visibility
admin_setting_shop_delivery_sort_no_move POST https|http ANY /admin/setting/shop/delivery/sort_no/move
admin_setting_shop_mail GET|POST https|http ANY /admin/setting/shop/mail
admin_setting_shop_mail_edit GET|POST https|http ANY /admin/setting/shop/mail/{id}
admin_setting_shop_mail_preview POST https|http ANY /admin/setting/shop/mail/preview
admin_setting_shop_order_status GET|POST https|http ANY /admin/setting/shop/order_status
admin_setting_shop_payment GET https|http ANY /admin/setting/shop/payment
admin_setting_shop_payment_new GET|POST https|http ANY /admin/setting/shop/payment/new
admin_setting_shop_payment_edit GET|POST https|http ANY /admin/setting/shop/payment/{id}/edit
admin_payment_image_process POST https|http ANY /admin/setting/shop/payment/image/process
admin_payment_image_load GET https|http ANY /admin/setting/shop/payment/image/load
admin_payment_image_revert DELETE https|http ANY /admin/setting/shop/payment/image/revert
admin_setting_shop_payment_delete DELETE https|http ANY /admin/setting/shop/payment/{id}/delete
admin_setting_shop_payment_visible PUT https|http ANY /admin/setting/shop/payment/{id}/visible
admin_setting_shop_payment_sort_no_move POST https|http ANY /admin/setting/shop/payment/sort_no/move
admin_setting_shop GET|POST https|http ANY /admin/setting/shop
admin_setting_shop_tax GET|POST https|http ANY /admin/setting/shop/tax
admin_setting_shop_tax_new GET|POST https|http ANY /admin/setting/shop/tax/new
admin_setting_shop_tax_delete DELETE https|http ANY /admin/setting/shop/tax/{id}/delete
admin_setting_shop_tradelaw GET|POST https|http ANY /admin/setting/shop/tradelaw
admin_setting_system_authority GET|POST https|http ANY /admin/setting/system/authority
admin_setting_system_log GET|POST https|http ANY /admin/setting/system/log
admin_setting_system_login_history GET|POST https|http ANY /admin/setting/system/login_history
admin_setting_system_login_history_page GET|POST https|http ANY /admin/setting/system/login_history/{page_no}
admin_setting_system_masterdata GET|POST https|http ANY /admin/setting/system/masterdata
admin_setting_system_masterdata_view GET|POST https|http ANY /admin/setting/system/masterdata/{entity}/edit
admin_setting_system_masterdata_edit GET|POST https|http ANY /admin/setting/system/masterdata/edit
admin_setting_system_member GET|PUT https|http ANY /admin/setting/system/member
admin_setting_system_member_new GET|POST https|http ANY /admin/setting/system/member/new
admin_setting_system_member_edit GET|POST https|http ANY /admin/setting/system/member/{id}/edit
admin_setting_system_member_up PUT https|http ANY /admin/setting/system/member/{id}/up
admin_setting_system_member_down PUT https|http ANY /admin/setting/system/member/{id}/down
admin_setting_system_member_delete DELETE https|http ANY /admin/setting/system/member/{id}/delete
admin_setting_system_security GET|POST https|http ANY /admin/setting/system/security
admin_setting_system_system GET https|http ANY /admin/setting/system/system
admin_setting_system_system_phpinfo GET https|http ANY /admin/setting/system/system/phpinfo
admin_two_factor_auth GET|POST https|http ANY /admin/two_factor_auth/auth
admin_two_factor_auth_set GET|POST https|http ANY /admin/two_factor_auth/set
admin_setting_system_two_factor_auth_edit GET|POST https|http ANY /admin/setting/system/two_factor_auth/edit
admin_store_plugin_owners_search GET|POST https|http ANY /admin/store/plugin/api/search
admin_store_plugin_owners_search_page GET|POST https|http ANY /admin/store/plugin/api/search/page/{page_no}
admin_store_plugin_install_confirm GET https|http ANY /admin/store/plugin/api/install/{id}/confirm
admin_store_plugin_api_install POST https|http ANY /admin/store/plugin/api/install
admin_store_plugin_api_uninstall DELETE https|http ANY /admin/store/plugin/api/delete/{id}/uninstall
admin_store_plugin_api_upgrade POST https|http ANY /admin/store/plugin/api/upgrade
admin_store_plugin_api_schema_update POST https|http ANY /admin/store/plugin/api/schema_update
admin_store_plugin_api_update POST https|http ANY /admin/store/plugin/api/update
admin_store_plugin_update_confirm GET https|http ANY /admin/store/plugin/api/upgrade/{id}/confirm
admin_store_plugin GET https|http ANY /admin/store/plugin
admin_store_plugin_update POST https|http ANY /admin/store/plugin/{id}/update
admin_store_plugin_enable POST https|http ANY /admin/store/plugin/{id}/enable
admin_store_plugin_disable POST https|http ANY /admin/store/plugin/{id}/disable
admin_store_plugin_uninstall DELETE https|http ANY /admin/store/plugin/{id}/uninstall
admin_store_plugin_install GET|POST https|http ANY /admin/store/plugin/install
admin_store_authentication_setting GET|POST https|http ANY /admin/store/plugin/authentication_setting
admin_store_template GET|POST https|http ANY /admin/store/template
admin_store_template_download GET https|http ANY /admin/store/template/{id}/download
admin_store_template_delete DELETE https|http ANY /admin/store/template/{id}/delete
admin_store_template_install GET|POST https|http ANY /admin/store/template/install
block_calendar GET https|http ANY /block/calendar
block_cart GET https|http ANY /block/cart
block_cart_sp GET https|http ANY /block/cart_sp
block_search_product GET https|http ANY /block/search_product
block_search_product_sp GET https|http ANY /block/search_product_sp
cart GET https|http ANY /cart
cart_handle_item PUT https|http ANY /cart/{operation}/{productClassId}
cart_buystep GET https|http ANY /cart/buystep/{cart_key}
contact GET|POST https|http ANY /contact
contact_confirm GET|POST https|http ANY /contact
contact_complete GET https|http ANY /contact/complete
entry GET|POST https|http ANY /entry
entry_confirm GET|POST https|http ANY /entry
entry_complete GET https|http ANY /entry/complete
entry_activate GET https|http ANY /entry/activate/{secret_key}/{qtyInCart}
forgot GET|POST https|http ANY /forgot
forgot_complete GET https|http ANY /forgot/complete
forgot_reset GET|POST https|http ANY /forgot/reset/{reset_key}
help_guide GET https|http ANY /guide
help_about GET https|http ANY /help/about
help_privacy GET https|http ANY /help/privacy
help_agreement GET https|http ANY /help/agreement
install_plugins GET https|http ANY /install/plugins
install_plugin_enable PUT https|http ANY /install/plugin/{code}/enable
install_plugin_redirect GET https|http ANY /install/plugin/redirect
install_plugin_check_api PUT https|http ANY /install/plugin/check_api
install GET https|http ANY /install
install_step1 GET|POST https|http ANY /install/step1
install_step2 GET https|http ANY /install/step2
install_step3 GET|POST https|http ANY /install/step3
install_step4 GET|POST https|http ANY /install/step4
install_step5 GET|POST https|http ANY /install/step5
install_complete GET https|http ANY /install/complete
mypage_change GET|POST https|http ANY /mypage/change
mypage_change_complete GET https|http ANY /mypage/change_complete
mypage_delivery GET https|http ANY /mypage/delivery
mypage_delivery_new GET|POST https|http ANY /mypage/delivery/new
mypage_delivery_edit GET|POST https|http ANY /mypage/delivery/{id}/edit
mypage_delivery_delete DELETE https|http ANY /mypage/delivery/{id}/delete
mypage_login GET|POST https|http ANY /mypage/login
mypage GET https|http ANY /mypage/
mypage_history GET https|http ANY /mypage/history/{order_no}
mypage_order PUT https|http ANY /mypage/order/{order_no}
mypage_favorite GET https|http ANY /mypage/favorite
mypage_favorite_delete DELETE https|http ANY /mypage/favorite/{id}/delete
mypage_withdraw GET|POST https|http ANY /mypage/withdraw
mypage_withdraw_confirm GET|POST https|http ANY /mypage/withdraw
mypage_withdraw_complete GET https|http ANY /mypage/withdraw_complete
shopping_nonmember GET|POST https|http ANY /shopping/nonmember
shopping_customer POST https|http ANY /shopping/customer
product_list GET https|http ANY /products/list
product_detail GET https|http ANY /products/detail/{id}
product_add_favorite GET|POST https|http ANY /products/add_favorite/{id}
product_add_cart POST https|http ANY /products/add_cart/{id}
shopping_shipping_multiple GET|POST https|http ANY /shopping/shipping_multiple
shopping_shipping_multiple_edit GET|POST https|http ANY /shopping/shipping_multiple_edit
shopping GET https|http ANY /shopping
shopping_redirect_to POST https|http ANY /shopping/redirect_to
shopping_confirm POST https|http ANY /shopping/confirm
shopping_checkout POST https|http ANY /shopping/checkout
shopping_complete GET https|http ANY /shopping/complete
shopping_shipping GET|POST https|http ANY /shopping/shipping/{id}
shopping_shipping_edit GET|POST https|http ANY /shopping/shipping_edit/{id}
shopping_login GET https|http ANY /shopping/login
shopping_error GET https|http ANY /shopping/error
sitemap_xml GET https|http ANY /sitemap.xml
sitemap_category_xml GET https|http ANY /sitemap_category.xml
sitemap_product_xml GET https|http ANY /sitemap_product_{page}.xml
sitemap_page_xml GET https|http ANY /sitemap_page.xml
homepage GET https|http ANY /
help_tradelaw GET https|http ANY /help/tradelaw
user_data GET https|http ANY /user_data/{route}
admin_logout ANY https|http ANY /admin/logout
logout ANY https|http ANY /logout
EC-CUBEに関するお問い合わせ
[重要]現在公式にセキュリティサポートが切れていないPHPは8.1以上、MySQLは8.0以上で、対応しているEC-CUBEバージョンは4.2以上です。古いEC-CUBEを使っている方は適切なタイミングでバージョンアップをご検討ください。