Follow the steps below to seed a database with sample data: Make factory associated with a table: php artisan make:factory
Category: PHP
Useful Laravel Tutorials
Laravel API Tutorial: How to Build and Test a RESTful API Sample code: Laravel 5.8 from scratch click here
Laravel and Netbeans
Use Netbeans with a Laravel project on Windows Install Laravel follow instructions here or if you already have composer installed
Good REST Tutorials
Step by Step Guide Creating a REST API in PHP Rest Resouce Naming Guide
Laravel Add An Unique Index To A Table
Execute the following command to create a migration file under the database directory in a Lavarel project: php artisan make:migration
Twilio API Calls
An example of translating definition from Twilio API Explorer to an actual call in the code: Click here to see
Okta Event Hooks
What are the Okta Event Hooks: Event Hooks are Okta’s implementation of the industry concept of webhooks Event Hooks are
Laravel Query Builder
A good article on DB::RAW Some general examples Racing condition: Breaking Laravel’s firstOrCreate using race conditions To solve this problem
Laravel Cronjobs
Reference: https://laravel.com/docs/5.8/scheduling#introduction Laravel task schedule is defined in the app/Console/Kernel.php file’s schedule method. Create a new Laravel project laravel new (project name)
Laravel Artisan Commands
Install and create a laravel project laravel new (project name) or composer create-project –prefer-dist laravel/laravel (project name) Install ui authentication