Site icon Hip-Hop Website Design and Development

Creating a contact form with Laravel frontend

I’m building my site with a Laravel frontend. The idea is that I can build the website in Laravel and simply use WordPress as a CMS for the content.

I’m using Corcel to achieve this and so far it is working very well.

One thing I need to do is implement a contact form. Ideally I’d like to use Laravel functionality, such as validation and saving. However I need the form submissions to appear in the WordPress admin.

What is the best way to do this? Do I need to create a custom post type? The admin won’t need to edit any of the submissions, just merely view them and delete them.

Do I need to create the fields in WordPress first and then reference those fields in my Laravel view?

I also have use of Advanced Custom Fields if this helps.