أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Using the laravel (4.2) artisan, you can run this command:php artisan generate:controller PostsControllerAdditioanlly there's a laravel package with much more commands to generate lot more things, you can find it on github: https://github.com/JeffreyWay/Laravel-4-Generators