{"id":23,"date":"2026-04-26T13:24:46","date_gmt":"2026-04-26T13:24:46","guid":{"rendered":"http:\/\/localhost:8080\/?program=laravel-12-5-day"},"modified":"2026-04-26T13:24:46","modified_gmt":"2026-04-26T13:24:46","slug":"laravel-12-5-day","status":"publish","type":"program","link":"https:\/\/jegan.my\/?program=laravel-12-5-day","title":{"rendered":"Laravel 12 &#8211; 5 Day"},"content":{"rendered":"<h2>Day 1 &#8211; Foundations, Environment Setup, and Modern PHP for Laravel<\/h2>\n<h3>1. Modern PHP Foundations for Laravel<\/h3>\n<ul>\n<li>Modern PHP overview<\/li>\n<li>Variables, arrays, and associative arrays<\/li>\n<li>Functions<\/li>\n<li>Passing functions as arguments<\/li>\n<li>Anonymous functions and closures<\/li>\n<li>OOP fundamentals<\/li>\n<li>Classes and objects<\/li>\n<li>Inheritance<\/li>\n<li>Interfaces and abstract classes<\/li>\n<li>Traits<\/li>\n<li>Namespaces<\/li>\n<li>Type declarations and return types<\/li>\n<li>Composer and autoloading basics<\/li>\n<li>Practical PHP patterns commonly used in Laravel<\/li>\n<\/ul>\n<h3>2. Laravel Overview<\/h3>\n<ul>\n<li>What is Laravel (Modern Laravel 12 perspective)<\/li>\n<li>MVC Architecture (for beginners)<\/li>\n<li>Laravel vs Native PHP (client context)<\/li>\n<li>How Laravel fits into enterprise and API ecosystems<\/li>\n<\/ul>\n<h3>3. Installation and Environment Setup<\/h3>\n<ul>\n<li>Installing PHP, Composer, Node<\/li>\n<li>Laravel 12 installation<\/li>\n<li>Project structure walkthrough<\/li>\n<li>Local development setup (XAMPP \/ Docker optional)<\/li>\n<\/ul>\n<h3>4. Application Structure<\/h3>\n<ul>\n<li>Deep dive:<\/li>\n<li>App, Routes, Config, Database, Resources<\/li>\n<li>Understanding request lifecycle<\/li>\n<\/ul>\n<h2>Day 2 &#8211; Core Development and Server Foundations<\/h2>\n<h3>5. Configuration<\/h3>\n<ul>\n<li>.env deep dive<\/li>\n<li>Environment-based configuration<\/li>\n<li>Debug mode<\/li>\n<li>Production mode<\/li>\n<li>Config caching<\/li>\n<\/ul>\n<h3>6. Server Setup for Laravel<\/h3>\n<ul>\n<li>Basic Linux server setup (Ubuntu)<\/li>\n<li>Installing: PHP, Nginx\/Apache, Composer<\/li>\n<li>Folder permissions<\/li>\n<li>Running Laravel on server<\/li>\n<\/ul>\n<h3>7. Routing<\/h3>\n<ul>\n<li>Basic routing<\/li>\n<li>Route parameters<\/li>\n<li>API routing vs Web routing<\/li>\n<\/ul>\n<h3>8. Controllers<\/h3>\n<ul>\n<li>Creating controllers<\/li>\n<li>Resource controllers<\/li>\n<li>Dependency injection<\/li>\n<\/ul>\n<h3>9. Views and Blade<\/h3>\n<ul>\n<li>Blade basics<\/li>\n<li>Layouts<\/li>\n<li>Passing data<\/li>\n<\/ul>\n<h2>Day 3 &#8211; CRUD, Database, and API Foundations<\/h2>\n<h3>10. Working with Database (MariaDB Focus)<\/h3>\n<ul>\n<li>Connecting Laravel to MariaDB<\/li>\n<li>Eloquent ORM basics<\/li>\n<li>Query Builder<\/li>\n<\/ul>\n<h3>11. Database Migration and Conversion<\/h3>\n<ul>\n<li>Migrating existing database to Laravel<\/li>\n<li>Reverse engineering existing DB<\/li>\n<li>Creating migrations from existing schema<\/li>\n<li>Handling legacy database structures<\/li>\n<\/ul>\n<h3>12. Forms and Validation<\/h3>\n<ul>\n<li>Form handling<\/li>\n<li>Validation rules<\/li>\n<li>Error handling<\/li>\n<\/ul>\n<h3>13. Request and Response<\/h3>\n<ul>\n<li>Handling input<\/li>\n<li>JSON responses<\/li>\n<li>API Validation<\/li>\n<\/ul>\n<h3>14. REST API Development<\/h3>\n<ul>\n<li>REST fundamentals (for beginners)<\/li>\n<li>Building API endpoints<\/li>\n<li>API versioning<\/li>\n<\/ul>\n<h2>Day 4 &#8211; API Development, Security, and Integration<\/h2>\n<h3>15. Authentication (API Focus)<\/h3>\n<ul>\n<li>Token-based authentication (Laravel Sanctum)<\/li>\n<li>Login API<\/li>\n<li>Securing endpoints<\/li>\n<\/ul>\n<h3>16. Mobile App Integration<\/h3>\n<ul>\n<li>How mobile apps connect to Laravel APIs<\/li>\n<li>JSON data flow<\/li>\n<li>CORS handling<\/li>\n<li>Testing APIs using Postman<\/li>\n<\/ul>\n<h3>17. Middleware<\/h3>\n<ul>\n<li>API middleware<\/li>\n<li>Authentication middleware<\/li>\n<\/ul>\n<h3>18. Error Handling<\/h3>\n<ul>\n<li>API error responses<\/li>\n<li>Logging<\/li>\n<\/ul>\n<h3>19. Security<\/h3>\n<ul>\n<li>CSRF protection<\/li>\n<li>Authentication vs Authorization<\/li>\n<li>API security<\/li>\n<\/ul>\n<h3>20. Sessions and Cookies<\/h3>\n<ul>\n<li>Session handling<\/li>\n<li>Stateless APIs vs session apps<\/li>\n<\/ul>\n<h3>21. File Upload and Storage<\/h3>\n<ul>\n<li>Upload files<\/li>\n<li>Cloud storage concepts<\/li>\n<\/ul>\n<h2>Day 5 &#8211; Advanced Features, Deployment, and Production Practices<\/h2>\n<h3>22. Events and Jobs<\/h3>\n<ul>\n<li>Event-driven architecture<\/li>\n<li>Background jobs (intro)<\/li>\n<\/ul>\n<h3>23. Email and Notifications<\/h3>\n<ul>\n<li>Sending emails<\/li>\n<li>Queue basics<\/li>\n<li>Whatsapp<\/li>\n<\/ul>\n<h3>24. Performance Optimization<\/h3>\n<ul>\n<li>Caching<\/li>\n<li>Query optimization<\/li>\n<li>Config caching<\/li>\n<li>Route caching<\/li>\n<\/ul>\n<h3>25. GitLab and Version Control<\/h3>\n<ul>\n<li>Git basics (for beginners)<\/li>\n<li>GitLab workflow: Clone, commit, push<\/li>\n<li>Branching strategy<\/li>\n<li>Managing Laravel project in GitLab<\/li>\n<\/ul>\n<h3>26. Deployment Workflow<\/h3>\n<ul>\n<li>Local to Server deployment<\/li>\n<li>Environment differences<\/li>\n<li>Build steps: composer install npm build and config cache<\/li>\n<\/ul>\n<h3>27. Production Setup<\/h3>\n<ul>\n<li>.env for production<\/li>\n<li>Security best practices<\/li>\n<li>File permissions<\/li>\n<\/ul>\n<h3>28. Troubleshooting (Real-World)<\/h3>\n<ul>\n<li>Why it works locally but fails in server<\/li>\n<li>Case sensitivity<\/li>\n<li>Environment configs<\/li>\n<li>Missing extensions<\/li>\n<li>Cache issues<\/li>\n<li>Debugging strategies<\/li>\n<\/ul>\n<h3>29. Integrate with Other Frameworks<\/h3>\n<ul>\n<li>Monolithic vs Microservices<\/li>\n<li>Laravel as API provider \/ consumer<\/li>\n<li>Django = AI\/ML service and Laravel = Business API<\/li>\n<li>API-to-API Communication<\/li>\n<li>Consuming Django APIs in Laravel<\/li>\n<li>Authentication Between Systems<\/li>\n<\/ul>\n<h3>30. Hands-On Project<\/h3>\n<ul>\n<li>Build CRUD system<\/li>\n<li>Connect to MariaDB<\/li>\n<li>Create APIs<\/li>\n<li>Integrate with Postman (simulate mobile)<\/li>\n<li>Push to GitLab<\/li>\n<li>Deploy to server<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This 5-day accelerated Laravel 12 program is designed for PHP developers who want to move from basic website development into modern application development using Laravel. The course begins with a focused PHP bridge covering the language features commonly used in Laravel, then progresses into routing, controllers, Blade, database integration, APIs, security, deployment, integration, and production practices. With practical demonstrations and guided implementation throughout the program, participants gain broad working knowledge of Laravel 12 and understand how it is used to build structured web applications, APIs, and business systems in real-world environments.<\/p>\n","protected":false},"featured_media":0,"template":"","class_list":["post-23","program","type-program","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/jegan.my\/index.php?rest_route=\/wp\/v2\/program\/23","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jegan.my\/index.php?rest_route=\/wp\/v2\/program"}],"about":[{"href":"https:\/\/jegan.my\/index.php?rest_route=\/wp\/v2\/types\/program"}],"wp:attachment":[{"href":"https:\/\/jegan.my\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}