PHP Classes

Laravel MongoDB CRUD Blog: Blog that uses CRUD record operations with MongoDB

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-11-08 (10 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 35 All time: 11,000 This week: 42Up
Version License PHP version Categories
lamongo-blog 1.0.0MIT/X Consortium ...7Libraries, Design Patterns, Blogs, PHP 7, A...
Description 

Author

This package implements a Blog that uses CRUD record operations with MongoDB.

It provides an MVC application based on the Laravel framework that implements actions to manage a blog site using MongoDB to store and retrieve blog records using model classes.

Currently, it can perform CRUD operations on blog articles:

- Show a listing of blog articles

- Create a new blog article

- Show an individual blog article

- Update a blog article

- Delete a blog article

Innovation Award
PHP Programming Innovation award nominee
November 2023
Number 9
Laravel is a popular PHP framework often used to implement applications that can perform CRUD (Create, Read, Update, and Delete) operations on records stored in a database.

This package implements a blog application that uses Laravel to implement CRUD operations on database records stored in MongoDB.

Manuel Lemos
Picture of Akinshola Samuel AKINDE
Name: Akinshola Samuel AKINDE <contact>
Classes: 2 packages by
Country: Nigeria Nigeria
Age: 30
All time rank: 448145 in Nigeria Nigeria
Week rank: 164 Up7 in Nigeria Nigeria Up
Innovation award
Innovation award
Nominee: 1x

Example

<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return
view('welcome');
});

Route::resource('blog', 'BlogController');


Details

LaMongo Blog

LaMongo Blog is basic CRUD Laravel and MongoDB Blog App to deploy a Laravel Application with MongoDB as Database

Setup App.

  • Clone or Pull the repo.
  • <code>cd lamongo-blog</code> into the directory
  • Run: <code>php artisan key:generate</code> to generate the app key.
  • Run: <code>composer install</code> to install all the dependencies.
  • Run: <code>php artisan migrate</code> to run migration of every collections(tables in sql).
  • Start app with: <code>php artisan serve</code>. Confirm the mongodb parameters in the <code>.env</code> OR <code>.env.example</code>
  • Start mongodb with: <code>mongo</code> or <code>mongod</code>.
  • Run the application with: <code>php artisan serve .</code>. In your browser, go to http://localhost:8000/. and visit the http://localhost:8000/blog

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Contributing

Thank you for considering contributing to the Basic Laravel + MongoDB App! There are no contribution guide at the moment.

Security Vulnerabilities

If you discover a security vulnerability within the Laravel+MongoDB App, please send an e-mail to Akinshola Samuel via thisishaykins@gmail.com. All security vulnerabilities will be promptly addressed.

License

The App is yet to be licensed under any body.


  Files folder image Files (82)  
File Role Description
Files folder imageapp (3 files, 4 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (13 files)
Files folder imagedatabase (3 directories)
Files folder imagepublic (4 files)
Files folder imageresources (4 directories)
Files folder imageroutes (4 files)
Files folder imagetests (2 files, 2 directories)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Plain text file artisan Class Class source
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file server.php Aux. Auxiliary script
Accessible without login Plain text file webpack.mix.js Data Auxiliary data

  Files folder image Files (82)  /  app  
File Role Description
Files folder imageConsole (1 file)
Files folder imageExceptions (1 file)
Files folder imageHttp (1 file, 2 directories)
Files folder imageProviders (5 files)
  Plain text file Blog.php Class Class source
  Plain text file Book.php Class Class source
  Plain text file User.php Class Class source

  Files folder image Files (82)  /  app  /  Console  
File Role Description
  Plain text file Kernel.php Class Class source

  Files folder image Files (82)  /  app  /  Exceptions  
File Role Description
  Plain text file Handler.php Class Class source

  Files folder image Files (82)  /  app  /  Http  
File Role Description
Files folder imageControllers (3 files, 1 directory)
Files folder imageMiddleware (7 files)
  Plain text file Kernel.php Class Class source

  Files folder image Files (82)  /  app  /  Http  /  Controllers  
File Role Description
Files folder imageAuth (6 files)
  Plain text file BlogController.php Class Class source
  Plain text file BookController.php Class Class source
  Plain text file Controller.php Class Class source

  Files folder image Files (82)  /  app  /  Http  /  Controllers  /  Auth  
File Role Description
  Plain text file ConfirmPasswordController.php Class Class source
  Plain text file ForgotPasswordController.php Class Class source
  Plain text file LoginController.php Class Class source
  Plain text file RegisterController.php Class Class source
  Plain text file ResetPasswordController.php Class Class source
  Plain text file VerificationController.php Class Class source

  Files folder image Files (82)  /  app  /  Http  /  Middleware  
File Role Description
  Plain text file Authenticate.php Class Class source
  Plain text file CheckForMaintenanceMode.php Class Class source
  Plain text file EncryptCookies.php Class Class source
  Plain text file RedirectIfAuthenticated.php Class Class source
  Plain text file TrimStrings.php Class Class source
  Plain text file TrustProxies.php Class Class source
  Plain text file VerifyCsrfToken.php Class Class source

  Files folder image Files (82)  /  app  /  Providers  
File Role Description
  Plain text file AppServiceProvider.php Class Class source
  Plain text file AuthServiceProvider.php Class Class source
  Plain text file BroadcastServiceProvider.php Class Class source
  Plain text file EventServiceProvider.php Class Class source
  Plain text file RouteServiceProvider.php Class Class source

  Files folder image Files (82)  /  bootstrap  
File Role Description
  Plain text file app.php Class Class source

  Files folder image Files (82)  /  config  
File Role Description
  Plain text file app.php Class Class source
  Plain text file auth.php Class Class source
  Accessible without login Plain text file broadcasting.php Aux. Auxiliary script
  Accessible without login Plain text file cache.php Aux. Auxiliary script
  Accessible without login Plain text file database.php Aux. Auxiliary script
  Accessible without login Plain text file filesystems.php Aux. Auxiliary script
  Accessible without login Plain text file hashing.php Aux. Auxiliary script
  Plain text file logging.php Class Class source
  Accessible without login Plain text file mail.php Aux. Auxiliary script
  Accessible without login Plain text file queue.php Aux. Auxiliary script
  Accessible without login Plain text file services.php Aux. Auxiliary script
  Accessible without login Plain text file session.php Aux. Auxiliary script
  Accessible without login Plain text file view.php Aux. Auxiliary script

  Files folder image Files (82)  /  database  
File Role Description
Files folder imagefactories (1 file)
Files folder imagemigrations (3 files)
Files folder imageseeds (1 file)

  Files folder image Files (82)  /  database  /  factories  
File Role Description
  Plain text file UserFactory.php Class Class source

  Files folder image Files (82)  /  database  /  migrations  
File Role Description
  Plain text file 2014_10_12_000000_create_users_table.php Class Class source
  Plain text file 2014_10_12_100000_...rd_resets_table.php Class Class source
  Plain text file 2019_08_19_000000_...iled_jobs_table.php Class Class source

  Files folder image Files (82)  /  database  /  seeds  
File Role Description
  Plain text file DatabaseSeeder.php Class Class source

  Files folder image Files (82)  /  public  
File Role Description
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Plain text file index.php Class Class source
  Accessible without login Plain text file robots.txt Doc. Documentation
  Accessible without login Plain text file web.config Data Auxiliary data

  Files folder image Files (82)  /  resources  
File Role Description
Files folder imagejs (2 files)
Files folder imagelang (1 directory)
Files folder imagesass (1 file)
Files folder imageviews (1 file, 1 directory)

  Files folder image Files (82)  /  resources  /  js  
File Role Description
  Accessible without login Plain text file app.js Data Auxiliary data
  Accessible without login Plain text file bootstrap.js Data Auxiliary data

  Files folder image Files (82)  /  resources  /  lang  
File Role Description
Files folder imageen (4 files)

  Files folder image Files (82)  /  resources  /  lang  /  en  
File Role Description
  Accessible without login Plain text file auth.php Aux. Auxiliary script
  Accessible without login Plain text file pagination.php Aux. Auxiliary script
  Accessible without login Plain text file passwords.php Aux. Auxiliary script
  Accessible without login Plain text file validation.php Aux. Auxiliary script

  Files folder image Files (82)  /  resources  /  sass  
File Role Description
  Accessible without login Plain text file app.scss Data Auxiliary data

  Files folder image Files (82)  /  resources  /  views  
File Role Description
Files folder imageblogs (5 files)
  Accessible without login Plain text file welcome.blade.php Aux. Auxiliary script

  Files folder image Files (82)  /  resources  /  views  /  blogs  
File Role Description
  Accessible without login Plain text file create.blade.php Aux. Auxiliary script
  Accessible without login Plain text file edit.blade.php Aux. Auxiliary script
  Accessible without login Plain text file index.blade.php Aux. Auxiliary script
  Accessible without login Plain text file layout.blade.php Aux. Auxiliary script
  Accessible without login Plain text file show.blade.php Aux. Auxiliary script

  Files folder image Files (82)  /  routes  
File Role Description
  Accessible without login Plain text file api.php Example Example script
  Accessible without login Plain text file channels.php Example Example script
  Accessible without login Plain text file console.php Example Example script
  Accessible without login Plain text file web.php Example Example script

  Files folder image Files (82)  /  tests  
File Role Description
Files folder imageFeature (1 file)
Files folder imageUnit (1 file)
  Plain text file CreatesApplication.php Class Class source
  Plain text file TestCase.php Class Class source

  Files folder image Files (82)  /  tests  /  Feature  
File Role Description
  Plain text file ExampleTest.php Class Class source

  Files folder image Files (82)  /  tests  /  Unit  
File Role Description
  Plain text file ExampleTest.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 Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:35
This week:0
All time:11,000
This week:42Up