Skip to content

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Community-

in this component we are responsible the community of our company .

Installation

1-you should run apache server and mysql ,so install Xampp.
2-install composer. Use the framework slim to install slim.

php composer-setup.php --install-dir=bin
composer require slim/slim "^3.12"
composer create-project --prefer-dist laravel/laravel myProjectName

Usage

<?php
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;

require 'vendor/autoload.php';

$app = new \Slim\App;
$app->get('/hello/{name}', function (Request $request, Response $response, array $args) {
    $name = $args['name'];
    $response->getBody()->write("Hello, $name");

    return $response;
});
$app->run();

Contributing

Pull requests are welcome for every one in the company-2 For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

ABH

About

in this component we are responsible the community of our company .

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages