Entries by Satrio Dwi Prabowo

Laravel Call to undefined function str_slug() – Solved

composer require laravel/helpers Route::get(‘/’, function () { $newSlug = str_slug(‘I am from ItSolutionStuff.com’); dd($newSlug); }); You can use Helpers like this way: Arr::add Arr::collapse Arr::divide Arr::dot Arr::except Arr::first Arr::flatten Arr::forget Arr::get Arr::has Arr::last Arr::only Arr::pluck Arr::prepend Arr::pull Arr::random Arr::set Arr::sort Arr::sortRecursive Arr::where Arr::wrap Str::after Str::before Str::camel Str::contains Str::containsAll Str::endsWith Str::finish Str::is Str::kebab Str::limit Str::orderedUuid Str::plural […]

How to implement DataTables server-side in laravel

Initializing Yajra laravel-datatables plugin We need to install yajra package using composer. Run the following the command to install it, composer require yajra/laravel-datatables-oracle:~6.0 or else add the following code to composer.json file and run composer install “require”: { …. …. “yajra/laravel-datatables-oracle”: “~6.0” } and add DataTables to providers list /config/app.php ‘providers’ => [ ….. ….. Yajra\Datatables\DatatablesServiceProvider::class, […]

Membuat Helper Di Laravel

ali ini kita akan membahas bagaimana cara Membuat ‘Helper’ Pada Laravel baiklah lets go !   Buat file pada App/Helpers/helpers.php Lalu ketikan kode berikut : Menambahkan file helper pada composer.json “autoload”: { “classmap”: [ … ], “psr-4”: { “App\”: “app/” }, “files”: [ “app/Helpers/helpers.php” ] } Lalu jalankan command composer autoload composer dump-autoload Baiklah sampai […]

Mengubah Routing Laravel 8 Seperti Laravel 7

Kali ini kita akan membahas bagaimana cara Mengubah Routing Laravel 8 Seperti Laravel 7. Perubahan penulisan route disebabkan karena namespace pada route defaultnya null. Nah, sekarang kita tidak mau dengan penulisan route terbaru, karena ngga enak aja, gimana cara merubahnya, kita bisa buka Providers/RouteServiceProvider, lalu ubah :   protected $namespace = null; Menjadi : protected […]

Announcing Ionic 5!

Today, I’m thrilled to Announcing Ionic Framework 5 (Magnesium)! 🎉 This release includes iOS 13 design updates, a brand new API for creating your own custom animations, revamped Ionicons, updated Ionic colors, new starter designs, improvements to component customization, and more! All of these changes are made in the core of Ionic Framework, which also applies to […]

What is Ionic ?

Ionic is an open source, front-end SDK for developing Hybrid Mobile Applications using web technologies such as HTML, CSS and JavaScript. It provides mobile optimised web technology based components as well as native APIs using Cordova and Ionic Native. Ionic with it’s latest version, is performance efficient using minimal DOM manipulation. Angular also plays a […]

Announcement About Attack & Malware

e just received a report that our site was exposed to malware which made it possible to show ads or switch the browser to a popup and it turned out to be true! This malware only works on smartphone user agents such as Android, iOS if you open the XSSDP.NET site on your mobile, it […]