Giter Club home page Giter Club logo

leafsphp-http's Introduction




Leaf Http v2

Latest Stable Version Total Downloads License



Leaf's core http functionality packaged as a serve-yourself module. Although seperated from Leaf core, it is still part of the default initial installation and doesn't need to be installed manually (unless you want a particular version).

Installation

You can easily install Leaf using the Leaf CLI

leaf install http

Composer.

composer require leafs/http

Basic Usage

The http module comes with a bunch of packages which help you manage the input and output of your app or API. This module comes with the most used Http related functionality like requests, responses, ...

The available classes in the Http module are:

The docs for Leaf Http v2 can be found at https://leafphp.dev/modules/http/v/2/.

Request

This is a developer friendly interface which allows you to interact with data coming into your application. Read the docs

Response

This interface allows you to output data from your application in different forms. Read the docs

Headers

This interface allows you to manage headers in your application. Read the docs

Cache

This interface allows you to manage http cache in your app. Read the docs

Status

This interface allows you to manage http status codes in your app. Read the docs

There are also some add on classes which can be installed on demand.

Session (module)

This module allows you to manage session in your application. Read the docs

Cookies (module)

This module allows you to manage cookies in your application. Read the docs

๐Ÿ’ฌ Stay In Touch

๐Ÿ““ Learning Leaf 3

  • Leaf has a very easy to understand documentation which contains information on all operations in Leaf.
  • You can also check out our youtube channel which has video tutorials on different topics
  • We are also working on codelabs which will bring hands-on tutorials you can follow and contribute to.

๐Ÿ˜‡ Contributing

We are glad to have you. All contributions are welcome! To get started, familiarize yourself with our contribution guide and you'll be ready to make your first pull request ๐Ÿš€.

To report a security vulnerability, you can reach out to @mychidarko or @leafphp on twitter. We will coordinate the fix and eventually commit the solution in this project.

Code contributors


Michael Darko

Dreamer0x01

๐Ÿคฉ Sponsoring Leaf

Your cash contributions go a long way to help us make Leaf even better for you. You can sponsor Leaf and any of our packages on open collective or check the contribution page for a list of ways to contribute.

And to all our existing cash/code contributors, we love you all โค๏ธ

Cash contributors


Aaron Smith

Peter Bogner

Vano

Casprine

๐Ÿคฏ Links/Projects

leafsphp-http's People

Contributors

dreamer0x01 avatar induwara16 avatar jeis4n avatar kczx3 avatar mychidarko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.