Skip to content

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

Notifications You must be signed in to change notification settings

YoussefAshraf397/Community-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published