Download the PHP package php-resta/skeleton without Composer
On this page you can find all versions of the php package php-resta/skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-resta/skeleton
More information about php-resta/skeleton
Files in php-resta/skeleton
Package skeleton
Short Description resta php api restfull framework
License MIT
Homepage https://github.com/aligurbuz/resta
Informations about the package skeleton
Resta Api Structure
Developing restfull(presentational) api with php has never been so enjoyable.. We are claiming.You will so love this structure. Slogan : If the machine can make itself the code that you write, do not write it. You can contact me if you want to be contributor in the core of the resta.We need you for a better stable core. Resta api offers the ideal structure for your application and gives you great pleasure in writing code.
Developments are still in progress. The documentation section of the code will be available in beta soon. https://github.com/php-resta/skeleton
What are the features of the Resta?
- [Very powerful console generator structure]()
- [Published documentation for each api endpoint.]()
- [Supported component integrity]()
- [Excellent comfort support]()
- [Easy and fast manageability.]()
- [Eloquent or Doctrine Option]()
- [Excellent model migration relationship]()
- [A very stable exception management]()
- [A manageable versioning capsule]()
- [Ide friendly annotation system]()
- [Multiple supported project management]()
- [Interchangeable core structure]()
Resta Quick Start
If you want to have a quick start to resta. Just take a look at this short document. You will need to install it first, as with any framework or package. We need a composer installer to install the resta api. If you don't have a composer installer, please composer Check out this link.
How to install the resta?
company_name: The directory to which you will install the resta api is generally a group name that is valid for your company name or projects.Thus, your api projects will be in this general directory.
Your resta skeleton structure is now ready.
You can pass to the home directory of your project using the terminal command.
Create your first project.
Now it's time to create our project.Your project will be created in the src/app directory.Let's create a project named demo with the command below.
If you get a response similar to the following, Oh! Excellent. You now have a new project called demo.
Your project is located in the directory called src/app/Demo. Below you can see the structure of your project.
This project structure is created by default with each project command.You can find out how to customize this structure in documents. Since this section is a quick start, we won't write here what these directory structures do. We'll just show you how to quickly reach your endpoints.
Access your endpoints with the browser.
Now open your browser and enter the above address via localhost or ip. As mentioned earlier, the directory where you create the resta skeleton repository structure will be your company_name name.
Congratulations! You took the first exception output :). Don't worry, you haven't done anything yet.
Create your first controller structure.
Then let's create our first endpoint.Try creating your first controller with the command above.
Great! Your first controller has been successfully created. Now you'll see a controller directory created by looking into the V1 directory. We will not describe the structure in this directory in this section. You will already find detailed information in our documents.
Now open your browser again and change the URL string that you specified with the demo to demo/users and send the request.
This is great! We now have the first http 200 output.By default the system produces you json.You can find in our documentation how to change it. This output is called as endpoint "users" and has a class as UsersController in the "Users" directory.
Did you like it? in that case,continue reading our documents.We want you to have a nice the restfull api. As you read the resta documents, we can say from now that you will say perfect for resta.Because the resta has wonderful amenities.
Security Vulnerabilities
If you discover a security vulnerability within Resta, please send an e-mail to Ali Gürbüz via Ali Gurbuz. All security vulnerabilities will be promptly addressed.
License
The Resta api structure is open-sourced software licensed under the MIT license.
All versions of skeleton with dependencies
ext-curl Version *
ext-dom Version *
ext-json Version *
zendframework/zend-crypt Version ^3.3