How to Upload Image using Proffer Component in PHP?
222830-Jan-2017
Hi, I have built an application using php programming and I want to upload image using proffer component in PHP. I usually search for many php questions and answers queriesphp questions and answers queries, which fortunately get resolved in such Q&A forums. So again, I am hoping that some of the tech experts in this community can help to figure out my issue.
Friend HRM
20-Feb-2017First, you need to install Proffer Component in your project directory .Open your terminal and go to your project directory then Run below command.
Ones the plugin is loaded in your bootstrap.php file now creates an upload field here we are using articles table which contains articles details with image.
articles table
Now you need to ensure that the fields are present in your entities $_accessible array.
src/Model/Entity/Article.php
Now Need to Configuring the behaviour in your Table Model.Configuring Input field in your templates.
I hope this will help you.