Skip to content

arbims/upload-Plugin-cakephp-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

upload-Plugin-cakephp-3

Plugin cakephp 3 for upload file

you need just add this in your classTable example add folder for upload and name Model

$this->addBehavior('Upload.Upload', array(
                'fields' => array('image' => 'img/files/'),
                'model' => 'Posts'
            )
        );

then add field name with _file in your $_accessible array in your Class Model

'image_file'  => true

About

Plugin cakephp 3 for upload file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages