File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 11<!-- markdownlint-disable no-inline-html -->
22<p align =" center " >
33 <br ><br >
4- <img src =" https://leafphp.netlify.app/assets/img/leaf3- logo.png " height =" 100 " />
4+ <img src =" https://leafphp.dev/ logo-circle .png " height =" 100 " />
55 <h1 align =" center " >Leaf Session Module</h1 >
66 <br ><br >
77</p >
@@ -16,12 +16,23 @@ Leaf's core session functionality packaged as a serve-yourself module.
1616
1717## Installation
1818
19- You can easily install Leaf using [ Composer] ( https://getcomposer.org/ ) .
19+ You can easily install Leaf using the [ Leaf CLI] ( https://cli.leafphp.dev ) :
20+
21+ ``` bash
22+ leaf install session
23+ ```
24+
25+ Or with [ Composer] ( https://getcomposer.org/ ) .
2026
2127``` bash
2228composer require leafs/session
2329```
2430
25- ## View Leaf's docs [ here] ( https://leafphp.netlify.app/#/ )
31+ ## Usage
32+
33+ ``` php
34+ session()->set('name', 'Leaf PHP');
35+ session()->get('name');
36+ ```
2637
27- Built with ❤ by [ ** Mychi Darko ** ] ( https://mychi.netlify.app )
38+ Check the full documentation [ here ] ( https://leafphp.dev/modules/session/ ) .
You can’t perform that action at this time.
0 commit comments