Updated Laravel to 8.3
Make Database Factory macroable
Php artisan command list
command php artisan list 1. make:controller (creates a new controller file) php artisan make:controller UserController 2. make:model (Create a new Eloquent model class) php artisan make:model Photo 3. make:migration (Create a new migration file) php artisan make:migration create_projects_table 4. make:seeder (Create a new database seeder class) php artisan make:seeder BooksTableSeeder […]
Add, Update, Delete and Read JSON Data/File in PHP
Read JSON File in PHP: <?php // load file $data = file_get_contents('results.json'); // decode json to associative array $json_arr = json_decode($data, true); foreach ($json_arr as $key => $value) { echo $json_arr[$key] . " - " . $json_arr[$value] . "<br/>"; } ?> Add to JSON File in PHP: <?php // read […]
Javascript Projects [Javascript Examples]
Why JavaScript Projects? JS is the heart of any web application. Good knowledge of JavaScript can get you a range of challenging and interesting career options like developing mobile and desktop apps, building dynamic websites from scratch, UI/UX designer, or even a full stack developer.If you know the basics of […]
What Makes Up a PHP Project?
What Makes Up a PHP Project? 1. PHP Development Environment/Language Release 2. Development Tools; Editors, IDEs, and Frameworks PHP Code Editors/Text Editors Atom Brackets Komodo Edit Notepad++ Sublime Text 3 Visual Studio Code PHP IDEs Eclipse Komodo NetBeans PhpStorm Rapid PHP editor Zend Studio 3. Web Server 4. Database Management […]
Benefits of Choosing Laravel Framework for Your Next Project
“Love beautiful code? We do too.” Laravel framework has taken PhP to new heights. This framework is a newbie to the IT industry, which can be quite daunting, but at the same time it has been fortunate enough in attracting a lot of users. In the more technical terms: Laravel, […]
How to Create a Testimonials Plugin
The Basics As we’ve said before, you’ll need to add the header metadata, create the plugin file and call your scripts. Long story short, you’ll create a new folder under your wp-content/plugins with your plugin’s name, then create a file with the same name as the folder to be your main […]
HTML to WordPress
When I first decided to convert a static HTML design to WordPress I did some searching for a tutorial to help me get started with the basics. Surprisingly, I didn’t find anything that was very complete or easy to follow. So, I decided to write a very basic tutorial on […]
How to make a Laravel app multi-tenant in minutes
It’s a multi-tenancy package that lets you turn any Laravel application multi-tenant without having to rewrite the code. It’s as plug-and-play as tenancy packages get. Side note: In this tutorial, we’ll go over the most common setup — multi-database tenancy on multiple domains. If you need a different setup, it’s 100% […]
3 Effective Features to Develop Ride Sharing App With a Successful Ride Sharing Management Software
In the commuting world of taxi app solutions like Uber, Lyft, Didi, what could possibly go wrong? Where will the sharing economy get its ground? Why would anyone opt for carpool service leaving the on demand taxi services? The answer to all these questions is urbanization trends. Dive into these […]