InfyOmLabs / laravel-generator

API and Admin Panel CRUD Generator for Laravel.
https://www.infyom.com/open-source
MIT License
3.79k stars 812 forks source link

laravel-generator config file not change #135

Closed paranoid-m closed 8 years ago

paranoid-m commented 8 years ago

I change laravel-generator.php file but when I run php artisan infyom:api Post Create file with default value. I change model address and namespace but not change

mitulgolakiya commented 8 years ago

@yepco Can you post your laravel-generator.php and generated files here. I have tried to change model location and namespace and it worked fine.

paranoid-m commented 8 years ago

Thanks I solved it. I have another question I have json file and How I import it in php artisan command?

paranoid-m commented 8 years ago

I Use this command php artisan infyom:scaffold $MODEL_NAME$ --fieldsFile=absolute_file_path_or_path_from_base_directory