Emeric profile
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
- 
                                    Registered for 1 year!Earned when you have been registered on Xetaravel for 1 year. You have unlocked this badge the 2021-03-20 14:10:46 
- 
                                    Young teenager !Earned when you have been registered on Xetaravel for 2 years. You have unlocked this badge the 2022-03-20 14:10:46 
- 
                                    You are getting old!Earned when you have been registered on Xetaravel for 3 years. You have unlocked this badge the 2023-03-20 14:10:46 
- 
                                    3rd age club!Earned when you have been registered on Xetaravel for 5 years. You have unlocked this badge the 2025-03-20 14:10:46 
- 
                                    This is the retirement home!Earned when you have been registered on Xetaravel for 7 years. 
- 
                                    Welcome in the community !Obtained after your first message on the Xetaravel discuss. 
- 
                                    Talkative!Obtained once you have posted 10 replies to the discuss. 
- 
                                    A real chatterbox !Obtained once you have posted 50 replies to the discuss. 
- 
                                    You don't stop yelling!Obtained once you have posted 100 replies to the discuss. 
- 
                                    A real spammer!Obtained once you have posted 500 replies to the discuss. 
- 
                                    Time to change your keyboard!Obtained once you have posted 1000 replies to the discuss. 
- 
                                    You helped a member!Obtained once you receive your first « Resolved Response » on the Xetaravel discuss. 
- 
                                    You are really smart!Obtained once you have received 10 or more « Resolved Response » on the discuss. 
- 
                                    A real tutor!Obtained once you have received 20 or more « Resolved Response » on the discuss. 
- 
                                    An encyclopedia !Obtained once you have received 50 or more « Resolved Response » on the discuss. 
- 
                                    The first hundred!Obtained once you have earned your first 100 experience points. You have unlocked this badge the 2025-05-01 21:22:46 
- 
                                    The first thousand!Obtained once you have earned your first 1000 experience points. 
- 
                                    A real soldier!Obtained once you have earned your first 10000 experience points. 
- 
                                    A Xetaravel veteran!Obtained once you have earned your first 100000 experience points. 
- 
                                    The million!Obtained once your experience points exceed one million. 
- 
                                    It shines !Obtained once you have earned your first 50 rubies. 
- 
                                    As if it rained !Obtained once your rubies reach 100. 
- 
                                    A real miner!Obtained once your rubies reach 500. 
- 
                                    A real jeweller!Obtained once your rubies reach 1000. 
Level
Activity
Created conversation Xetaravel V5.0.2
New Release 
What's Changed
- Optimize Meta tags for Blog post and Discussion post XetaIO/Xetaravel#96
- Add a sitemap generator and add it to the robots.txt automatically XetaIO/Xetaravel#98
Full Changelog: 5.0.1...5.0.2
Created article PHP 8.5 What's news in this version ?
PHP 8.5 is scheduled for release in November 2025. It comes with several helpful new features and improvements, focusing on a better developer experience, new utility functions, and enhanced debugging capabilities.
 What is news ?
 What is news ?
1) The pipe operator |>:
This new operator enables chaining of callables left-to-right by passing the result of the left expression as the argument to the right:
$result = "Hello World" |> strlen(...) 
  
// Equivalent to 
$result = strlen("Hello World");
$result = 'Hello World'
    |> strtoupper(...)
    |> str_shuffle(...)
    |> trim(...);
// Equivalent to: trim(str_shuffle(strtoup...
Created conversation Xetaravel v5.0.1
New Release 
What's Changed
- Add Badge Management in admin XetaIO/Xetaravel#96
- Add a share block on blog post with facebook, twitter & linkedin XetaIO/Xetaravel@9199f68
- Fixed various design bugs XetaIO/Xetaravel@c39cd25
Full Changelog: 5.0.0...5.0.1
Created article Using #[On] in Livewire to Trigger Actions from a Button
 What is
 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.
 Basic Example: Button Triggering a Method
 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 
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 
What's Changed
- Update composer to fix a bug for fresh install XetaIO/Xetaravel@4cec096
Full Changelog: 4.0.0...4.0.1
Created conversation Xetaravel v4.0.0
New Release 
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 
What's Changed
- Add Media on Articles in Blog XetaIO/Xetaravel#70
- Reworked Footer & Header XetaIO/Xetaravel#73
- Reworked the Comments UI and added the possibility to delete a Comment in Blog XetaIO/Xetaravel@9a584d7
- Reworked the Author bloc in Blog to follow the same design as Comments XetaIO/Xetaravel@06e9f79
- Added the Newsletter system, Refactored the ViewComposer to use the latest architecture from Laravel https://github.com/XetaIO/Xetarav...
Created conversation Xetaravel v3.1.1
New Release 
What's Changed
- Added GitHub link parser to Markdown XetaIO/Xetaravel#78
- Reworked homepage XetaIO/Xetaravel#79
- Added a page AboutMe XetaIO/Xetaravel#80
- Removed all TS scripts XetaIO/Xetaravel#85
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...
