How to send FCM Notification From App without extension?

I want to make e admin app. And want to send fcm Notification From app. I have search on community and find a extension for this but I want to make it without extension.
If possible please anybody guide me.
Thanks in advance.