Libraries tagged by to-do

easeappphp/json-decode

0 Favers
65 Downloads

This is to do json_decode operation only on valid json string and in a highly performing way.

Go to Download


dgafka/authorization-security

2 Favers
19 Downloads

Take care of authorization concerns for you. Takes out security out of your domain logic and provides clean and easy API to do it.

Go to Download


daphascomp/daphascompsms

0 Favers
2 Downloads

# Authentication Requests made to our APIs must be authenticated, there are two ways to do this: 1. Authenticating using your API apiUsername and apiPassword - `Basic Auth` 2. Authenticating using an Auth Token - `Bearer Token` ## Method 1: Basic Auth Basic Authentication is a method for an HTTP user agent (e.g., a web browser) to provide a apiUsername and apiPassword when making a request. When employing Basic Authentication, users include an encoded string in the Authorization header of each request they make. The string is used by the request’s recipient to verify users’ identity and rights to access a resource. The Authorization header follows this format: > Authorization: Basic base64(apiUsername:apiPassword) So if your apiUsername and apiPassword are `onfon` and `!@pas123`, the combination is `onfon:!@pas123`, and when base64 encoded, this becomes `b25mb246IUBwYXMxMjM=`. So requests made by this user would be sent with the following header: > Authorization: Basic b25mb246IUBwYXMxMjM= | Description | | ---------------------------------------------------------------------------------------------- | | **apiUsername** `String` `Required` Your onfon account apiUsername, retrieved from portal | | **apiPassword** `String` `Required` Your onfon account apiPassword, retrieved from portal | ## Method 2: Bearer Tokens This authentication stategy allows you to authenticate using JSON Web Token ``JWT` that will expire after given duration. Each Access Token is a `JWT`, an encoded JSON object with three parts: the `header`, the `payload`, and the `signature`. The following is an example Access Token generated for Conversations > Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c ### Getting the token To generate the token, make a `POST` request to `/v1/authorization` endpoint with your `apiUsername` and `apiPassword` This request should be made from your server and not on the client side such as browser or mobile environment. You will receive a JSON similar to below: `{ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "validDurationSeconds": 3600}` You can use the token received to make API calls. The token will be valid for value of `validDurationSeconds`, before which you should generate a new token. #### Request Body ``` { "apiUsername": "root", "apiPassword": "hakty11" } ``` #### Response Body ``` { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "validDurationSeconds": 3600 } ``` #### Example Curl ``` curl --location --request POST 'https://apis.onfonmedia.co.ke/v1/authorization' \ --data-raw '{ "apiUsername": "correctapiUsername", "apiPassword": "correctapiPassword" } ``` #### Making an API call You will be required to pass the token in `Authorization` header prefixed by `Bearer` when calling other endpoints. Example `Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c`

Go to Download


custom-laravel-form-request/validator

0 Favers
1 Downloads

Validator Form Request which may be used for validating data after parsing. For example we got big jsob string and we cannot change this, so what we need to do is to use Validator in laravel and provide in controller all the shit code like rules.. if fails and another. This class can validate this json after parsing without redundant code in controller, simply add data, next validation steps will processed automatically, rules and another logic is hidden in this class.

Go to Download


cotechsolution/laravel-access-user-account

2 Favers
5 Downloads

Sometimes, in you Laravel application you need to manually logging in as a different user, then switching back to their own account. This package allows you to do the same thing with the permission of that user.

Go to Download


coldtrick/todos

3 Favers
2773 Downloads

Organize to-dos in to-do lists

Go to Download


cerebralfart/laravel-crud-controller

2 Favers
4390 Downloads

An easy way to do your CRUD stuff

Go to Download


bsadjetey/todoey

0 Favers
5 Downloads

Allow users to create a to-do list of tasks

Go to Download


bithouseweb/pplib

0 Favers
121 Downloads

Allows compression of output data while retaining ability to do intermediate flushes.

Go to Download


bitcodesa/deployment-script

3 Favers
109 Downloads

The package add artisan command that all user to do collected artisan or terminal command at once.

Go to Download


ariyainfotech/module-backendorderdelete

0 Favers
5 Downloads

Currently, Magento doesn't allow you to delete an order from your store. This extension will help you to do that, simple but helpful.

Go to Download


aniekanoffiong/todo-laravel

3 Favers
66 Downloads

A Reuseable To-Do Functionality for Laravel Projects

Go to Download


ahmedsohel/laravel-todocrud

0 Favers
11 Downloads

A simple to-do list package for Laravel.

Go to Download


aacp/chilldebug

1 Favers
105 Downloads

Library to do from debug something easy (hopefully)

Go to Download


wizaplace/collection-diff

0 Favers
55 Downloads

Collection Diff allows you to compare 2 data collections to find operations to do: CREATE, UPDATE or DELETE data.

Go to Download


<< Previous Next >>