florent6001

florent6001

Développeur Web Freelance at France

Member Since 1 Year Ago

Experience Points
3,370
Total
Experience

1,630 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
24
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 1
3,370 XP
Oct
18
1 month ago
Activity icon

Started a new Conversation Laravel Vapor = Server Include ?

Hi all,

I have a simple question. I want to take a Vapor subscription, do i need to rent my server or a server et free with my vapor subscription ?

Thank you.

Aug
08
3 months ago
Activity icon

Replied to What Is The Difference Between Subscription And Free Plan ?

Yes but i want a list of video i don't have access. For choose if i subscribe or no

Activity icon

Replied to What Is The Difference Between Subscription And Free Plan ?

Oh. And i can see thé list of thé vidéo ?

Activity icon

Started a new Conversation What Is The Difference Between Subscription And Free Plan ?

Hi, someone can tell me the difference between subscription and free plan ?

i'm on free plan and i can watch video as well and create post on forum. I can do all i want for moment.

Why become premium so?

Activity icon

Replied to Google Place API And Laravel

Here is a screenshot :

https://i.stack.imgur.com/n1eui.png

I have the same error even it's i wrap my code in the content block

Activity icon

Replied to Google Place API And Laravel

Yes im sure i tryied with an other api and same problem...

Aug
07
3 months ago
Activity icon

Started a new Conversation Google Place API And Laravel

I have a problem with the Google Places API, i think the script is loading too fast or i don't know. When i load the page the script is doesn't work (no error in console) and when i copy paste the script in the console developer it's work great.

I tried to wrap my script into this for make sure the page is loading :

<script>
(function() {
 // My script
})();
</script>

But it's not working too. Here is my complete code :


@section('content')
                    <form method="POST" action="{{ route('register') }}">
                        @csrf
                        <div class="form-group row">
                            <label for="city" class="col-md-4 col-form-label text-md-right">Ville de résidence</label>

                            <div class="col-md-6">
                                <input id="city" type="text" class="form-control @error('city') is-invalid @enderror" name="city" value="{{ old('city') }}" required autocomplete="off">

                                @error('city')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                @enderror
                            </div>
                        </div>
</form>
@endsection

@section('javascript')
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=MY_APIç_REMOVED_FOR_LARACAST&libraries=places"></script>

<script>
    var input = document.getElementById('city');
    var autocomplete = new google.maps.places.Autocomplete(input,{types: ['(cities)']});
    google.maps.event.addListener(autocomplete, 'place_changed', function(){
         var place = autocomplete.getPlace();
      })
</script>

@endsection

I just want to make work the autocomplete.

Thank you.

Aug
05
3 months ago
Activity icon

Replied to Where Are You All From?

Salut le français !

Aug
01
3 months ago
Jul
31
3 months ago
Activity icon

Replied to Command (StoreAs) Is Not Available For Driver (Gd). On Image Upload With Intervention

Ok changing the save fonction finally work :

public function store(Request $request)
{
    // Génération du slug et sauvegarde de l'original
    $slug = Str::slug($request->title);
    $request->file('image')->storeAs('images/achievements/', $slug . '.' . $request->image->extension());

    $thumbnail = InterventionImage::make($request->image)->fit(273, 270);
    $thumbnail->save('images/achievements/'. $slug . '-thumbnail.' . $request->image->extension());
}
Activity icon

Replied to Command (StoreAs) Is Not Available For Driver (Gd). On Image Upload With Intervention

So here is my code now whith your suggestion :

public function store(Request $request)
{
    // Génération du slug et sauvegarde de l'original
    $slug = Str::slug($request->title);
    $request->file('image')->storeAs('images/achievements/', $slug . '.' . $request->image->extension());

    $thumbnail = InterventionImage::make($request->image)->fit(273, 270)->encode();
    $thumbnail->save()->storeAs('images/achievements/', $slug . '-thumbnail.' . $request->image->extension());
    // $thumbnail->save('images/achievements/', $slug . '-thumbnail.' . $request->image->extension());
}

And the error :

Encoding format (tmp) is not supported.

Activity icon

Replied to Command (StoreAs) Is Not Available For Driver (Gd). On Image Upload With Intervention

@indpurvesh Thank you,

I now have this error :

Can't write image data to path (images/achievements/)

Activity icon

Started a new Conversation Command (StoreAs) Is Not Available For Driver (Gd). On Image Upload With Intervention

Hi all,

I have this error when i try to generate a thumbnail :

Command (StoreAs) is not available for driver (Gd).

Here is my function :

public function store(Request $request)
{
    // Generate a slug and store the original file
    $slug = Str::slug($request->title);
    $request->file('image')->storeAs('images/achievements/', $slug . '.' . $request->image->extension());

// Generate and store the thumbnail
    $thumbnail = InterventionImage::make($request->image)->fit(273, 270)->encode();
    $thumbnail->storeAs('images/achievements/', $slug . '-thumbnail.' . $request->image->extension()); // This one is the error
}
Jul
30
3 months ago
Activity icon

Replied to Which Cloud Ide Do You Use ?

Thank you !

CodeTasty have a desktop application as i can see here : https://codetasty.com/

I think it's more fast so.

I will take a look tonight.

Thank's

Activity icon

Started a new Conversation Which Cloud Ide Do You Use ?

Hi all,

I use https://codeanywhere.com/ for work on my website everywhere, in any computer.

Do you know a cloud ide like this with better auto completion ? Cause not really well. Maybe a codeanywhere alternative with an ide like vscode ?

I need a Free to use. With FTP / SFTP Connection and ssh.

Thank you

Jul
29
3 months ago
Activity icon

Replied to Empty Varible On Edit Function

Work's well with Achievement_Category, thank you !

Jul
28
3 months ago
Activity icon

Replied to Empty Varible On Edit Function

Route::resource('/achievements-categories', 'AchievementCategoryController');

Here is my route

Activity icon

Replied to Empty Varible On Edit Function

The create work well

Activity icon

Started a new Conversation Empty Varible On Edit Function

Hi,

I don't know why my edit function return an empty variable.

Herei is my view and my controller :

https://pastebin.com/eJ9A1ZuU

Activity icon

Replied to Add Flash Message On Login And Logout

Error 419 - Page expired

Jul
27
3 months ago
Activity icon

Replied to Add Flash Message On Login And Logout

Argument 1 passed to App\Http\Controllers\Auth\LoginController::authenticated() must be an instance of App\Http\Controllers\Auth\Request, instance of Illuminate\Http\Request given, called in C:\laragon\www\laravel\vendor\laravel\framework\src\Illuminate\Foundation\Auth\AuthenticatesUsers.php on line 109

Activity icon

Replied to Add Flash Message On Login And Logout

I can't use like this

return with('success', 'my message') ?

Activity icon

Started a new Conversation Add Flash Message On Login And Logout

Hi all,

How can i override the LoginController for add flashmessage on login and logout ?

Thank you.

Jul
26
3 months ago
Activity icon

Replied to Laravel Socialite Issue

Can you share your code please ?

Route and controller for linkedin auth ?

Jul
25
3 months ago
Activity icon

Replied to Do You Use Package For Your Admin Panel Or You Create It ?

For which kind of project use nova ?

I'm building a personal blog, and i don't want to splend 100$ for my personal website

Activity icon

Started a new Conversation Do You Use Package For Your Admin Panel Or You Create It ?

Hi all,

As you know, we can generate controller with ---resource flag for generate the basic crud. So i have this question. When you create an application (for you, or for someone). Do you generate the back-end with a package like Laravel Voyager or Laravel Nova. Or you create your admin back-end ?

For moment, i don't know what to do. I don't like voyager cause it's not generating migration, and you don't have a real control in your file. And i don't like Nova cause it's paid :p

What do other developers ?

Jul
24
3 months ago
Activity icon

Started a new Conversation Laravel + VueJS (SEO And PageSpeed Insight)

Hi all,

I'm use laravel everyday since somes week but i didn't started to use VueJS. I want to use vueJS for my personal website.

I have some question.

If i use component in VueJS, google pagespeed is like a classic HTML website ? If i use the same tag in my component than i had in my HTML Wabsite, the seo will be the same ?

I only want to know if my Google PageSpeed will be bad, same for SEO.

Thank you

Activity icon

Replied to Database Query For Footer, What Is The Best Way To Do It?

https://www.youtube.com/watch?v=n3mKQ0o1Xr4 I just watched this laracast video about View Composer. It's perfectly what i need. Thank's a lot !

Activity icon

Replied to Database Query For Footer, What Is The Best Way To Do It?

In the "Sharing Data With All Views", i can have a logic like a controller ?

Database Query, return what i want, .. ?

Activity icon

Started a new Conversation Database Query For Footer, What Is The Best Way To Do It?

Hi all,

I have a query to do for my footer content. It's for all pages on the website (except /admin pages). For you, what is the best way to do this ?

  • Create a helper
  • Do it in the layout with Ajax
  • Do the query in every controller method (i don't think it's the best method...)
  • Other

Thank you all.

Jul
16
4 months ago
Activity icon

Replied to @if(Cookie::has('cookie_name') Return False Even If Cookie Exist

I finally found a solution.

Laravel didn't detect my cookie cause it was created in javascript. So i have to use pure PHP to detect the cookie like this

@php if(isset($_COOKIE['cookie_name'])) { echo 'cookie exist'; } @endphp

I didn't found another solution.

Thank you

Activity icon

Replied to @if(Cookie::has('cookie_name') Return False Even If Cookie Exist

I have try with Request::hasCookie too. I doesn't work too.

Activity icon

Started a new Conversation @if(Cookie::has('cookie_name') Return False Even If Cookie Exist

Hi all,

I have this code :

@if(Cookie::has('accept_cookie'))
    Cookie exist
@else
    Cookie doesn't  exist
@endif

It always show Cookie doesn't exist, even if the cookie exist. What is wrong with this please ? My controller only show the view, doesn't pass parameters to the view :

public function index()
{
    return view('pages/homepage');
}

Thank's for your help