php-resta / resta-core
resta php api restfull framework
Installs: 2 693
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- aligurbuz/lingua: ^1.0
- aligurbuz/migratio: ^2.0
- defuse/php-encryption: ^2.1
- doctrine/dbal: ^2.7
- fzaninotto/faker: ^1.7
- guzzlehttp/guzzle: ^6.2
- illuminate/database: ^5.4
- illuminate/pagination: ^5.4
- league/pipeline: ^1.0
- mobiledetect/mobiledetectlib: ^2.8
- monolog/monolog: ^1.22
- nesbot/carbon: ^1.21
- ocramius/proxy-manager: ~1.0|~2.0
- optimus/onion: ~1.0
- php-di/php-di: ^5.4
- phpunit/phpunit: ^6.3
- predis/predis: ^1.0
- spatie/array-to-xml: ^2.3
- symfony/cache: ^3.2
- symfony/console: ^3.2
- symfony/debug: ^3.2
- symfony/event-dispatcher: ^3.2
- symfony/filesystem: ^3.2
- symfony/finder: ^4.0
- symfony/http-foundation: ^3.2
- symfony/process: ^4.0
- symfony/security-csrf: ^3.2
- symfony/stopwatch: ^4.1
- symfony/var-dumper: *
- symfony/yaml: 2.*
- twig/twig: ~1.0
- vlucas/phpdotenv: ^2.4
- zendframework/zend-db: ^2.9
- zendframework/zend-validator: ^2.10
This package is not auto-updated.
Last update: 2024-12-19 08:41:43 UTC
README
Resta - A Great Php Api Designer
Note: The repository contains core of the resta. The resta core is a fully open source and will be continuously developed. So that we will work with the help of your pull requests to make the core more stable.
Code of Conduct
Please review Code of Conduct. The resta core we will work together as much as we can to bring it to a better structure. the resta is very nice and very comfortable to write a better api code. We are pleased to present this to the community.
How to work the resta core?
Note: The resta core works in complete harmony by means of the skeleton repository. If you want,you can create your api structure with keep track of the core application box.
Resta core consists of a stable box. This box is defined as Application Box. This class works with the same determination all over the place.The application box is in the role of igniter for running a set of kernel classes. The skeleton repository integrates this magical box perfectly into itself and forms the resta structure.
For example, you can write as follows.
require_once '../vendor/autoload.php'; use Resta\Foundation\Application $app = new Application(true);
As you can see above, the application object will return itself in a super-fast way without error. One issue you should be aware of is that the resta kernel is directly dependent on the composer.json file. Therefore, you must install its dependencies via composer before using the application object.
Now let's make a small example to show what can be done with this magic box. In this example,lets install an array as a configuration,then let's read these values.
require_once '../vendor/autoload.php'; use Resta\Foundation\Application $app = new Application(true); //set array values via loadConfig method $app->loadConfig(function() { return ['test' => ['value1' => 'foo','value2'=>['nested1' => 'nestedValue1']]]; }); //let's read these values via config helper method config('test.value1); config('test.value2.nested1');
How to learn resta?
The resta has a perfectly written Documentation.If you have a php framework habit depending on your quick learning ability. Do not worry. You will be able to learn very easily the resta and use it with peace of mind.
Resta includes the following components.
and the resta provides support from many powerful components.
Security Vulnerabilities
If you discover a security vulnerability within Resta, please send an e-mail to Ali Gürbüz via galiant781@gmail.com. All security vulnerabilities will be promptly addressed.
License
The resta api designer is open-sourced software licensed under the MIT license.