Category Archives: Eloquent

Laravel: Observer

Assalamualaikum & Hi, Eloquent models fire several events, allowing you to hook into the following points in a model’s lifecycle: retrieved, creating, created, updating, updated, saving, saved, deleting, deleted, restoring, restored. Events allow you to easily execute code each time a specific model class is saved or updated in the database. Based on events above,… Read More »

Training: Laravel – Batch 4

Registration Open Now! Please register at Laravel – Batch 4 Course Details Date: 16th & 17th April 2016 Location: http://bit.ly/cc-training-location Fee: RM 300 Syllabus Details Setup The Basic – Routing – Controllers – Views – Blade Templates Database – Migrations – Seeding Eloquent ORM – CRUD – Relationship Packages – User Management – Access Control… Read More »

Web Services: Slim Framework + Eloquent(Laravel)

Setting up the Restful API is easy with Slim Framework & Eloquent(Laravel). Here are the steps: Install required components via composer – Slim Framework + Eloquent(Laravel) Create a database called web_services and create users table. Setting up Eloquent Setting up Routes Final Touch Install the necessary components using composer – create a composer.json and save… Read More »