Emeric profile

Emeric Fevre avatar
Emeric
Developer
Joined
20-03-2020
540

Total Experiences

0

Total Rubies

6

Total Discuss Messages

Biography

  • 36 years and learning the development since 15+ years in autodidact.
  • 🌱 Full-stack Web Developer specialized in PHP. Work with Laravel, Livewire & TailwindCSS.
  • 👯 I have also worked/work with JavaScript, TypeScript, SASS, VueJS, WebPack, ViteJS Redis...
  • ⚡My personnal website : https://github.com/XetaIO/Xetaravel

Badges

Level

LEVEL 1
LEVEL 2

Activity

Created conversation Xetaravel v5.0.1

New Release rocket

What's Changed

Full Changelog: 5.0.0...5.0.1

Created article Using #[On] in Livewire to Trigger Actions from a Button

question What is #[On]?

The #[On] attribute allows you to bind a custom Livewire event to a component method.

It replaces the older protected $listeners approach, making your code more declarative and readable.

book Basic Example: Button Triggering a Method

Display an alert when clicking a button. 1) The Livewire Component :

use Livewire\Attributes\On;
use Livewire\Component;

class AlertComponent extends Component
{
    #[On('show-alert')]
    public function showAlert()
    {
        session()->flash('message', 'Button clicked successfully!');
    }

    public function render()
    {
        return view('livewi...

Created conversation Xetaravel v5.0.0

New Release rocket

What's Changed

  • Migrate to Laravel 12 XetaIO/Xetaravel#95 :
    • Laravel 9 -> 12
    • TailwindCSS 3 -> 4
    • DaisyUI 2 -> 5
    • Livewire 2 -> 3

Full Changelog: 4.0.1...5.0.0

Created conversation Xetaravel v4.0.1

New Release rocket

What's Changed

Full Changelog: 4.0.0...4.0.1

Created conversation Xetaravel v4.0.0

New Release rocket

What's Changed

  • Rewrited the entire front-end to use Tailwind instead of Bootstrap, and added @Livewire in Discuss/Admin Panel XetaIO/Xetaravel#93

Full Changelog: 3.1.1...4.0.0

Created conversation Xetaravel v3.1.0

New Release rocket

What's Changed

Created conversation Xetaravel v3.1.1

New Release rocket

What's Changed

Full Changelog: 3.1.0...3.1.1

Created article Laravel - Ressource CRUD

Introduction

The term CRUD is related to the management of digital data. It summarizes the operations or functions that a user needs to create and manage data.

The acronym CRUD stands for the four basic operations for interacting with database applications:

  • Create : Create a data.
  • Read : Read a data.
  • Update : Update a data.
  • Delete : Delete a data.

CRUD, SQL and HTTP

Each component of the CRUD acronym can be associated with a type of query in SQL as well as an HTTP1,2 method :

Operation SQL HTTP
Create INSERT POS...

Created article Laravel - Apply Global Scopes only on certain routes with Middleware

Laravel include a Query Scopes system. It allow you to add to one or all (depend the type of scope you use) queries a scope with constraints. Query Scopes has 2 types of Scopes :

  • Global Scopes : It allow you to add constraints to all queries for a given model.
  • Local Scopes : It allow you to define common sets of query constraints that you may easily re-use throughout your application.

In this...