pro_raheel

pro_raheel

Member Since 1 Year Ago

Experience Points 560
Experience Level 1

4,440 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 2
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

31 Jan
3 months ago

pro_raheel left a reply on Lock Screen Implement In Laravel 5.7

What is best way to achieve lock screen through middleware for all routes or whole application. ?

pro_raheel started a new conversation Lock Screen Implement In Laravel 5.7

How to implement lock screen in laravel. When user is unlock for certain time then he can enter the password and login to again. I have tried this https://medium.com/@dennissmink/laravel-create-auth-lock-screen-11d6014fb8a1 but failed. because it's routes redirect many times, can you help me best way to implement this. or any package for this, Thanks

25 Jan
4 months ago

pro_raheel started a new conversation Laravel-apidoc-generator Call To A Member Function Prepare() On Null Laravel Mongodb Db Transaction Laravel 5.7

I am using jenssegers/laravel-mongodb with laravel 5.7 and want to generate API documentation using laravel-api-doc package https://github.com/mpociot/laravel-apidoc-generator but found the error Transaction database.


Symfony\Component\Debug\Exception\FatalThrowableError  : Call to a member function beginTransaction() on nul
 protected function createTransaction()
    106|     {
    107|         if ($this->transactions == 0) {
    108|             try {
  > 109|                 $this->getPdo()->beginTransaction();
    110|             } catch (Exception $e) {
    111|                 $this->handleBeginTransactionException($e);
    112|             }
    113|         } elseif ($this->transactions >= 1 && $this->queryGrammar->supportsSavepoints()) {

  Exception trace:

  1   Illuminate\Database\Connection::createTransaction()

please help m.

Thanks

09 Jan
4 months ago

pro_raheel left a reply on Laravel Encryption And Decryption Without APP Key

@SNAPEY - Thanks I need no more wondering around without key for encryption.

pro_raheel left a reply on Laravel Encryption And Decryption Without APP Key

@S4MUEL - Yes But base64_encode easily decode we need a strong encoding that do not easily decode do you have script for this.?

pro_raheel left a reply on Laravel Encryption And Decryption Without APP Key

@S4MUEL - ``` public function getAttribute($key) { $value = parent::getAttribute($key); if (in_array($key, $this->encryptable) && $value !== '') { $value = decrypt($value); } return $value; } /** * If the attribute is in the encryptable array * then encrypt it. * * @param $key * @param $value */ public function setAttribute($key, $value) { if (in_array($key, $this->encryptable)) { $value = encrypt($value); } return parent::setAttribute($key, $value); }

pro_raheel left a reply on Laravel Encryption And Decryption Without APP Key

@S4MUEL - I have made the Traits and override the setAttribute and getAttribute methods in Model, where i used the laravel helper function encrypt and decrypt arrtibutes. Can we customize it and add own base_64 functions

pro_raheel left a reply on Laravel Encryption And Decryption Without APP Key

@S4MUEL - Because Encryption and decryption fields should not depend on APP KEY, is any other method where we can write the encryption and decryption field that make secure data in database.?

pro_raheel left a reply on Laravel Encryption And Decryption Without APP Key

@S4MUEL - Is any other way or algorithm where can we use the encrypt and decrypt field without APP key.?

pro_raheel started a new conversation Laravel Encryption And Decryption Without APP Key

In laravel Encryption and Dcryption method used AES 256 standard to encrypt and decrypt data on APP key base. But Problem is that if huge amount of data encrypted in database, then we loss the APP key. we can't decrypt the previous data with new APP key. My question that is any solution for that encrypt and decrypt data without APP key

08 Oct
1 year ago

pro_raheel left a reply on How To Add Dropdown Page Selection In LengthAwarePaginator Using Laravel

@jlrdw Please see attached link http://prntscr.com/gut3r5

Here my view page @if(isset($records))

                                            @endif</span>
                                <select class="page_limit pgination-select" onchange="page_limit(this)">
                                     <option value="10" @if($records == 10) selected @endif>20</option>
                                            <option value="20" @if($records == 20) selected @endif>30</option>
                                            <option value="30" @if($records == 30) selected @endif>50</option>
                                </select>

pro_raheel left a reply on How To Add Dropdown Page Selection In LengthAwarePaginator Using Laravel

@jlrdw please guide in this code what am i missing in pagination method drop down selection

pro_raheel started a new conversation How To Add Dropdown Page Selection In LengthAwarePaginator Using Laravel

I am using script for Laravel pagination. I want to add per page dropdown selection in LengthAwarePaginator so that i can list of all entries according to page selection in my script. My script:

public function index(Request $request){

$data = [];
$page_limit = 10;
$keyword = request('keyword','');
$applicationData = $this->ppObjAdmin->getBackOfficeApplications(['keyword' =>$keyword]);
$paginate =10;
$pageStart = request('page', 1);
$offSet    = ($pageStart * $paginate) - $paginate;
$itemsForCurrentPage = array_slice($applicationData,$offSet, $paginate);
$journeyListData = new LengthAwarePaginator($itemsForCurrentPage , count($applicationData) , $paginate , Paginator::resolveCurrentPage() , ['path' => Paginator::resolveCurrentPath()]);
$data['journeyData'] = $journeyListData;
$data['searchKeyword'] = $keyword;

return view('admin.listing',$data);

} Dropdown html:

10 Entries per page 20 Entries per page 30 Entries per page 50 Entries per page

Please help in this script for dropdown selection.

Thanks in Advance!

30 Jun
1 year ago

pro_raheel started a new conversation How To Integrate Automation Tool TestCafe With Laravel.

I have recorded the browser tests using automation tool testcafe. i want to run these tests in my laravel project.I have json file and js files.

Please help me.

Thanks in Advance!