patrosmania

patrosmania

Member Since 3 Years Ago

Experience Points
50,350
Total
Experience

4,650 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
502
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

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

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

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

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    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 Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

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

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

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

Level 11
50,350 XP
14 Jun
3 months ago

patrosmania left a reply on I Want To Create Two Types User Panel For Two Types User.

@towhid I think the package I just shared can give you ideas of how to implement it on your own. It's a very simple package.

26 Apr
4 months ago

patrosmania left a reply on I Want To Create Two Types User Panel For Two Types User.

I would go for:

  1. Keep the Authentication framework and architecture provided by Laravel.
  2. Add roles for each user type. This library gives a good foundation for it: https://github.com/spatie/laravel-permission
21 Feb
2 years ago

patrosmania left a reply on Issues While Creating A New App In Spark

I did try with Laravel and adding Spark to composer. This is what I get:

[RuntimeException]
  Failed to execute git clone --no-checkout 'https://***:***@github.com/laravel/spark.git' '/Users/felipepenariveros/Desktop/larav
  el-master/vendor/laravel/spark' && cd '/Users/felipepenariveros/Desktop/laravel-master/vendor/laravel/spark' && git remote add c
  omposer 'https://***:***@github.com/laravel/spark.git' && git fetch composer
  Cloning into '/Users/felipepenariveros/Desktop/laravel-master/vendor/laravel/spark'...
  remote: Repository not found.
  fatal: repository 'https://***:***@github.com/laravel/spark.git/' not found

patrosmania left a reply on Issues While Creating A New App In Spark

yes, I did. Although, this seems to be related to the spark installer. I've followed every step in the office documentation and still can't get this to work properly.

20 Feb
2 years ago

patrosmania left a reply on Issues While Creating A New App In Spark

yes, I did that.

I have the follow dependencies in the vendor folder.

-rw-r--r--   1 felipepenariveros  admin  178 Feb 20 09:17 autoload.php
drwxr-xr-x  11 felipepenariveros  admin  374 Feb 18 17:09 composer
drwxr-xr-x   3 felipepenariveros  admin  102 Feb 18 17:09 doctrine
drwxr-xr-x   5 felipepenariveros  admin  170 Feb 18 17:09 guzzlehttp
drwxr-xr-x   5 felipepenariveros  admin  170 Feb 18 17:09 illuminate
drwxr-xr-x   3 felipepenariveros  admin  102 Feb 18 17:09 paragonie
drwxr-xr-x   4 felipepenariveros  admin  136 Feb 18 17:09 psr
drwxr-xr-x   7 felipepenariveros  admin  238 Feb 18 17:09 symfony
18 Feb
2 years ago

patrosmania started a new conversation Issues While Creating A New App In Spark

I'm trying to install a new using Spark, but this is what I get when I go with spark new eth

How can I solve this?

Warning: file_put_contents(/Users/felipepenariveros/Desktop/eth/spark-archive.zip): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/DownloadSpark.php on line 60

Warning: ZipArchive::extractTo(): Invalid or uninitialized Zip object in /usr/local/bin/spark-installer/src/Installation/DownloadSpark.php on line 105

Warning: ZipArchive::close(): Invalid or uninitialized Zip object in /usr/local/bin/spark-installer/src/Installation/DownloadSpark.php on line 107

Warning: file_get_contents(/Users/felipepenariveros/Desktop/eth/composer.json): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/UpdateComposerFile.php on line 55
sh: composer: command not found

Warning: file_get_contents(/Users/felipepenariveros/Desktop/eth/config/app.php): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/AddCoreProviderToConfiguration.php on line 31

Warning: file_put_contents(/Users/felipepenariveros/Desktop/eth/config/app.php): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/AddCoreProviderToConfiguration.php on line 39
Could not open input file: artisan

Warning: file_get_contents(/Users/felipepenariveros/Desktop/eth/config/app.php): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/AddAppProviderToConfiguration.php on line 31

Warning: file_put_contents(/Users/felipepenariveros/Desktop/eth/config/app.php): failed to open stream: No such file or directory in /usr/local/bin/spark-installer/src/Installation/AddAppProviderToConfiguration.php on line 45
04 Dec
2 years ago

patrosmania started a new conversation Unit Test Fails When Running And External Library Was Added

Hello,

I'm building an API using Laravel 5.

I have a POST call which calls an external library added to the project. The external library is within a folder called Libraries inside the app folder.

The libraries folder is also added to the "autoload" and "classmate" keys inside the composer.json file.

The call works great but when running inside a PHPUnit test, it fails (Internal Error: 500).

The test fails right when calling the external library method.

What I'm doing wrong or forgot to setup?