Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 49 | All time: 10,716 This week: 47 |
Version | License | PHP version | Categories | |||
laravel-advanced-cru 1.0.0 | MIT/X Consortium ... | 5 | PHP 5, E-Commerce, User Management, L..., W..., D... |
Description | Author | |
This package allows to implementation of API that provides CRUD operations. |
Basic Laravel CRUD API application included with Authentication Module & Product Module. It's included with JWT authentication and Swagger API format.
git clone https://github.com/ManiruzzamanAkash/Laravel-Basic-CRUD-API.git
Now migrate and seed database to complete whole project setup by running this-
php artisan migrate:refresh --seed
It will create `21` Users and `103` Dummy Products.
Generate Swagger API
php artisan l5-swagger:generate
Run the server -
php artisan serve
<img src="https://i.ibb.co/gV1Yn9Z/1-Swagger-API-Demo.png" alt="1-Swagger-API-Demo" border="0">
<img src="https://i.ibb.co/5vrXkgN/2-API-Login1.png" alt="2-API-Login1" border="0">
<img src="https://i.ibb.co/cQ37n9t/3-API-Login2-Response.png" alt="3-API-Login2-Response" border="0">
<img src="https://i.ibb.co/m8xQZ4T/Screenshot-2022-07-12-at-8-37-47-AM.png" alt="4-API-Swagger-Set-Bearer-Token" border="0">
<img src="https://i.ibb.co/7p8Y3Yz/Postman-Product-List-API-with-Authenticated-Token.png" alt="Postman-Product-List-API-with-Authenticated-Token" border="0">
<img src="https://i.ibb.co/VSWbXq9/5-API-Swaagger-Public-Product-List-View.png" alt="5-API-Swaagger-Public-Product-List-View" border="0">
<img src="https://i.ibb.co/VBkMBBp/Postman-Store-Product-with-File-Upload.png" alt="Postman-Store-Product-with-File-Upload" border="0">
Files (113) |
File | Role | Description | ||
---|---|---|---|---|
app (9 directories) | ||||
bootstrap (1 file) | ||||
config (16 files) | ||||
database (4 directories) | ||||
public (4 files, 2 directories) | ||||
resources (3 directories) | ||||
routes (4 files) | ||||
storage (1 directory) | ||||
tests (2 files, 2 directories) | ||||
.editorconfig | Data | Auxiliary data | ||
.env.example | Data | Auxiliary data | ||
.styleci.yml | Data | Auxiliary data | ||
artisan | Class | Class source | ||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
docker-compose.yml | Data | Auxiliary data | ||
package.json | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
server.php | Aux. | Auxiliary script | ||
webpack.mix.js | Data | Auxiliary data |
Files (113) | / | app |
File | Role | Description | ||
---|---|---|---|---|
Console (1 file) | ||||
Exceptions (1 file) | ||||
Helpers (1 file) | ||||
Http (1 file, 3 directories) | ||||
Interfaces (1 file) | ||||
Models (2 files) | ||||
Providers (5 files) | ||||
Repositories (2 files) | ||||
Traits (1 file) |
Files (113) | / | app | / | Http |
File | Role | Description | ||
---|---|---|---|---|
Controllers (1 file, 3 directories) | ||||
Middleware (9 files) | ||||
Requests (4 files) | ||||
Kernel.php | Class | Class source |
Files (113) | / | app | / | Http | / | Controllers |
File | Role | Description | ||
---|---|---|---|---|
Auth (1 file) | ||||
Products (1 file) | ||||
Welcome (1 file) | ||||
Controller.php | Class | Class source |
Files (113) | / | app | / | Http | / | Controllers | / | Auth |
File | Role | Description |
---|---|---|
AuthController.php | Class | Class source |
Files (113) | / | app | / | Http | / | Controllers | / | Products |
File | Role | Description |
---|---|---|
ProductsController.php | Class | Class source |
Files (113) | / | app | / | Http | / | Controllers | / | Welcome |
File | Role | Description |
---|---|---|
WelcomeController.php | Class | Class source |
Files (113) | / | app | / | Http | / | Middleware |
File | Role | Description |
---|---|---|
Authenticate.php | Class | Class source |
EncryptCookies.php | Class | Class source |
PreventRequestsDuringMaintenance.php | Class | Class source |
RedirectIfAuthenticated.php | Class | Class source |
SwaggerFix.php | Class | Class source |
TrimStrings.php | Class | Class source |
TrustHosts.php | Class | Class source |
TrustProxies.php | Class | Class source |
VerifyCsrfToken.php | Class | Class source |
Files (113) | / | app | / | Http | / | Requests |
File | Role | Description |
---|---|---|
FormRequest.php | Class | Class source |
LoginRequest.php | Class | Class source |
ProductRequest.php | Class | Class source |
RegisterRequest.php | Class | Class source |
Files (113) | / | app | / | Models |
File | Role | Description |
---|---|---|
Product.php | Class | Class source |
User.php | Class | Class source |
Files (113) | / | app | / | Providers |
File | Role | Description |
---|---|---|
AppServiceProvider.php | Class | Class source |
AuthServiceProvider.php | Class | Class source |
BroadcastServiceProvider.php | Class | Class source |
EventServiceProvider.php | Class | Class source |
RouteServiceProvider.php | Class | Class source |
Files (113) | / | app | / | Repositories |
File | Role | Description |
---|---|---|
AuthRepository.php | Class | Class source |
ProductRepository.php | Class | Class source |
Files (113) | / | config |
File | Role | Description |
---|---|---|
app.php | Class | Class source |
auth.php | Class | Class source |
broadcasting.php | Aux. | Auxiliary script |
cache.php | Aux. | Auxiliary script |
cors.php | Aux. | Auxiliary script |
database.php | Aux. | Auxiliary script |
filesystems.php | Aux. | Auxiliary script |
hashing.php | Aux. | Auxiliary script |
jwt.php | Class | Class source |
l5-swagger.php | Aux. | Auxiliary script |
logging.php | Class | Class source |
mail.php | Aux. | Auxiliary script |
queue.php | Aux. | Auxiliary script |
services.php | Aux. | Auxiliary script |
session.php | Aux. | Auxiliary script |
view.php | Aux. | Auxiliary script |
Files (113) | / | database |
File | Role | Description | ||
---|---|---|---|---|
factories (2 files) | ||||
migrations (4 files) | ||||
seeders (3 files) | ||||
sql (1 file) |
Files (113) | / | database | / | factories |
File | Role | Description |
---|---|---|
ProductFactory.php | Class | Class source |
UserFactory.php | Class | Class source |
Files (113) | / | database | / | migrations |
File | Role | Description |
---|---|---|
2014_10_12_000000_create_users_table.php | Class | Class source |
2014_10_12_100000_...rd_resets_table.php | Class | Class source |
2019_08_19_000000_...iled_jobs_table.php | Class | Class source |
2020_12_13_191618_..._products_table.php | Class | Class source |
Files (113) | / | database | / | seeders |
File | Role | Description |
---|---|---|
DatabaseSeeder.php | Class | Class source |
ProductSeeder.php | Class | Class source |
UserSeeder.php | Class | Class source |
Files (113) | / | public |
File | Role | Description | ||
---|---|---|---|---|
css (2 files) | ||||
images (1 directory) | ||||
.htaccess | Data | Auxiliary data | ||
index.php | Class | Class source | ||
robots.txt | Doc. | Documentation | ||
web.config | Data | Auxiliary data |
Files (113) | / | public | / | css |
File | Role | Description |
---|---|---|
bootstrap.min.css | Data | Auxiliary data |
style.css | Data | Auxiliary data |
Files (113) | / | public | / | images | / | products |
File | Role | Description |
---|---|---|
akij-chair-1608363866.png | Icon | Icon image |
asus-rog-g531gt-15-1608355217.png | Data | Auxiliary data |
canon-eos-1500d-241-1608355424.png | Data | Auxiliary data |
code-with-two-exampl-1608342846.png | Data | Auxiliary data |
desktop-monitor-1608362784.png | Data | Auxiliary data |
final-test-1608344158.png | Data | Auxiliary data |
indoprimo-mens-regu-1608355308.png | Data | Auxiliary data |
product-1-updated-1608359602.png | Data | Auxiliary data |
samsung-galaxy-tab-a-1608361186.png | Icon | Icon image |
samsung-gallaxy-a10-1608354906.png | Icon | Icon image |
sunglass-1608360893.png | Icon | Icon image |
sunglass-1608361794.png | Icon | Icon image |
t-shirt-2-1608369537.jpeg | Data | Auxiliary data |
test-1608344059.png | Data | Auxiliary data |
test-product-1608056421.png | Data | Auxiliary data |
update-new-another-1608360796.png | Data | Auxiliary data |
white-sleeve-t-shirt-1608369183.jpeg | Data | Auxiliary data |
Files (113) | / | resources |
Files (113) | / | resources | / | js |
File | Role | Description |
---|---|---|
app.js | Data | Auxiliary data |
bootstrap.js | Data | Auxiliary data |
Files (113) | / | resources | / | lang | / | en |
File | Role | Description |
---|---|---|
auth.php | Aux. | Auxiliary script |
pagination.php | Aux. | Auxiliary script |
passwords.php | Aux. | Auxiliary script |
validation.php | Aux. | Auxiliary script |
Files (113) | / | resources | / | views |
File | Role | Description | ||
---|---|---|---|---|
vendor (1 directory) | ||||
welcome.blade.php | Aux. | Auxiliary script |
Files (113) | / | resources | / | views | / | vendor | / | l5-swagger |
File | Role | Description |
---|---|---|
index.blade.php | Aux. | Auxiliary script |
Files (113) | / | routes |
File | Role | Description |
---|---|---|
api.php | Class | Class source |
channels.php | Example | Example script |
console.php | Example | Example script |
web.php | Class | Class source |
Files (113) | / | tests |
File | Role | Description | ||
---|---|---|---|---|
Feature (1 file) | ||||
Unit (3 files) | ||||
CreatesApplication.php | Class | Class source | ||
TestCase.php | Class | Class source |
Files (113) | / | tests | / | Unit |
File | Role | Description |
---|---|---|
ExampleTest.php | Class | Class source |
LoginTest.php | Class | Class source |
ProductTest.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
laravel-advanced-cru-2022-10-21.zip 6704KB | |
laravel-advanced-cru-2022-10-21.tar.gz 6667KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.